philz
Joined: 05 Jun 2007 Posts: 87 Location: USA
|
Posted: Sun Sep 02, 2007 4:37 am Post subject: Winamp postmessage issue |
|
|
Im using winamp 5.35 on a Viata
The wMessage and command numbers are as Ragat suggested in This post.
| Code: | Run, C:\Program Files\Winamp\Winamp.exe,,,win
WinWait, Ahk_pid %win%
winactivate
WinWait, Ahk_pid %win%
WinWaitActive, ahk_pid %Win%
WinGetTitle, windo, ahk_pid%win%
#InstallKeybdHook
SC120:: ;*** ;mute
return ;*
SC122:: ; toggle pause
postmessage, 0x111, 40046,,,%windo%
return |
Any Ideas? The postmessage doesnt seem to do anything. |
|
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Tue Sep 04, 2007 7:55 pm Post subject: |
|
|
is your winamp possibly running as administrator? you can try elevating your script's privileges. Search for A_IsAdmin on the forum. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|