Code: Select all
"Recent Locations|:mru" button "mru"
"Hotlist|:hotlist" button "hotlist"
-
"CKS|:cks" button "cks"
"UDC|:udc" button "udc"
-
"Exit no save|:exitnosave" button "exitnosave"
Code: Select all
load "test", "foo" //load script labeled "foo" from "test.xys"
For example, if I want a button with 2 items in it (see below, bold):
- Config
When this item is selected, I want the configuration dialog to be opened but using it's ID (Help >> Command ID's on menu) - Testscript
When this item is selected, I want to run a test-script located in: c:\xy\test_123.xys
(When Config is selected I want to use the menu ID, if possible).
EDIT
An example of what I mean:
Code: Select all
Config|#600
Testscript|c:\xy\test_123.xys
So when the custom button is pressed a menu folds out showing: "Config" and "Testscript" and executes/runs their corresponding action.