RE: Timing problem (Quark XT)
RE: Timing problem (Quark XT)
- Subject: RE: Timing problem (Quark XT)
- From: email@hidden
- Date: Tue, 13 Aug 2002 14:44:26 EDT
Michael,
How about a loop that checks for the presence of the print monitor (system
folder/extensions/PrintMonitor) in the list of processes, and then another
that waits until it disappears from the list? Once the print manager
disappears, the print job should be done... Just a suggestion.
Best Wishes,
=-= Marc Glasgow
Micheal wrote:
>
I have a production script that calls a function of a
>
QuarkXT (made to print), and then goes on to make changes
>
to the document as clean up.
>
>
The idea is that I need the document to print in the state
>
it is in when I call that print job. The problem is that
>
the Xtension (helpfully) returns done very quickly, before
>
it has actually done all it's processing. This is cool in
>
a way, because it allows one to go on to do other things in
>
the script while it's printing.
>
>
The problem is that what I want to do in the script next
>
changes the document, and does it fast enough, that what's
>
there after the change is what ends up being printed.
>
>
I've tried to insert a loops in the script to take up time,
>
but they all have the same effect as a "delay" which is to
>
halt the app (and thus the printing) entirely while it's
>
running. So the printing conveniently waits for all that
>
rigamarole to be done with and for the changes to happen,
>
and *then* prints...
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.