Created
January 14, 2009 01:13
-
-
Save codahale/46725 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- LastFM - Ban Current Track | |
set previousApp to name of (info for (path to frontmost application)) | |
tell application "Last.fm" to activate | |
tell application "System Events" to keystroke "b" using command down | |
open location "x-launchbar:hide" | |
tell application previousApp to activate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- LastFM - Love Current Track | |
set previousApp to name of (info for (path to frontmost application)) | |
tell application "Last.fm" to activate | |
tell application "System Events" to keystroke "l" using command down | |
open location "x-launchbar:hide" | |
tell application previousApp to activate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- LastFM - Skip Current Track | |
set previousApp to name of (info for (path to frontmost application)) | |
tell application "Last.fm" to activate | |
tell application "System Events" to keystroke (key code 124 using command down) -- right arrow | |
open location "x-launchbar:hide" | |
tell application previousApp to activate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment