Re: Converting Xcode paths to usable paths
Re: Converting Xcode paths to usable paths
- Subject: Re: Converting Xcode paths to usable paths
- From: Greg Guerin <email@hidden>
- Date: Tue, 1 Dec 2009 16:49:07 -0700
Steve Mills wrote:
Maybe so, but LOTS of things can't deal with them in a path. Try
this incredibly simple example and you'll see what I mean (it's
weird, but should work on any standard OS X installation). It gets
stuck on the first ".." and ends up revealing /Applications/
TextEdit.app/Contents/MacOS/ instead:
tell application "Finder"
reveal POSIX file "/Applications/TextEdit.app/Contents/
MacOS/../../../Preview.app"
end tell
Fails:
osascript -e 'tell application "Finder" to reveal POSIX file "/
Applications/TextEdit.app/Contents/MacOS/../../../Preview.app"'
Works:
osascript -e 'tell application "Finder" to reveal POSIX file "/
Applications/TextEdit.app/Contents/MacOS/../../../Preview.app" as alias'
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden