I would like to attach the script to a toolbar icon but can't seem to figure out how. Seems like its possible with none or maybe with "RunThisMacroScript" icon, but I can't figure out how to configure.
Is there a way to get the Zeus version number in script? This would be a good way to code around issues until they come out in a later release - for example, the issue regarding the message box and getting two input instead of one.
Open Files Auto Archive
I would like to attach the script to a toolbar icon but can't seem to figure out how.
The "RunThisMacroScript" is the way to go.
Seems like its possible with none or maybe with "RunThisMacroScript" icon, but I can't figure out how to configure.
When it comes to macros on toolbars there is not a lot that you can configure.
If you look at the macros menu you will see all the macros currently installed.
In the toolbar configuration there are 20 "RunThisMacroScript" icons.
So if you where to add all 20 icons you would be adding the first 20 of these macros from the macros menu to the toolbar.
The only way you can identify one macro icon from the next is by the tooltip.
What I would suggest is add your macro to the macros section of the default document type at position number one.
Then just add the first "RunThisMacroScript" icon to the toolbar and you are done.
Is there a way to get the Zeus version number in script?
I see what I can do

Cheers Jussi
I am confused about importing other modules in macros. I tried importing os and it fails; ImportError: No module named os
I have figured out why the os module fails to import

This module is defined by the os.py file which will be located in a Python Lib folder and to make the import work you need to add this Lib folder to the PYTHONPATH environment variable. Alternatively you can copy the entire Lib folder to the Zeus install folder.
But one thing to remember is Zeus runs Python 2.4.6, so the import might still fail.
If this does not work then the final option would be to download the 2.4.6 version from the Python home page and copy the Lib folder from this release:
http://www.python.org/download/
Cheers Jussi