Created
May 14, 2017 10:32
-
-
Save robotsandcake/54115b7f6eb65a2a6b4ecc4b1ca68c1b to your computer and use it in GitHub Desktop.
This AppleScript when combined with DragonDictate for Mac will play/pause QuickTime player each time it is issued
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
| tell application "QuickTime Player" | |
| if document 1 is playing then | |
| pause document 1 | |
| else | |
| play document 1 | |
| end if | |
| end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment