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
Ruby
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The iMacros Scripting Interface can be used from any programming or script language via its standard Windows COM object. The following example shows you how to call this interface from Ruby. The script initializes the Scripting Interface and calls a macro with name "DownloadReport".
require 'win32ole' iim1 = WIN32OLE.new('imacros') i = iim1.iimOpen('-ng') i = iim1.iimSet("-var_loginname", "tom@iopus.com") i = iim1.iimDisplay("This is a test") i = iim1.iimPlay("DownloadReport")
(Sample provided by ryuuguu in our user forum. Here's the Posting)