Skip to content

Instantly share code, notes, and snippets.

@soh335
Created April 1, 2010 07:48
Show Gist options
  • Save soh335/351526 to your computer and use it in GitHub Desktop.
Save soh335/351526 to your computer and use it in GitHub Desktop.
on startRecord()
action("1")
end startRecord
on stopRecord()
action("2")
end stopRecord
on action(src)
tell application "iShowU HD"
activate
end tell
tell application "System Events"
if UI elements enabled then
key down command
keystroke src using {command down, shift down}
key up command
end if
end tell
end action
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment