Re: Script not setting finder label?
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