Last active
February 21, 2017 16:08
-
-
Save pierrehenri220/b194b0928f19905b1a339e381e8e1bbf to your computer and use it in GitHub Desktop.
Codekit Hook: Trigger Coda 2 Publication
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
| delay 0.05 | |
| tell application "Coda 2" to activate | |
| tell application "System Events" | |
| keystroke "p" using {command down, control down} | |
| end tell |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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