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 "API enhancements"
Jump to navigation
Jump to search
(Created page with " Starting in iMacros version 7.40, the Scripting Interface has a few new methods. Some of them add new features, while some cover the functionality of existing methods, but with ...") |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | Starting in iMacros version 7.40, the Scripting Interface has a few new methods. Some of them add new features, while some cover the functionality of existing methods, but with improved comfort. We continue to support all old API functions, so this upgrade does ''not'' break any existing applications or scripts that use iMacros. | ||
− | + | The following table summarizes the changes: | |
− | The | + | {|border="1" cellpadding="5" cellspacing="0" |
+ | !Previously !! style="background-color:#ffffcc;" |New !! What changed | ||
+ | |- | ||
+ | |iimInit(String commandLine ,bool openNewBrowser, "", "", "", int timeout) || style="background-color:#ffffcc;" |'''[[iimOpen]]'''(String commandLine , bool openNewBrowser, int timeout) || The new method does not require the 3 deprecated empty parameters. | ||
+ | |- | ||
+ | |iimGetInterfaceVersion() || style="background-color:#ffffcc;" |'''[[iimGetInterfaceVersion()|iimGetInterfaceVersion]]'''() || No changes | ||
+ | |- | ||
+ | |rowspan="2"|iimPlay(String macro, int timeout) || style="background-color:#ffffcc;" |'''[[iimPlay]]'''(String filename, int timeout) || No changes | ||
+ | |- | ||
+ | |style="background-color:#ffffcc;" |'''[[iimPlayCode]]'''(String macroCode, int timeout) || iimPlayCode is a comfort method which takes the macro code as parameter (no need for the "CODE:" keyword) | ||
+ | |- | ||
+ | |iimDisplay(String message, int timeout) || style="background-color:#ffffcc;" |'''[[iimDisplay]]'''(String message, int timeout) || No changes | ||
+ | |- | ||
+ | |iimSet (String varName, String varValue) || style="background-color:#ffffcc;" |'''[[iimSet]]'''(String varName, String varValue) || No changes | ||
+ | |- | ||
+ | |iimGetLastError() || style="background-color:#ffffcc;" |'''[[iimGetErrorText]]'''() || Only name changed | ||
+ | |- | ||
+ | |iimGetLastExtract(int index_of_extracted_text) || style="background-color:#ffffcc;" |'''[[iimGetExtract]]'''(int index_of_extracted_text) || Only name changed | ||
+ | |- | ||
+ | |iimGetLastPerformance(int index, String name, string value) || style="background-color:#ffffcc;" |'''[[iimGetStopwatch]]'''(int index, String name, string value) || Only name changed | ||
+ | |- | ||
+ | |iimTakeBrowserScreenshot(String filePath, int mode) || style="background-color:#ffffcc;" |'''[[iimTakeBrowserScreenshot]]'''(String filePath, int mode) || No changes | ||
+ | |- | ||
+ | ||| style="background-color:#ffffcc;" |'''[[iimGetPerformance]]'''() || New method which retrieves the XML fragment containing the [[Log_Performance|performance profile]], if the -profile switch was used | ||
+ | |- | ||
+ | |iimExit(int timeout) || style="background-color:#ffffcc;" |'''[[iimClose]]'''(int timeout) || Only name changed | ||
+ | |} |
Latest revision as of 08:25, 26 October 2011
Starting in iMacros version 7.40, the Scripting Interface has a few new methods. Some of them add new features, while some cover the functionality of existing methods, but with improved comfort. We continue to support all old API functions, so this upgrade does not break any existing applications or scripts that use iMacros.
The following table summarizes the changes:
Previously | New | What changed |
---|---|---|
iimInit(String commandLine ,bool openNewBrowser, "", "", "", int timeout) | iimOpen(String commandLine , bool openNewBrowser, int timeout) | The new method does not require the 3 deprecated empty parameters. |
iimGetInterfaceVersion() | iimGetInterfaceVersion() | No changes |
iimPlay(String macro, int timeout) | iimPlay(String filename, int timeout) | No changes |
iimPlayCode(String macroCode, int timeout) | iimPlayCode is a comfort method which takes the macro code as parameter (no need for the "CODE:" keyword) | |
iimDisplay(String message, int timeout) | iimDisplay(String message, int timeout) | No changes |
iimSet (String varName, String varValue) | iimSet(String varName, String varValue) | No changes |
iimGetLastError() | iimGetErrorText() | Only name changed |
iimGetLastExtract(int index_of_extracted_text) | iimGetExtract(int index_of_extracted_text) | Only name changed |
iimGetLastPerformance(int index, String name, string value) | iimGetStopwatch(int index, String name, string value) | Only name changed |
iimTakeBrowserScreenshot(String filePath, int mode) | iimTakeBrowserScreenshot(String filePath, int mode) | No changes |
iimGetPerformance() | New method which retrieves the XML fragment containing the performance profile, if the -profile switch was used | |
iimExit(int timeout) | iimClose(int timeout) | Only name changed |