Search found 20 matches

by FoxDot
Thu Sep 05, 2013 9:28 am
Forum: General Support & Discussions
Topic: Expansion of new 'How To'
Replies: 7
Views: 4436

Re: Expansion of new 'How To'

Thanks Tom, this is what i was looking for:

Code: Select all

imns.Pref.getFilePref("defdatapath").path
by FoxDot
Tue Sep 03, 2013 3:29 pm
Forum: General Support & Discussions
Topic: Expansion of new 'How To'
Replies: 7
Views: 4436

Re: Expansion of new 'How To'

Actually I found a partial solution: SET !DATASOURCE Address.csv SET !EXTRACT {{!DATASOURCE}} PROMPT {{!EXTRACT}} but will work only if Address.csv file is present in Datasource folder. I know this value is stored somewhere in iMacros itself )) It will be better and the best solution if I could extr...
by FoxDot
Mon Sep 02, 2013 5:17 pm
Forum: General Support & Discussions
Topic: Expansion of new 'How To'
Replies: 7
Views: 4436

Re: Expansion of new 'How To'

Is there any way to determine iMacros folder locations using JavaScript??
by FoxDot
Tue Aug 20, 2013 10:29 am
Forum: iMacros for Firefox
Topic: Need Help please
Replies: 2
Views: 544

Re: Need Help please

For Google+ is better to use Event Mode Recording
by FoxDot
Mon Aug 19, 2013 12:07 pm
Forum: iMacros for Firefox
Topic: How to NOT VISIT some links
Replies: 5
Views: 821

Re: How to NOT VISIT some links

in the last line i'm just storing the link, without visiting it.
To visit the extracted link you should add at the end:

Code: Select all

iimSet("url", visit_url);
iimPlay("CODE:TAB OPEN\nTAB T=2\nURL GOTO={{url}}");
by FoxDot
Fri Aug 16, 2013 10:12 am
Forum: iMacros for Firefox
Topic: How to NOT VISIT some links
Replies: 5
Views: 821

Re: How to NOT VISIT some links

As bobis said, you need JS ) I would extract the whole div tag: <div class="person large" data-id="555555"> ..... </div> as HTM and then check if "In contact" string exists in my extraction with indexOf() function, if not exists - with regex strip the href link. iimPlay("CODE:TAG POS=1 TYPE=DIV ATTR...
by FoxDot
Wed Aug 14, 2013 10:19 am
Forum: Command Line and Scripting Interface
Topic: Handling -933 error code
Replies: 2
Views: 1665

Re: Handling -933 error code

We need a real code, a real page where we can test it.
by FoxDot
Wed Aug 14, 2013 10:12 am
Forum: Command Line and Scripting Interface
Topic: delete entry in csv after used it once
Replies: 2
Views: 3152

Re: delete entry in csv after used it once

An alternative, as a solution, I would use a temporary CSV file (temp_loop.csv), where I would save the last loop value - which will be the last line of proxy used, and no need do delete any line from proxies csv. You need to code in a js file, something like: Load the temp_loop.csv file (where for ...
by FoxDot
Tue Jul 02, 2013 10:22 am
Forum: Data Extraction and Web Screen Scraping
Topic: How to across new line scraping?
Replies: 6
Views: 2345

Re: How to across new line scraping?

Yes, in the first column you don't have anything, what you're expecting when extract with this code? macro2 += "TAG POS="+ i +" TYPE=IMG ATTR=SRC:http://www.homedepot.com/catalog/productImages/*.jpg EXTRACT=TXT" + jsLF; IMG tag doesn't have any text to be extracted, that's why your 1st column is null.
by FoxDot
Tue Jul 02, 2013 9:40 am
Forum: iMacros for Firefox
Topic: [need help]imacros javascript if else on for loop
Replies: 1
Views: 769

Re: [need help]imacros javascript if else on for loop

use iimGetLastError() after walandio += "TAG POS=1 TYPE=LI ATTR=TXT:" + warray + "\n"; iimPlay(walandio); if(iimGetLastError()!='OK') continue; else { walandio = "WAIT SECONDS=3" + "\n"; walandio += "TAG POS=R1 TYPE=BUTTON ATTR=TXT:enter" + "\n"; walandio += "WAIT SECONDS=5" + "\n"; }
by FoxDot
Mon Jul 01, 2013 8:36 am
Forum: Command Line and Scripting Interface
Topic: Stop JavaScript ?
Replies: 3
Views: 2019

Re: Stop JavaScript ?

it depends on which browser you're using iMacros, for example in Waterfox i can stop the loop with one single click
by FoxDot
Mon Jul 01, 2013 8:33 am
Forum: iMacros for Firefox
Topic: youtube commenting + captcha
Replies: 3
Views: 3045

Re: youtube commenting + captcha

why spamming youtube?

there is a rel nofollow to the links )
by FoxDot
Fri Jun 28, 2013 9:00 am
Forum: Command Line and Scripting Interface
Topic: Need assistance with POS incrementing
Replies: 2
Views: 1475

Re: Need assistance with POS incrementing

In such a case i would use "while" statement instead of "for" )
by FoxDot
Wed Jun 26, 2013 10:34 am
Forum: iMacros for Firefox
Topic: TypeError: mtree is null
Replies: 18
Views: 14588

Re: TypeError: mtree is null

this bug 2 times happened to me this week )
by FoxDot
Wed Jun 26, 2013 10:29 am
Forum: Command Line and Scripting Interface
Topic: iMacro cannot proceed - please help!
Replies: 3
Views: 4933

Re: iMacro cannot proceed - please help!

I think you're macro refreshes the captcha image :)

I'm using this:

Code: Select all

EVENT:SAVEPICTUREAS
instead of:

Code: Select all

EVENT:SAVE_ELEMENT_SCREENSHOT
and it works fine.