Re: System Events location specifier
Re: System Events location specifier
- Subject: Re: System Events location specifier
- From: KOENIG Yvan <email@hidden>
- Date: Wed, 01 Feb 2012 18:18:50 +0100
Le 1 févr. 2012 à 17:47, Luther Fuller a écrit :
> I have been trying to get one line of code to work ...
>
> tell application "System Events"
> make new folder at locRef with properties {name:"TEST_#"}
>
> The problem is that the variable locRef must be a 'location specifier'.
> The use of an: alias; colon delimited path; posix path; or Finder reference
> all error.
>
> What do I need here? or ... Is this command broken?
The command behaves flawlessly.
I use daily :
set locRef to "path:to:a:folder" as alias (* or any other class *)
tell application "System Events"
make new folder at end of folder (locRef as text)
…
end tell
Yvan KOENIG (VALLAURIS, France) mercredi 1 février 2012 18:18:46
_______________________________________________
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