Writing Zeus Macros Using Object REXX
Posted: Sun Mar 18, 2012 7:33 am
Since the Object REXX implements the Windows Scripting Host interface, this means it is also possible to write Zeus macros using the Object REXX language.
To setup Zeus for Object REXX scripting do the following:
Cheers Jussi
To setup Zeus for Object REXX scripting do the following:
- Make sure you are running the latest version of Zeus
- Download the Object REXX Version 3.20 installer.
NOTE: Only Object REXX Version 3.20 version supports WSH and later versions no longer support WSH. - Save this test macro to the c:\temp\test.rex location
Code: Select all
call key_macro /* run the macro */ return key_macro: procedure screen_update_disable() FileNew() write("This is a Object REXX macro script........\n") screen_update_enable() screen_update() return
- To run the test macro use Macros, Execute Script menu and type in c:\temp\test.rex
Cheers Jussi