Skip to content

Instantly share code, notes, and snippets.

@kmelve
Created March 6, 2014 09:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kmelve/9386311 to your computer and use it in GitHub Desktop.
Save kmelve/9386311 to your computer and use it in GitHub Desktop.
AppleScript for uploading changes after CodeKit compiles. From https://github.com/bdkjones/codekit2beta/issues/273#issuecomment-36380800
tell application "Transmit"
set myFave to item 1 of (favorites whose name is "NameOfFavorite")
set myRules to (skip rules whose name is "codekit")
tell current tab of (make new document at end)
connect to myFave
change location of local browser to path "~/Codekit/Projekt"
change location of remote browser to path "domains/domain/assets"
synchronize local browser to remote browser using skip rules myRules
close remote browser
close
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment