AutoHotkey Community

It is currently May 26th, 2012, 11:17 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: November 16th, 2009, 12:04 am 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2009, 12:27 am 
Offline

Joined: August 21st, 2006, 7:07 pm
Posts: 2925
Location: The Shell
What is the controls ID/text name found in Au3_spy.exe that comes with AHK?
For instance
Image

_________________
Imageparadigm.shift:=(•_•)┌П┐RTFM||^.*∞


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2009, 12:28 am 
Offline

Joined: August 22nd, 2009, 11:23 pm
Posts: 294
Use PostMessage

You can also get the ID using
Winspector

_________________
Image
"Man's quest for knowledge is an expanding series whose limit is infinity"


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2009, 12:45 am 
Offline

Joined: August 21st, 2006, 7:07 pm
Posts: 2925
Location: The Shell
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.

_________________
Imageparadigm.shift:=(•_•)┌П┐RTFM||^.*∞


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2009, 2:13 am 
Offline

Joined: August 22nd, 2009, 11:23 pm
Posts: 294
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/downlo ... rexSpy.exe
It displays the same ID value.

_________________
Image
"Man's quest for knowledge is an expanding series whose limit is infinity"


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Cerberus, Google [Bot], Google Feedfetcher, Maestr0, rbrtryn, Tipsy3000 and 64 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group