Appendix D - Programming Reference for Macros |
Top Previous Next |
When a macro is created through z/Scope Anywhere interface, it will be stored in a JavaScript file that can be placed in two different locations, depending on the installation mode used:
Desktop Mode
On this installation mode, the macro will be stored on:
C:\Users\[UserName]\AppData\Roaming\Cybele Software\zScope7
1. Inside this directory there will be one folder for each existing connection, and their name will follow a format that looks like this: "EB088A84-C46D-4882-90B3-15BD0A6A26D0C"
2. Open these connections folders and look for a file that has the same name as the macro you are looking for
3. If the macro's name were "Navigation" for example, the file name would be "Navigation.js".
Server Mode
When the application is installed as server mode, the macros will be stored on:
C:\ProgramData\Cybele Software\zScope7\[UserName]
1. Inside this directory there will be subdirectories for each existing connection. Their name stands for the connection ID and will have a format that looks like this: "EB088A84-C46D-4882-90B3-15BD0A6A26D0C"
2. Open each one of these connections folders and look for a file that has the same name as the macro you are looking for.
3. If the macro's name were "Navigation" for example, the file name would be "Navigation.js".
The macro's execution sequence can be manually modified as long as the person who will do it is familiar with the JavaScript language and understands the macro structure, as well as the methods and properties used to communicate with the emulation screen.
Read More:
|