• 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: finder scripting- two issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >finder scripting- two issues (From: Bob Cuilla <email@hidden>)

  • Prev by Date: Re: finder scripting- two issues
  • Next by Date: Re: finder scripting- two issues
  • Previous by thread: Re: finder scripting- two issues
  • Next by thread: Re: finder scripting- two issues
  • Index(es):
    • Date
    • Thread