Re: trivial Finder path problem
Re: trivial Finder path problem
- Subject: Re: trivial Finder path problem
- From: Christopher Stone <email@hidden>
- Date: Fri, 09 Dec 2016 15:42:07 -0600
On Dec 09, 2016, at 14:48, Mitchell L Model <email@hidden> wrote:
The following works: tell application "Finder" to get alias POSIX file ("/System/Library/Fonts/" & "Menlo.ttc")
You mean it doesn't work.
-------------------------------------------------
# This doesn't work either: set pfVar to "/System/Library/Fonts/" & "Menlo.ttc" tell application "Finder" to get alias POSIX file pfVar
-------------------------------------------------
# Works: set myAlias to alias POSIX file pfVar
-------------------------------------------------
Rule of the thumb – DON'T fiddle with posix paths and posix files in the Finder.
You will get burned at some point.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden