OK, CodeKit does display the expected string in its test dialog box. So it may be a
problem on the CodeKit end. I have an email into the developer on that.
Robert J. Rockefeller
Richmond Hill, GA
On Apr 29, 2015, at 10:46 AM, Allan Odgaard
On 29 Apr 2015, at 1:31, Robert J. Rockefeller wrote:
So I wrote this:
tell application "CodeKit" to select project containing path
That launches CodeKit but does not select the project; CodeKit opens to the last used
project, not $TM_PROJECT_DIRECTORY.
This is probably more of a CodeKit issue.
Normally you would use: `POSIX file "$TM_PROJECT_DIRECTORY"`.
But given the command is `containing path` then perhaps it does expect a string? Though
in the bit you quoted from the documentation it uses a tilde in the path, which is a bit
weird, if it’s a subset search.
For testing you could do this:
tell application "CodeKit" to display alert "Test" message
This should show if the expected string is actually obtained.
textmate mailing list