• 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: Newie To AppleScripts, would like someone to look over a script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newie To AppleScripts, would like someone to look over a script


  • Subject: Re: Newie To AppleScripts, would like someone to look over a script
  • From: Micah <email@hidden>
  • Date: Tue, 02 Jan 2001 16:35:27 -0600

Thank you a bunch, and, even maybe you can help me a bit more. is there a
document with all or most of the comands (IE: tell, set, end, and such) and
what they are used for??

any one can help with that...

on 1/2/01 4:32 PM, nellA hciR at email@hidden wrote:

> -- to un/lock a file by name
> tell application "Finder"
> set locked of file "name" to true -- locked
> set locked of file "name" to false -- unlocked
> end tell
>
> -- -----
> -- for every file in the specified folder
> tell application "Finder"
> set aList to every file in folder "HD:Desktop Folder:folder"
> repeat with anItem in aList
> set locked of file (anItem as string) to true
> end repeat
> end tell
>
> -- hcir
>
>
>> Hello, my name is Micah, and i am brand new (today) to applescripts, but, i
>> am a fast learner, and i want to know how to lock items with a script. I
>> would also like to know, if there is a group of files you want to lock, in a
>> folder, how you lock them all at once, or use a script to lock all of them
>> even if you don't have thier names.


References: 
 >Re: Newie To AppleScripts, would like someone to look over a script (From: nellA hciR <email@hidden>)

  • Prev by Date: Re: Newie To AppleScripts, would like someone to look over a script
  • Next by Date: Re: Newie To AppleScripts, would like someone to look over a script
  • Previous by thread: Re: Newie To AppleScripts, would like someone to look over a script
  • Next by thread: Re: Newie To AppleScripts, would like someone to look over a script
  • Index(es):
    • Date
    • Thread