| View previous topic :: View next topic |
| Author |
Message |
mashenden
Joined: 13 Mar 2008 Posts: 6
|
Posted: Thu Mar 13, 2008 2:28 pm Post subject: Can AHK be used to ... ? |
|
|
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 |
|
 |
Trikster
Joined: 15 Jul 2007 Posts: 1224 Location: Enterprise, Alabama
|
Posted: Thu Mar 13, 2008 2:49 pm Post subject: |
|
|
| Yes. Lookup hotkeys, and the run command. |
|
| Back to top |
|
 |
mashenden
Joined: 13 Mar 2008 Posts: 6
|
Posted: Thu Mar 13, 2008 5:41 pm Post subject: |
|
|
| 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 |
|
 |
HugoV
Joined: 27 May 2007 Posts: 650
|
Posted: Thu Mar 13, 2008 6:16 pm Post subject: |
|
|
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:
That means if you press the Windows Key + n it starts notepad[/code] |
|
| Back to top |
|
 |
mashenden
Joined: 13 Mar 2008 Posts: 6
|
Posted: Thu Mar 13, 2008 7:29 pm Post subject: |
|
|
| 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 |
|
 |
mashenden
Joined: 13 Mar 2008 Posts: 6
|
Posted: Fri Mar 14, 2008 7:28 pm Post subject: |
|
|
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 |
|
 |
Rhys
Joined: 17 Apr 2007 Posts: 736 Location: Florida
|
Posted: Fri Mar 14, 2008 7:51 pm Post subject: |
|
|
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 |
|
 |
mashenden
Joined: 13 Mar 2008 Posts: 6
|
Posted: Sat Mar 15, 2008 12:11 pm Post subject: |
|
|
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 |
|
 |
|