Skip to content

Instantly share code, notes, and snippets.

@pierrehenri220
Last active February 21, 2017 16:08
Show Gist options
  • Select an option

  • Save pierrehenri220/b194b0928f19905b1a339e381e8e1bbf to your computer and use it in GitHub Desktop.

Select an option

Save pierrehenri220/b194b0928f19905b1a339e381e8e1bbf to your computer and use it in GitHub Desktop.
Codekit Hook: Trigger Coda 2 Publication
delay 0.05
tell application "Coda 2" to activate
tell application "System Events"
keystroke "p" using {command down, control down}
end tell
@pierrehenri220
Copy link
Copy Markdown
Author

This answer helpt me: http://stackoverflow.com/questions/4996334/send-a-key-code-to-an-application-without-activating-it-first
Original talk is here: http://chsmedien.com/blog/2014/03/codekit-hook-for-coda
If you use Coda 2 as text editor, you don't need the tell application "TextMate" to activate instruction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment