Re: file "locked" property...
Re: file "locked" property...
- Subject: Re: file "locked" property...
- From: Axel Luttgens <email@hidden>
- Date: Thu, 25 Jun 2015 16:06:00 +0200
> Le 25 juin 2015 à 13:52, Jean-Christophe Helary a écrit :
>
> I have a file that has a check in the "Locked" box when you verify its information in the Finder and when I do a "return properties of that_file" I do get a locked:true.
>
> Now, when I do "set locked of that_file to false" and check its properties I do get locked:false *but* the finder does not seem to have received that information and when I verify it in the Finder…
Hello Jean-Christophe,
Having a file named "readme.pdf" on my destkop, this one runs fine here (10.10.3):
tell application "Finder"
tell file "readme.pdf" of desktop
set locked to true
delay 5
set locked to false
end tell
end tell
and the lock appears on the file’s icon, then disappears as expected.
> What am I doing wrong ?
Well… what’s your code?
Axel
_______________________________________________
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