Exit iMacros-Browser from the running macro
Posted: Wed Dec 20, 2006 11:32 am
Hello!
I start a macro by a perl-script with
In the standardmacro is a line for an errormacro to take a screenshot of the actual sight of the website, when an error occurs:
I´m searching for a way to exit the iMacros-session from within the running standardmacro, when no error occurs, to avoid iMacro from running till the timeout of my perl-script eventuates (caused by the needed "-noexit").
Exiting it by iim.Exit from the perl-script doesn´t work, because i loose the last sight of the actual website for a potential run of an errormacro for a screenshot.
So, it must be similar to iim.Exit - only inside the macro - not at the prompt.
Thanks
bruenni
I start a macro by a perl-script with
Code: Select all
C:\Programme\iMacros>imacros.exe -noexit -macro standardmacro
Code: Select all
SET !ERRORMACRO screenshot
Exiting it by iim.Exit from the perl-script doesn´t work, because i loose the last sight of the actual website for a potential run of an errormacro for a screenshot.
So, it must be similar to iim.Exit - only inside the macro - not at the prompt.
Thanks
bruenni