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 

Pause resume macro kmplayer, help

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





PostPosted: Wed Nov 18, 2009 3:42 pm    Post subject: Pause resume macro kmplayer, help Reply with quote

Hi, im new to this program, and i need your help. Embarassed
I just want a macro to resume/pause movies on kmplayer (space key), when using another program by pressing alt+N.
Thanks
Back to top
Guest






PostPosted: Wed Nov 18, 2009 3:55 pm    Post subject: Reply with quote

In the AHK help file:

    ControlSend
    Hotkey
    Key List
Back to top
Anubi
Guest





PostPosted: Wed Nov 18, 2009 4:53 pm    Post subject: Reply with quote

Something like this?

Code:
!n::
IfWinNotExist ahk_class  Winamp v1.x
 return
ControlSend, ahk_parent, {space} ; Pause/Unpause
return


Its not working, and window spy detect kmplayer as Winamp v1.x, i dont know it that is a problem.
Thanks
Back to top
Guest






PostPosted: Wed Nov 18, 2009 6:22 pm    Post subject: Reply with quote

Ok, i have found a macro that works

Quote:
!n::PostMessage, 0x111, 40046,,, ahk_class Winamp v1.x


Now i need a macro for "jump interval" (left and right arrow keys)
Back to top
Anubi
Guest





PostPosted: Wed Nov 18, 2009 6:41 pm    Post subject: Reply with quote

Neremind, found the code
Fast-forward 5 seconds 40148
Fast-rewind 5 seconds 40144
Thanks
Back to top
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