| View previous topic :: View next topic |
| Author |
Message |
brandon_r87
Joined: 14 Jan 2007 Posts: 4
Digg It |
Posted: Wed Jan 17, 2007 1:21 am Post subject: Two Scripts: iTunes w/ Global Shortcuts & OpenPandora |
|
|
Hello,
I made a couple of simple scripts, one to control iTunes and one to control OpenPandora. There was already an iTunes one, but I wanted global shortcuts so that I could control it while playing WoW. You need to go here to get the iTunes Anywhere script: http://www.autohotkey.com/forum/topic5727.html. Then go to http://www.AutoHotKey.com to get the application for reading/compiling the script.
The other is OpenPandora. OpenPandora is an application for listening to http://www.pandora.com without having a browser open. It already supports global shortcuts, but you have to make sure you have them enabled. Go to http://openpandora.googlepages.com/ to get OpenPandora.
iTunes w/ Global Scripts
| Code: | // iTunes Global Shortcuts
// GlovePIE script by brandon_r87
// uses AutoHotKey and polyphenol's iTunes Global Shortcuts script
// get the script at http://www.autohotkey.com/forum/topic5727.html
// Wiimote.Home = launch iTunes or hide/show
// Wiimote.Left = previous song
// Wiimote.Right = next song
// Wiimote.A = play/pause toggle
// Wiimote.Plus = volume up
// Wiimote.Minus = volume down
// Wiimote.One = preview song every 10 sec
// Wiimote.Two = stop preview mode
keyboard.Windows and keyboard.backslash = Wiimote.Home
keyboard.Windows and keyboard.dot = Wiimote.Right
keyboard.Windows and keyboard.comma = Wiimote.Left
keyboard.Windows and keyboard.slash = Wiimote.A
keyboard.Windows and keyboard.semicolon = Wiimote.Plus
keyboard.Windows and keyboard.Apostrophe = Wiimote.Minus
keyboard.Windows and keyboard.equals = Wiimote.One
keyboard.Windows and keyboard.minus = Wiimote.Two |
Wiidora (OpenPandora)
| Code: | // Wiidora
// Script by brandon_r87
// A script for controlling OpenPandora found at http://openpandora.googlepages.com/
// Thanks to pandora.com and the Music Genome Project, and Eitan Pogrebizsky for OpenPandora
// Global shortcuts must be enabled in OpenPandora for this to work,
// but focus doesn't need to be on OpenPandora to work.
// Play/Pause - A
// Skip song - Right
// I Like this Song - Plus
// I Don't Like this Song - Minus
// Volume Up - Up
// Volume Down - Down
// Previous station - One
// Next station - Two
// Switch to QuickMix - B
// Show/Hide Player - Home
Keyboard.Ctrl and Keyboard.Windows and Keyboard.Space = Wiimote.A
Keyboard.Ctrl and Keyboard.Windows and Keyboard.Right = Wiimote.Right
Keyboard.Ctrl and Keyboard.Windows and Keyboard.NumpadPlus = Wiimote.Plus
Keyboard.Ctrl and Keyboard.Windows and Keyboard.Minus = Wiimote.Minus
Keyboard.Ctrl and Keyboard.Windows and Keyboard.Up = Wiimote.Up
Keyboard.Ctrl and Keyboard.Windows and Keyboard.Down = Wiimote.Down
Keyboard.Ctrl and Keyboard.Windows and Keyboard.PageUp = Wiimote.One
Keyboard.Ctrl and Keyboard.Windows and Keyboard.PageDown = Wiimote.Two
Keyboard.Ctrl and Keyboard.Windows and Keyboard.Q = Wiimote.B
Keyboard.Ctrl and Keyboard.Windows and Keyboard.Home = Wiimote.Home
|
|
|
| Back to top |
|
 |
timelf123
Joined: 21 Jan 2007 Posts: 15
Digg It |
Posted: Sat Jan 27, 2007 7:28 pm Post subject: |
|
|
| thats pretty sweet man, thanks for the script! |
|
| Back to top |
|
 |
Jen77
Joined: 29 Aug 2007 Posts: 1
Digg It |
Posted: Wed Aug 29, 2007 2:44 pm Post subject: |
|
|
| Nice script! The one for iTunes is certainly helpful for online gaming. |
|
| Back to top |
|
 |
|