RE: applescript-users digest, Vol 2 #488 - 8 msgs
RE: applescript-users digest, Vol 2 #488 - 8 msgs
- Subject: RE: applescript-users digest, Vol 2 #488 - 8 msgs
- From: "David Fekke" <email@hidden>
- Date: Tue, 13 Mar 2001 09:43:15 -0500
Chris,
I would try opening all of the documents first, and then repeating through
all of the open documents. Try something like this.
tell app "Finder"
set quarkFileList to every file in folder "Sample Folder" of disk
"Macintosh HD"
end tell
tell app "QuarkXpress 4.11"
repeat with theFile in quarkFileList
open theFile as alias
end repeat
set openDocList to every document
repeat with i in openDocList
tell document i
-- Your Code Here
end tell
end repeat
end tell
>
Message: 6
>
From: email@hidden
>
To: email@hidden
>
Date: Mon, 12 Mar 2001 16:50:16 -0700
>
Subject: Re: Opening all Quark docs in a designated folder
>
>
I'm a newbee so take it easy on me if this is an easy question.
>
>
I have about 50 Quark documents that I go through and make global changes
to. I
>
wrote a script that makes the global changes to the Quark documents but I
can
>
only get it to do one at a time. I have all the files in one folder and I
would
>
like the script to open all the Quark files in that folder first before
making
>
the global changes. I thought about merging all the files into one document
but
>
they have to stay separate documents.
>
>
Any help would be appreciated