• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: problem with POSIX path of Š
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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




Best Regards,

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

References: 
 >problem with POSIX path of … (From: Yvan KOENIG <email@hidden>)
 >Re: problem with POSIX path of … (From: Axel Luttgens <email@hidden>)
 >Re: problem with POSIX path of … (From: Yvan KOENIG <email@hidden>)
 >Re: problem with POSIX path of Š (From: Jim Underwood <email@hidden>)

  • Prev by Date: Re: problem with POSIX path of Š
  • Next by Date: Need to remove Dock icon
  • Previous by thread: Re: problem with POSIX path of Š
  • Next by thread: Re: problem with POSIX path of …
  • Index(es):
    • Date
    • Thread