AutoHotkey Community

It is currently May 27th, 2012, 9:07 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: WM_APP help?
PostPosted: November 4th, 2011, 1:11 pm 
Offline

Joined: July 6th, 2008, 9:19 am
Posts: 101
Hi, there is a program i use that has its own set of hotkeys. when one is pressed I get a WM_APP + 27 show up in winspector and then a return for the same message.

I tried to do the same in AHK

Code:
a::
WinGet, active_id, ID, A
SendMessage, 0x8000 + 27, 0x00000000, 0x012e0e0, , ahk_id %active_id%
return


This shows exactly the same message in winspector as pressing the hotkey in the program in winspector. The problem is it doesnt seem to do the same action.(any action in fact)

any ideas?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 6th, 2011, 9:27 am 
Offline

Joined: July 6th, 2008, 9:19 am
Posts: 101
bump..


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 6th, 2011, 6:20 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5482
Location: the tunnel(?=light)
WM_APP wrote:
The WM_APP constant is used to distinguish between message values that are reserved for use by the system and values that can be used by an application to send messages within a private window class.


In other words, the message is essentially useless for your purposes.

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, hyper_, tomoe_uehara, Yahoo [Bot] and 74 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