• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: file "locked" property...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: file "locked" property...
      • From: Jean-Christophe Helary <email@hidden>
References: 
 >file "locked" property... (From: Jean-Christophe Helary <email@hidden>)

  • Prev by Date: Re: Hide ribbon in Word:mac 2011
  • Next by Date: Re: Hide ribbon in Word:mac 2011
  • Previous by thread: file "locked" property...
  • Next by thread: Re: file "locked" property...
  • Index(es):
    • Date
    • Thread