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 "iimDisplay()"
Jump to navigation
Jump to search
Line 29: | Line 29: | ||
iret = imacros2.iimInit() | iret = imacros2.iimInit() | ||
iret = imacros2.iimDisplay("This is the 2nd iMacros Browser") | iret = imacros2.iimDisplay("This is the 2nd iMacros Browser") | ||
+ | |||
+ | |||
+ | |||
+ | [[File:chrome_iimdisplay_desktop_notification.png|thumb|300px|In iMacros for Chrome, if the sidebar is not available (e.g. if you start browser from scripting interface API or run macros from bookmarks menu) both, errors and iimDisplay() data are shown in a desktop notification pop-up window]] | ||
=== See Also === | === See Also === | ||
[[iimPlay]], [[iimExit]], [[iimGetLastError]], [[iimGetLastExtract]], [[iimTakeBrowserScreenshot]] | [[iimPlay]], [[iimExit]], [[iimGetLastError]], [[iimGetLastExtract]], [[iimTakeBrowserScreenshot]] |
Revision as of 14:01, 9 February 2012
Displays 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.
Syntax
int ret_code = iimDisplay ( String message [, int timeout] )
Parameters
- String message
- The message that is to be displayed in the iMacros Browser
- -or-
- #HIDEDISPLAY# - hides the message box
- #KIOSKMODE# - enables kiosk mode
- #KIOSKMODEOFF# - disables kiosk mode
- 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 10 seconds.
Examples
Visual Basic Script example:
Dim imacros1, imacros2, iret Set imacros1 = CreateObject("imacros") iret = imacros1.iimInit() iret = imacros1.iimDisplay("This is the 1st iMacros Browser") Set imacros2 = CreateObject("imacros") iret = imacros2.iimInit() iret = imacros2.iimDisplay("This is the 2nd iMacros Browser")
See Also
iimPlay, iimExit, iimGetLastError, iimGetLastExtract, iimTakeBrowserScreenshot