Re: finder scripting- two issues
Re: finder scripting- two issues
- Subject: Re: finder scripting- two issues
- From: KOENIG Yvan <email@hidden>
- Date: Sat, 10 Nov 2007 19:40:39 +0100
Le 10 nov. 07 à 19:17:31, Bob Cuilla a écrit :
I have two separate things I would like to do to a "selected" file
in the Finder
First I would like to set the creator type to a specific string
"XXXX" or whatever.
Second I would like to either lock or unlock that selected file.
can anyone help me?
tell application "Finder"
set theSel to (selection as alias)
set creator type of theSel to "AbCd"
set locked of theSel to false (* or true *)
end tell
Yvan KOENIG (from FRANCE samedi 10 novembre 2007 19:40:25)
_______________________________________________
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