Created
May 14, 2017 10:06
-
-
Save robotsandcake/f9e03ae09282919d4452941f1ce03f01 to your computer and use it in GitHub Desktop.
This AppleScript when used in conjunction with DragonDictate for Mac skips to the next track in iTunes
This file contains hidden or 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
| try | |
| tell application "iTunes" | |
| next track | |
| -- user probably expects to hear something so if we are not playing, make it play | |
| if player state is not playing then | |
| play | |
| end if | |
| end tell | |
| on error -- if there is an error then beep | |
| beep | |
| end try |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment