• 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: ignore icon file how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >ignore icon file how? (From: Dave Balderstone <email@hidden>)

  • Prev by Date: Re: applescript novice
  • Next by Date: Re: ignore icon file how?
  • Previous by thread: ignore icon file how?
  • Next by thread: Re: ignore icon file how?
  • Index(es):
    • Date
    • Thread