Re: problem with POSIX path of Š
Re: problem with POSIX path of Š
- Subject: Re: problem with POSIX path of Š
- From: Yvan KOENIG <email@hidden>
- Date: Tue, 13 Sep 2016 22:41:32 +0200
Le 13 sept. 2016 à 22:35, Jim Underwood < email@hidden> a écrit :
I get the wanting to understand part, but from a practical point of view, if you know you need the POSIX path, why not just create it up front, where you are already outside of a "tell block"?
set
tempFolder to POSIX path of (path to
documents folder) as
text
Jim Underwood
aka JMichaelTX
ThanksJim
You had no, way to guess that I use the Hfs path so MANY times that I choose to store it in a variable. My idea was to get rid of an extraneous variable storing the POSIX path which is used in a single occurrence.
As I posted three minutes ago, the good scheme is to use :
set tempFolder to path to desktop folder as text
tell application "System Events" POSIX path of disk item tempFolder end tell
Yvan KOENIG running El Capitan 10.11.6 in French (VALLAURIS, France) mardi 13 septembre 2016 22:39:21
|
_______________________________________________
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