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 

Can AHK be used to ... ?

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



Joined: 13 Mar 2008
Posts: 6

PostPosted: Thu Mar 13, 2008 2:28 pm    Post subject: Can AHK be used to ... ? Reply with quote

Unless I am missing it, there is not a page that summarizes AHK's uses (possibly because it is so far reaching). Hopefully the forum's experts can answer a few questions easily for me, prior to taking the dive.

I am thinking that AHK is the solution to a couple of things that I want to do. I have a universal remote (Harmony 890 Pro) and a MCE-XP PC with the IR-USB Remote interface.

Questions:

1) Can AHK be used to launch iTunes (I have a PC, not an Apple)?

2) If so is the answer still "Yes" if from within MCE?

3) Can AHK be used to program a key that will reliably launch into MyMovies? Being MM is an add-in there is not a MyMovies button on the MCE remote, which in turn makes it hard to program this functionality into the Harmony. I have set it up so that it does 3 downs and an enter which works most times but it does not work when MCE is first launched (not sure why).
Back to top
View user's profile Send private message
Trikster



Joined: 15 Jul 2007
Posts: 1224
Location: Enterprise, Alabama

PostPosted: Thu Mar 13, 2008 2:49 pm    Post subject: Reply with quote

Yes. Lookup hotkeys, and the run command.
Back to top
View user's profile Send private message
mashenden



Joined: 13 Mar 2008
Posts: 6

PostPosted: Thu Mar 13, 2008 5:41 pm    Post subject: Reply with quote

Ian wrote:
Yes. Lookup hotkeys, and the run command.


Is that Yes to all three?

Also, FYI I have not installed the program yet. Is there something that explains a bit about how it works and/or how to set up launching programs so that I can get a warm and fuzzy before diving in. Past experiences with other programs leave me wary of battleing the learning curve only to find they fall short of a solution. Hopefully this is not the case but I would like to read up a bit on launching programs or launching MyMovies before setting it up.
Back to top
View user's profile Send private message
HugoV



Joined: 27 May 2007
Posts: 650

PostPosted: Thu Mar 13, 2008 6:16 pm    Post subject: Reply with quote

Start at the homepage (links below introduction)
and check the http://www.autohotkey.com/docs/Tutorial.htm
that covers the basics of creating hotkeys, sending mouseclicks etc.

Starting a program is as easy as:
Code:
#n::Run Notepad

That means if you press the Windows Key + n it starts notepad[/code]
Back to top
View user's profile Send private message
mashenden



Joined: 13 Mar 2008
Posts: 6

PostPosted: Thu Mar 13, 2008 7:29 pm    Post subject: Reply with quote

HugoV wrote:
... check the http://www.autohotkey.com/docs/Tutorial.htm that covers the basics of creating hotkeys, sending mouseclicks etc.

Starting a program is as easy as: #n::Run Notepad. That means if you press the Windows Key + n it starts notepad


I am convinced. Thank you for the perfect response.

Matt A
Back to top
View user's profile Send private message
mashenden



Joined: 13 Mar 2008
Posts: 6

PostPosted: Fri Mar 14, 2008 7:28 pm    Post subject: Reply with quote

I ran into a problem with another program so I got gun shy about trying AHK.

Here is why - Using another key/command substitiute program I have been able to launch iTunes (slowly) when pressing My Music, BUT I have not been able to get My Movies to run when I push My Video becasue My Movies does not have an executable file, only shortcuts (see what I mean about my learning curve concern, arg)

Specifically, has anyone got AutoHotKey to launch My Movies when the My Video button is pressed on the remote? Yes or no - If yes, please share how.
Back to top
View user's profile Send private message
Rhys



Joined: 17 Apr 2007
Posts: 736
Location: Florida

PostPosted: Fri Mar 14, 2008 7:51 pm    Post subject: Reply with quote

If you can get AHK to recognize that button as a hotkey, you can do 'anything' with it - If all else fails, maybe you can program the Harmony (I'm unfamiliar with it) to simulate a hotkey (Like set it to press CTRL+Shift+M) press that AHK will then act upon (^+m:: in AHK).

If you search for the WINLIRC script in the documentation, it might work as well but is probably a steeper learning curve. I haven't tried it myself yet so I can't comment too much.
_________________
[Join IRC!]

http://www.codeforcure.org/
Back to top
View user's profile Send private message
mashenden



Joined: 13 Mar 2008
Posts: 6

PostPosted: Sat Mar 15, 2008 12:11 pm    Post subject: Reply with quote

Great help, folks. I took the plunge and downloaded AHK. Setting it up so that Ctrl+ Alt+E launches My Movies was a piece of cake. Thank you HugoV for getting me started.

Also, right you are Rhys. WinLIRC looks way too difficult. So far I have good results using AHK as noted above, then using Intelliremote to remap the My Video key to Ctrl+Alt+E which AHK uses to launch My Movies.

There is still a bug in that when I am in My Movies and press LiveTV it does not work unless I do a "Back" first. Once I get this sorted out I'll post the whole solution. It really was easy to configure.
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