RE: ignore icon file how?
RE: ignore icon file how?
- Subject: RE: ignore icon file how?
- From: "Bourque, Jason" <email@hidden>
- Date: Mon, 20 Nov 2000 14:34:01 -0500
list folder without invisibles
to begin with might solve your problem
Jason Bourque
MFS Investment Management
>
----------
>
From: Yosemite
>
Sent: Monday, November 20, 2000 2:24 PM
>
To: Dave Balderstone; email@hidden
>
Subject: Re: ignore icon file how?
>
>
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.