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 

Quicktime player flip hotkey?

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



Joined: 27 Apr 2006
Posts: 10

PostPosted: Tue Sep 02, 2008 11:07 pm    Post subject: Quicktime player flip hotkey? Reply with quote

Hey!
I have very little experience in making scripts for autohotkey. So I'm calling out for some autohotkey coding gurus out there, that can figure out how to make an script to flip an video with one hot-key in the Quicktime player?
It can be little bit annoying to press cntrl J, go to visuals and pressing the flip button in quicktime. So it would be a brilliant asset to be able to flip a video horizontally with one hotkey!

Is there somebody out there that could figure this out? I know that many animators out there would love to have this hotkey! Very Happy

Thanks in advance!
bjarki rafn
Back to top
View user's profile Send private message
PurloinedHeart



Joined: 04 Apr 2008
Posts: 209
Location: Canada

PostPosted: Tue Sep 02, 2008 11:13 pm    Post subject: Reply with quote

Have you tried using the script recorder that comes with AHK? You can just record yourself doing it once, then turn it into a hot key by adding it to the first like

eg.
Code:

#G:: ; Hot key here
msgbox rest of the code here
Back to top
View user's profile Send private message
skurdifur



Joined: 27 Apr 2006
Posts: 10

PostPosted: Wed Sep 03, 2008 2:01 am    Post subject: Reply with quote

PurloinedHeart wrote:
Have you tried using the script recorder that comes with AHK? You can just record yourself doing it once, then turn it into a hot key by adding it to the first like

eg.
Code:

#G:: ; Hot key here
msgbox rest of the code here


... I didn't know about this feature came with autohotkey! Very Happy

Thanks, PurloinedHeart! I'm going to give it a spin and see if it works!
=b
Back to top
View user's profile Send private message
skurdifur



Joined: 27 Apr 2006
Posts: 10

PostPosted: Sat Sep 06, 2008 11:35 am    Post subject: Reply with quote

Thanks PurloinedHeart, it works!
I'm wondering if someone could help me out how I can make this script work for every video that I'm playing in Quicktime. Like it is now, it only works for specific file name.

Code:

#0::

IfWinActive ahk_class QuickTimePlayerMain

Send, {CTRLDOWN}j{CTRLUP}
WinWait, blast6 Properties, MPPropPanelContainer
IfWinNotActive, blast6 Properties, MPPropPanelContainer, WinActivate, blast6 Properties, MPPropPanelContainer
WinWaitActive, blast6 Properties, MPPropPanelContainer
MouseClick, left,  84,  101
MouseClick, left,  183,  172
MouseClick, left,  397,  402
WinWait, blast6.avi Properties, MPPropPanelContainer
IfWinNotActive, blast6.avi Properties, MPPropPanelContainer, WinActivate, blast6.avi Properties, MPPropPanelContainer
WinWaitActive, blast6.avi Properties, MPPropPanelContainer
MouseClick, left,  604,  16


And is there a maybe possibility to do this without the mouse recording, so the flipping can happen faster?

Thanks in advance!
bjarki rafn
Back to top
View user's profile Send private message
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