I have this command bound to the ⌃⌥⌘⎵ (Control-Option-Command-Space) key combination. Which is simply the three lines of AppleScript turned into a single shell command.
The command itself is this one long line, osascript -e 'tell application "Capo" to activate' -e 'tell application "System Events" to tell process "Capo" to keystroke space' -e 'tell application "TextMate" to activate' I do all my writing in TextMate, so I’ve set up a command in the Bundle Editor that looks like this: How you invoke the AppleScript from within the word processor/text editor depends on the particulars of that application. If you get behind, use the AppleScript to pause the recording while you catch up. Switch to your word processor/text editor and start typing. To transcribe a spoken-word recording, you start playing it back in Capo at a speed you can keep up with. The first and third lines shift the foreground application between Capo and the word processor/text editor. The second line is an example of GUI Scripting-it uses the System Events agent to send a space character to Capo, which Capo interprets as a command to pause (if it’s playing) or play (if it’s paused). Where the ? is replaced with the name of the word processor/text editor. Tell application "System Events" to tell process "Capo" to keystroke space
The AppleScript will look something like this: tell application "Capo" to activate
Next post Previous post Using Capo for transcriptionĬapo is an application that can independently change the playback speed and pitch of almost any audio file on your Macintosh.