The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
Difference between revisions of "iimExit()"
m (IimExit() moved to iimExit()) |
|
(No difference)
|
Revision as of 06:05, 26 April 2007
Closes the iMacros browser. It first attempts to close the browser by sending it a direct message. If the browser does not react (e.g. because the website made the browser freeze) then it terminates the browser. Thus, the Scripting Engine will keep control even if the browser itself is "frozen".
A list of return codes is available here [1].
Syntax
int ret_code = iimExit ( [int timeout] )
Parameters
int timeout
The optional timeout value determines when the Scripting Interface returns a timeout error if the command is not completed in time. The default value is 3 seconds.
Examples
Visual Basic Script example:
Dim imacros, iret Set imacros = CreateObject("InternetMacros.iim") iret = imacros.iimInit() iret = imacros.iimPlay("mymacro") iret = imacros.iimExit()