• 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: Hans Haesler <email@hidden>
  • Date: Mon, 20 Nov 2000 20:37:24 +0100

On Mon, 20 Nov 2000, Dave Balderstone wrote:

>How can I reliably tell the script to ignore the Icon file? The line
>in question is telling the Finder, BTW.

Dave,

set up the list by filtering out invisibles.
You don't need the Finder, BTW:
---
set docFolder to "Macintosh HD:QXPFiles:"
set docList to list folder docFolder without invisibles
repeat with aDoc in docList
if file type of (info for (docFolder & aDoc)) = "XDOC" then
set fullPath to docFolder & aDoc
tell application "QuarkXPress 4.11"
activate
open file fullPath ,
use doc prefs yes remap fonts no do auto picture import no
tell document 1
--do your stuff
end tell
close document 1 saving yes
end tell
end if
end repeat
---
If your script is a droplet it's easy to adapt the above snippet.

HTH,

Hans

---
Hans Haesler | email@hidden


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

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