[TxMt] Re: Calling CodeKit With AppleScript

feek feekdiv at gmail.com
Wed Apr 29 19:07:37 UTC 2015


Hi Bob, 

you have to escape the quotes. 

This works for me (also loads the project in Safari): 

#!/usr/bin/env bash 
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && .
"${TM_SUPPORT_PATH}/lib/bash_init.sh" 
osascript -e  "tell application \"CodeKit\" to select project containing
path \"${TM_FILEPATH}\"" 


sleep 3 
open http://$HOSTNAME:5757

echo "set"




--
View this message in context: http://textmate.1073791.n5.nabble.com/Calling-CodeKit-With-AppleScript-tp29141p29153.html
Sent from the textmate users mailing list archive at Nabble.com.


More information about the textmate mailing list