Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Window`s name changes
#1
Hi

Is it possible to refer to a window not by it`s name tag?

like if i`ve window called "aaa" then i use act "aaa", but my makro colapsed when the window name has changed to "bbb" for ex.

THXA
#2
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".


Forum Jump:


Users browsing this thread: 1 Guest(s)