08-16-2013, 11:29 AM
1. Valid.
2. int+ MyWindow is optional if variable MyWindow already exists when the macro runs first time.
If the macro or function always runs from the toolbar, you can use GetToolbarOwner.
Toolbar Toolbar48
Trigger !a"Untitled - Notepad" "Notepad"
Macro Macro2121
Function Function253
2. int+ MyWindow is optional if variable MyWindow already exists when the macro runs first time.
If the macro or function always runs from the toolbar, you can use GetToolbarOwner.
Toolbar Toolbar48
Trigger !a"Untitled - Notepad" "Notepad"
Macro2121 :mac "Macro2121" "" GetToolbarOwner(TriggerWindow)
Function253 :Function253
Function Function253