| View previous topic :: View next topic |
| Author |
Message |
savage
Joined: 02 Jul 2004 Posts: 206
|
Posted: Thu May 26, 2005 8:20 pm Post subject: WinGet active |
|
|
I notice that the WinGet command doesn't support the A option for wintitle, ie:
WinGet, id, ID, A
to get the id of the active window.
That would save the trouble of doing WinGetActiveTitle first.
Thanks. _________________ <enormous animated gif> |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Thu May 26, 2005 11:43 pm Post subject: |
|
|
| I tested it and it seems to work. Is it possible that there was no active window at the time you ran the command, or that the active window was hidden and DetectHiddenWindows was at its default of "off"? |
|
| Back to top |
|
 |
Guest
|
Posted: Fri May 27, 2005 6:23 am Post subject: |
|
|
| I can confirm that the WINGET command does work with A. More than one of the scripts I use on a regular basis uses it in this fashion. |
|
| Back to top |
|
 |
|