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:34:42 +0200
Le 13 sept. 2016 à 21:45, Axel Luttgens < email@hidden> a écrit :
Le 13 sept. 2016 à 16:33, Yvan KOENIG a écrit :
[…]
I don't understand why the good old « tell me » tip doesn't allow POSIX path to behave correctly in a tell application "System Events" block
[…]
Hello Yvan, At the basis, you are interested into something like this: set tempFolder to (path to documents folder) as text tell application "System Events" POSIX path of tempFolder end tell … HTH, Axel
Hi Axel,
I'm an ass.
set tempFolder to path to desktop folder as text
tell application "System Events" POSIX path of disk item tempFolder end tell
behave flawlessly. I understand that after entering System Events dictionary. To be honest, I doesn't like to enter it because Apple engineers had the annoying idea to localize the name of the app and most of the time, I starts searching for "System Events" which of course fails. And I guess that you know that entering "Évé" to reach the entry is not really ergonomic. But I will not complain too much. If I was doing, somebody would be able to decide that "Finder" must be localized too 🙄
Yvan KOENIG running El Capitan 10.11.6 in French (VALLAURIS, France) mardi 13 septembre 2016 22:33:55
|
_______________________________________________
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