06-22-2005, 07:52 AM
1. Partial window name.
2. Window class.
3. Window handle.
When you record, are inserted commands like this:
int w1=win("Quick Macros - Ok - [Macro98]" "QM_Editor")
Here w1 is window handle. It can be used instead of window name. However, it cannot be used to refer to another instance of the window.
Here "Quick Macros - Ok - [Macro98]" is window name. Since part of it is not constant, you can use only "Quick Macros -".
Here "QM_Editor" is window class. If it is unique, you can use it instead of window name. With commands other than win, prepend +, eg "+QM_Editor".
2. Window class.
3. Window handle.
When you record, are inserted commands like this:
int w1=win("Quick Macros - Ok - [Macro98]" "QM_Editor")
Here w1 is window handle. It can be used instead of window name. However, it cannot be used to refer to another instance of the window.
Here "Quick Macros - Ok - [Macro98]" is window name. Since part of it is not constant, you can use only "Quick Macros -".
Here "QM_Editor" is window class. If it is unique, you can use it instead of window name. With commands other than win, prepend +, eg "+QM_Editor".