• 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: Script not setting finder label?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script not setting finder label?


  • Subject: Re: Script not setting finder label?
  • From: Gnarlodious <email@hidden>
  • Date: Wed, 13 Oct 2004 08:33:24 -0600

Entity Aaron Rosenblum spoke thus:

> tell application "Finder"
> activate
> set label index of this_item to 4
> end tell

I don't know what this_item is, but if it's a list string item it won't
work.

I find this structure easiest:

set fileSpec to file thisItem -- where thisItem is a string
tell fileSpec
        set its label index to wakingColor
        set its comment to commentLine
end tell

fileSpec
--> document file "04-10-13@08ยท18.jpg" of folder "Eruption " of folder
"Desktop" of disk "Rachel"

-- Gnarlie

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Script not setting finder label? (From: Aaron Rosenblum <email@hidden>)

  • Prev by Date: Re: Corce alias with Unicode (Japanese) to string fails
  • Next by Date: Re: Corce alias with Unicode (Japanese) to string fails
  • Previous by thread: Script not setting finder label?
  • Next by thread: Re: Script not setting finder label?
  • Index(es):
    • Date
    • Thread