 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
muse
Joined: 01 Jun 2006 Posts: 14
|
Posted: Mon Sep 04, 2006 3:25 am Post subject: How to get a list of window handles |
|
|
My question is how to get the window handle values using WinGet:
| Code: |
SetTitleMatchMode, 1
WinGet, handles, list, Notepad
Loop, %handles%
{
Msgbox, handle%A_Index%
}
|
It only displays 'handle1', 'handle2', etc. I want to display the window handle value. Thanks. |
|
| Back to top |
|
 |
jballi
Joined: 01 Oct 2005 Posts: 384 Location: Texas, USA
|
Posted: Mon Sep 04, 2006 5:33 am Post subject: |
|
|
Minor tweaks...
| Code: | SetTitleMatchMode,2
WinGet, handles, list, Notepad
Loop, %handles%
{
Msgbox, % handles%A_Index%
} |
|
|
| Back to top |
|
 |
muse
Joined: 01 Jun 2006 Posts: 14
|
Posted: Tue Sep 05, 2006 3:09 am Post subject: |
|
|
| Thanks, now it works. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|