Stop JavaScript ?

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

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
Colibry
Posts: 48
Joined: Sun Sep 25, 2011 6:47 pm
Contact:

Stop JavaScript ?

Post by Colibry » Sun Mar 17, 2013 7:31 pm

I am coding in JS and I've noticed that when I use multiple macros set as different variables I can't stop the script.

I have to press Stop couple of times until it stops. This happens in for loop and it takes (I think) the same number of times to click stop as the number of loops that for loop will do. How to avoid this and stop the JS script in 1 click ?

Example: (I will not put imacros commands)

Code: Select all

var macro1;

var macro2;

var macro3;


for(var i=0;i<10;i++)
{

iimPlay(macro1)

iimPlay(macro2)

iimPlay(macro3)

}
In this case I have to press Stop button around 10 times.
Colibry
Posts: 48
Joined: Sun Sep 25, 2011 6:47 pm
Contact:

Re: Stop JavaScript ?

Post by Colibry » Tue Apr 02, 2013 6:55 pm

Bump

Anyone knows how to fix this issue?
petr
Posts: 53
Joined: Thu Jun 27, 2013 9:19 pm

Re: Stop JavaScript ?

Post by petr » Fri Jun 28, 2013 11:44 am

I'm having the same problem and can't find a solution for this. Anyone?
User avatar
FoxDot
Posts: 20
Joined: Thu Jun 13, 2013 2:31 pm
Location: Chisinau
Contact:

Re: Stop JavaScript ?

Post by FoxDot » Mon Jul 01, 2013 8:36 am

it depends on which browser you're using iMacros, for example in Waterfox i can stop the loop with one single click
The Fox Will Find You!
Post Reply