iimDisplay
Top  Previous  Next


Displayes a short message in the iMacros browser. A typical usage would be to distinguish several running iMacros Browsers or display information on the current position within the script. If you want to hide the display so that you can manually trigger macros with the Play button please use iimDisplay ("#HIDEDISPLAY").

A list of return codes is available here.


Syntax


int ret_code = iimDisplay ( String message [, int timeout] )


Parameters

String message
The message that is to be displayed in the iMacros Browser

int timeout
The optional timeout value determins 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 imacros1, imacros2, iret

Set imacros1 = CreateObject("InternetMacros.iim")
iret = imacros1.iimInit()
iret = imacros1.iimDisplay("This is the 1st iMacros Browser")

Set imacros2 = CreateObject("InternetMacros.iim")
iret = imacros2.iimInit()
iret = imacros2.iimDisplay("This is the 2nd iMacros Browser")


See Also




Page URL http://www.iopus.com/imacros/help/scripting_iimdisplay.htm