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
(→Syntax) |
|||
Line 1: | Line 1: | ||
Returns the text associated with the last error. | Returns the text associated with the last error. | ||
− | === 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 12:13, 30 November 2016
Returns the text associated with the last error.
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