| View previous topic :: View next topic |
| Author |
Message |
AHK Guest Guest
|
Posted: Sun Nov 15, 2009 11:04 pm Post subject: Operating upon a control's ItemID |
|
|
| How do I operate upon a control's ItemID when using ControlGet? The ItemID of a control can be found by using WinExplorer from http://www.nirsoft.net/utils/winexp.html |
|
| Back to top |
|
 |
TLM
Joined: 21 Aug 2006 Posts: 767 Location: The Shell
|
Posted: Sun Nov 15, 2009 11:27 pm Post subject: |
|
|
What is the controls ID/text name found in Au3_spy.exe that comes with AHK?
For instance
 _________________
Off diving into dll functions.. |
|
| Back to top |
|
 |
txquestor
Joined: 22 Aug 2009 Posts: 294
|
Posted: Sun Nov 15, 2009 11:28 pm Post subject: |
|
|
Use PostMessage
You can also get the ID using
Winspector _________________
"Man's quest for knowledge is an expanding series whose limit is infinity" |
|
| Back to top |
|
 |
TLM
Joined: 21 Aug 2006 Posts: 767 Location: The Shell
|
Posted: Sun Nov 15, 2009 11:45 pm Post subject: |
|
|
I could be wrong but I think that WinExplorer's ItemID isn't a standard ID number.
I noticed that Winspector's ID is different.
WInSpector: 2163091
WinExplorer: 3161407064
Again I'm not 100% sure but its kind of strange. _________________
Off diving into dll functions.. |
|
| Back to top |
|
 |
txquestor
Joined: 22 Aug 2009 Posts: 294
|
Posted: Mon Nov 16, 2009 1:13 am Post subject: |
|
|
The ID is the value used by Postmessage to activate controls in an app.
i tested it on a number of apps I used regularly; Agent Ransack & Cleanup.
The postmessage command worked on both apps using the item ID value
To verify what i said, Download a free copy of Ranorex Spy
http://www.ranorex.com/fileadmin/downloads/RanorexSpy.exe
It displays the same ID value. _________________
"Man's quest for knowledge is an expanding series whose limit is infinity" |
|
| Back to top |
|
 |
|