AutoHotkey Community

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: November 18th, 2009, 4:42 pm 
Hi, im new to this program, and i need your help. :oops:
I just want a macro to resume/pause movies on kmplayer (space key), when using another program by pressing alt+N.
Thanks


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 18th, 2009, 4:55 pm 
In the AHK help file:

    ControlSend
    Hotkey
    Key List


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 18th, 2009, 5:53 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 18th, 2009, 7:22 pm 
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)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 18th, 2009, 7:41 pm 
Neremind, found the code
Fast-forward 5 seconds 40148
Fast-rewind 5 seconds 40144
Thanks


Report this post
Top
  
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: Leef_me, Maestr0, Pulover, rbrtryn, XstatyK and 67 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