Thursday 30 June 2011

10.6: Create global hotkeys to control Google Music playback

Snow Leopard only hintI've been enjoying the Google Music Beta, but I hated having to go to my Web browser, to the Google Music tab, and click the button. So, I wrote some services to create global hotkeys to play/pause, skip forward/back, and toggle shuffle.

To create a service, open Automator. When asked to choose a template, select Service. Our service will have only one block: Run AppleScript. Type that into the search bar at the top left and drag the Run AppleScript item to the project area on the right.
 Replace the code in the box already with this: on run   tell application "Google Chrome"     set allWins to every window     set allTabs to {}     repeat with currWin in allWins       se ...


Add to digg Add to Reddit Add to Slashdot Email this Article Add to StumbleUpon

Source: http://feeds.macosxhints.com/click.phdo?i=b3cbae46a272980a6b950cd631f2ff43

apple computer news mobileme family pack mac app store macworld

No comments:

Post a Comment