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 "iimGetErrorText"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | Returns the | + | Returns the error or success message associated with the last scripting interface method call. |
− | === Syntax === | + | === Syntax [[Image:IMacros-icon.png|iMacros Browser]] [[Image:Ie-icon.png|IE Plug-in]] [[Image:Ff-icon.png|Firefox]] [[Image:Cr-icon.png|Chrome]] === |
String err_message = iimGetErrorText() | String err_message = iimGetErrorText() |
Revision as of 21:56, 10 January 2017
Returns the error or success message associated with the last scripting interface method call.
Syntax
String err_message = iimGetErrorText()
Parameters
None
Examples
Display a dialog if iMacros cannot be initialized (Visual Basic Script example):
Dim imacros, iret Set imacros = CreateObject("imacros") iret = imacros.iimOpen() If iret < 0 Then MsgBox "An error occured: " + vbNewline + _ imacros.iimGetErrorText() End If
See Also
iimOpen, iimPlay, iimDisplay, iimClose, iimGetExtract, iimTakeBrowserScreenshot