need help ! pro iMacro, plz help me

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
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
triplex090
Posts: 9
Joined: Thu Jun 16, 2011 2:14 pm

need help ! pro iMacro, plz help me

Post by triplex090 » Fri Jun 24, 2011 11:54 am

i need the code : that will auto click for random messege !
ex : Are you sure you want to leave this page !
and i want to chose "leave page" when this messege appear ! (not every time this messenger is appear, it's random)

for ex :

SET !ERRORIGNORE YES
SET !TIMEOUT 5
URL GOTO=http://abc.com
WAIT SECONDS=10
'if the window Are you sure you want to leave the page ... appear, i want to auto click leave page '

SET !ERRORIGNORE YES
SET !TIMEOUT 5
URL GOTO=http://cde.com
WAIT SECONDS=10
'if the window Are you sure you want to leave the page ... appear, i want to auto click leave page '

plz help me ! thanks you so much
sotirisd
Posts: 48
Joined: Thu Mar 10, 2011 8:17 pm

Re: need help ! pro iMacro, plz help me

Post by sotirisd » Sat Jun 25, 2011 2:37 pm

Tom, Tech Support
Posts: 3527
Joined: Mon May 31, 2010 4:59 pm

Re: need help ! pro iMacro, plz help me

Post by Tom, Tech Support » Sun Jun 26, 2011 1:55 pm

Hello triplex090,

Is it a pop-up dialog that displays this message? Have you tried using an ONDIALOG command to handle it?
Regards,

Tom, iMacros Support
Post Reply