Re: file "locked" property...
Re: file "locked" property...
- Subject: Re: file "locked" property...
- From: "email@hidden" <email@hidden>
- Date: Thu, 25 Jun 2015 14:11:19 +0200 (CEST)
- Importance: Medium
Hi Jean,
Your request is quite unclear (missing code/ missing os level) that said...
This is what I have tested under 10.10.3 and is working.
tell application "Finder"
set tFile to ((path to desktop folder) & "locked_unlocked.rtf") as string
--- locked
set locked of file tFile to true
--- unlocked
set locked of file tFile to false
end tell
Best regards,jan
> Op 25 juni 2015 om 13:52 schreef Jean-Christophe Helary <email@hidden>:
>
>
> 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...
>
> What am I doing wrong ?
>
> Jean-Christophe Helary
>
>
>
> _______________________________________________
> 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
|
_______________________________________________
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