Search found 12 matches

by Snayler
Wed Dec 03, 2014 10:42 am
Forum: General Support & Discussions
Topic: How to enable loging ?
Replies: 8
Views: 2626

Re: How to enable loging ?

This should be relatively easy to do with javascript and imacros. In a JS file, you only have to check for the error code related to the loading of pages (-802 == Timeout error (failed to load web page) ). This will tell you which addresses are unreachable, you can even make the script test all the ...
by Snayler
Tue Nov 25, 2014 8:19 pm
Forum: iMacros for Firefox
Topic: 8.8.4 & 8.8.5 addons infinite loop and freeze issues
Replies: 22
Views: 12659

Re: 8.8.4 & 8.8.5 addons infinite loop and freeze issues

There are still issues with version 8.8.7
by Snayler
Fri Oct 31, 2014 3:26 pm
Forum: General Support & Discussions
Topic: Unable to Pass Date as Parameter in TAG
Replies: 3
Views: 1195

Re: Unable to Pass Date as Parameter in TAG

You should pay more attention to the error messages:

Code: Select all

Error Message is: RuntimeError: element A specified by ---> TXT:Download <--- was not found, line 13 (Error code: -921)
by Snayler
Thu Oct 30, 2014 4:12 pm
Forum: iMacros for Firefox
Topic: EVAL Question.
Replies: 4
Views: 1764

Re: EVAL Question.

I think I already spoon-fed you enough for today. Do your homework.
by Snayler
Thu Oct 30, 2014 3:38 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Extract data from 'itemprop' with iMacros
Replies: 3
Views: 14395

Re: Extract data from 'itemprop' with iMacros

Now that I've understood your problem and checked the URL, I have to say: forget javascript, there's an easier way. First, you might want to replace TAG POS=1 TYPE=DIV ATTR=ID:dj_name&&TXT:* EXTRACT=TXT with TAG POS=1 TYPE=SPAN ATTR=ITEMPROP:name EXTRACT=TXT in order to avoid the "Send message" part...
by Snayler
Thu Oct 30, 2014 2:07 pm
Forum: iMacros for Firefox
Topic: EVAL Question.
Replies: 4
Views: 1764

Re: EVAL Question.

Simple as:

Code: Select all

TAG POS=1 TYPE=B ATTR=TXT:5º EXTRACT=TXT
SET !VAR1 EVAL("var s=\"{{!EXTRACT}}\"; if(s.match(\"5º\")){url=\"http://www.nabrpg.com/index.php?p=attack&bot=5\";} else url=\"http://www.nabrpg.com/index.php?p=home\"; url;")
URL GOTO={{!VAR1}}
by Snayler
Thu Oct 30, 2014 1:50 pm
Forum: iMacros for Firefox
Topic: Runtime error: Unhandled alert dialog
Replies: 1
Views: 1182

Re: Runtime error: Unhandled alert dialog

Search the wiki for that error code. It will give you an answer.
by Snayler
Thu Oct 30, 2014 1:47 pm
Forum: iMacros for Firefox
Topic: Search a word and click that button using Imacros
Replies: 1
Views: 1704

Re: Search a word and click that button using Imacros

I'm not sure I understand the problem here. If you use

Code: Select all

TAG POS=1 TYPE=A ATTR=TXT:Track<SP>Package
then iMacros should tag the element disregarding the position. Is there more than one button/link with the text Track Package? (I don't own an Amazon account so I can't check).
by Snayler
Thu Oct 30, 2014 1:42 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Extract data from 'itemprop' with iMacros
Replies: 3
Views: 14395

Re: Extract data from 'itemprop' with iMacros

I guess the only way to do this is by using javascript and regular expressions on the source code of the page. EVAL seems to do the trick.
by Snayler
Thu Oct 30, 2014 1:36 pm
Forum: iMacros for Firefox
Topic: How to extract some html elemet from dynamic page
Replies: 3
Views: 1514

Re: How to extract some html elemet from dynamic page

You can use:

Code: Select all

SET !TIMEOUT_STEP 50
This way, it will wait upto 50 seconds for the element before giving up looking for it. This method will "tag" the element as soon as it appears on the page.
by Snayler
Thu Oct 30, 2014 11:01 am
Forum: General Support & Discussions
Topic: Macro that can accept either of two TAGs
Replies: 2
Views: 937

Re: Macro that can accept either of two TAGs

Code: Select all

TAG POS=1 TYPE=LI FORM=NAME:form_login ATTR=TXT:*Login<SP>* EXTRACT=TXT
There ya go. You can extract the text and check if it has some normal text ("login is incorrect"/"login has failed") or the "#EANF#" string ("Extraction Anchor Not Found"). Use javascript for that.
by Snayler
Wed Mar 26, 2014 2:20 pm
Forum: iMacros for Firefox
Topic: Javascript iMacros Script Absolutley Will Not Stop
Replies: 9
Views: 5868

Re: Javascript iMacros Script Absolutley Will Not Stop

Sorry for digging up this thread, just wanted to blame the Javascript settings on this one. Setting iMacros not to show javascript steps will cause this problem. Leaving the default option (show javascript steps) will make the stop button work as expected.