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: Wed, 2 Dec 2009 17:29:56 -0700
Steve Mills wrote:
Ta-nah. :) What version of OS X are you using? This has the exact
same wrong behavior for me in 10.6.2.
Problem replicated here on 10.6.2. Adding "as alias" fixes it.
Fails:
osascript \
-e 'set f to "/Applications/TextEdit.app/Contents/MacOS/../../../
Preview.app"' \
-e 'set p to POSIX file f' \
-e 'tell application "Finder" to reveal p'
Works:
osascript \
-e 'set f to "/Applications/TextEdit.app/Contents/MacOS/../../../
Preview.app"' \
-e 'set p to POSIX file f' \
-e 'tell application "Finder" to reveal (p 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