AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Winamp postmessage issue

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
philz



Joined: 05 Jun 2007
Posts: 87
Location: USA

PostPosted: Sun Sep 02, 2007 4:37 am    Post subject: Winamp postmessage issue Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
engunneer



Joined: 30 Aug 2005
Posts: 6772
Location: Pacific Northwest, US

PostPosted: Tue Sep 04, 2007 7:55 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group