AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WinGet active

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
savage



Joined: 02 Jul 2004
Posts: 206

PostPosted: Thu May 26, 2005 8:20 pm    Post subject: WinGet active Reply with quote

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
View user's profile Send private message AIM Address
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Thu May 26, 2005 11:43 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Guest






PostPosted: Fri May 27, 2005 6:23 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group