Re : trivial Finder path problem
Re : trivial Finder path problem
- Subject: Re : trivial Finder path problem
- From: Yvan KOENIG <email@hidden>
- Date: Sat, 10 Dec 2016 14:47:40 +0100
My understanding is that it's your use of alias which isn't correct.
tell application "Finder" to get alias of (POSIX file ("/System/Library/Fonts/" & "Menlo.ttc")) fails but tell application "Finder" to get (POSIX file ("/System/Library/Fonts/" & "Menlo.ttc")) as alias behaves flawlessly.
For my own use I would code :
((path to fonts folder from system domain as text) & "Menlo.ttc") as alias
Yvan KOENIG running Sierra 10.12.1 in French (VALLAURIS, France) samedi 10 décembre 2016 14:41:37
|
_______________________________________________
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