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://%24HOSTNAME:5757
echo "set"
-- View this message in context: http://textmate.1073791.n5.nabble.com/Calling-CodeKit-With-AppleScript-tp291... Sent from the textmate users mailing list archive at Nabble.com.