Re: Change all labels to 0 if... > help!
Re: Change all labels to 0 if... > help!
- Subject: Re: Change all labels to 0 if... > help!
- From: Devon and Cornwall <email@hidden>
- Date: Fri, 15 Jun 2001 12:56:54 -0700
At 1:47 PM -0400 6/15/01, Thierry Lavallie wrote:
>
hi,
>
>
Is there a way to build a script that will make ALL my files and folders
>
contained in dragged folder to turn their label to <<none>> (0) ONLY if they
>
are already set to <<hot>>(2)?
on open (droppedItms)
repeat with anItm in droppedItms
recurzDaFolders(anItm)
end repeat
activate
end open
on recurzDaFolders(someFolder)
tell application "Finder"
set longList to select every folder of someFolder
tell selection's every folder to set it's label index to 0
repeat with thisItm in longList
my recurzDaFolders(thisItm)
end repeat
end tell
end recurzDaFolders
Cheers D&C