Re: ignore icon file how?
Re: ignore icon file how?
- Subject: Re: ignore icon file how?
- From: Yosemite <email@hidden>
- Date: Mon, 20 Nov 2000 10:24:17 -0900
set fList to list folder "hd:folder:folder"
repeat with anItem in fList
if (anItem as string) contains ("icon" & return) then
beep
end if
end repeat
-- hcir
mailto:email@hidden
>
I'm working on a script that walks through every Quark Xpress file in
>
a folder and does stuff to them.
>
>
However, the script is erroring when it hits the "Icon" file, thusly:
>
>
if file type of file path_name is not "icon" then
>
--> The variable result is not defined.
>
>
How can I reliably tell the script to ignore the Icon file? The line
>
in question is telling the Finder, BTW.