Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.3: Create iTunes AppleScripts shortcuts Apps
Panther has a cool feature that allows you to set keyboard shortcuts for pretty much any application, including iTunes. However, one thing I discovered is that you can set keyboard shortcuts to the AppleScripts in your iTunes Scripts Menu. Simply follow the instructions in Mac Help for setting keyboard shortcuts (search for "Setting custom keyboard shortcuts for applications"). Instead of entering the name of a menu command, enter the name of one of your scripts in iTunes Scripts Menu.
    •    
  • Currently 1.25 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[11,702 views]  

10.3: Create iTunes AppleScripts shortcuts | 5 comments | Create New Account
Click here to return to the '10.3: Create iTunes AppleScripts shortcuts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Create iTunes AppleScripts shortcuts
Authored by: Drakonian on Nov 02, '03 05:01:55PM

I haven't written any AppleScript before but I would really like a keyboard shortcut to move the cursor to the Search Bar in iTunes and clear /hightlight whatever is in there. Sort of like Command-L in Safari or Command-Option-F in Safari for the Google bar.

Is there an existing shortcut for this? Or can it be achieved through this hint via AppleScript? Thanks!



[ Reply to This | # ]
10.3: Create iTunes AppleScripts shortcuts
Authored by: aranor on Nov 02, '03 05:48:04PM

After a quick test, even thought there's no menuitem for it, Cmd-Option-F brings the cursor to the search field. It doesn't clear the stuff there, but that's easy enough to do.



[ Reply to This | # ]
10.3: Create iTunes AppleScripts shortcuts
Authored by: explosivo on Nov 03, '03 01:00:50PM

On the topic of hot-keys/shortcuts, has anyone found a way to execute a command that is not located in any application menu? I noticed that if I create a hot-key in the sys prefs pane for an applescript located in my ~/Library/Scripts folder and enable the "Script Menu", my script is listed with the shortcut key assignment.

Now one might think... "Great, now I can create global hot-keys for AppleScripts!", but the hot-key doesn't seem to work. If there is some way to get this to work, it would give AppleScript users a great and powerful way to replicate and extend the functionality provided by programs like iKey without the additional application overhead.



[ Reply to This | # ]
10.3: Create iTunes AppleScripts shortcuts
Authored by: explosivo on Nov 03, '03 01:06:33PM

Upon further experimentation, this seems to work for any menu item in global system menu. I created a hot-key for "Away". Sure enough after quitting and restarting iChat, the menu item "Away" in the global menu now displays the shortcut/hot-key. So close... but it doesn't seem to work.



[ Reply to This | # ]
10.3: Create iTunes AppleScripts shortcuts
Authored by: weefle on Nov 10, '03 04:16:05PM

I usually do a quick command-option-F, command-A to enter the Search Bar and then select all. As soon as I start typing, it replaces the current search string.



[ Reply to This | # ]