Internet Connection fails - Macros runs

Discussions and Tech Support specific to the iMacros Firefox add-on.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Brother Hassan
Posts: 3
Joined: Sat Jun 02, 2012 8:25 am

Internet Connection fails - Macros runs

Post by Brother Hassan » Sat Jun 02, 2012 8:52 am

Hey !

Is there anything I could do to make my Macros run only when my internet connection is active ? I let the macros run over night and sometimes the internet connections goes off for an hour or two while the macros runs super fast and ends the loop. Currently, I'm using a a Wait 1 second command to keep it running through the night but that really wastes time when the internet is working.

Thanks for you help guys :D
siniy
Posts: 118
Joined: Sat Nov 07, 2009 7:44 pm

Re: Internet Connection fails - Macros runs

Post by siniy » Sat Jun 02, 2012 8:42 pm

You can click on the known website tag. If website loaded ok, it will take less then a second. If website down it will take 2min, example for imacros forum:

Code: Select all

SET !ERRORIGNORE YES
SET !TIMEOUT_TAG 120
TAG POS=1 TYPE=DIV ATTR=CLASS:postbody
Brother Hassan
Posts: 3
Joined: Sat Jun 02, 2012 8:25 am

Re: Internet Connection fails - Macros runs

Post by Brother Hassan » Sun Jun 03, 2012 11:30 am

Huh ? I didn't quite understand that :/
Thanks for trying though :)

Here is my Macros, perhaps you could edit it :D

Code: Select all

VERSION BUILD=7401110 RECORDER=FX
TAB T=1
SET !USERAGENT "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"
SET !ERRORIGNORE YES
SET !TIMEOUT_PAGE 2
PROXY ADDRESS=69.46.81.126:3131
ONLOGIN USER=************ PASSWORD=**************
URL GOTO=http://goo.gl/0zZRp
WAIT SECONDS=1
siniy
Posts: 118
Joined: Sat Nov 07, 2009 7:44 pm

Re: Internet Connection fails - Macros runs

Post by siniy » Sun Jun 03, 2012 12:16 pm

Code: Select all

TAB T=1
SET !USERAGENT "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"
SET !ERRORIGNORE YES
SET !TIMEOUT_PAGE 2
URL GOTO=http://goo.gl/0zZRp
SET !TIMEOUT_TAG 60
TAG POS=1 TYPE=DIV ATTR=ID:art-main
Brother Hassan
Posts: 3
Joined: Sat Jun 02, 2012 8:25 am

Re: Internet Connection fails - Macros runs

Post by Brother Hassan » Sun Jun 03, 2012 5:22 pm

Thank you :)
Post Reply