AS timeout as result of print event
AS timeout as result of print event
- Subject: AS timeout as result of print event
- From: Paul Bunch <email@hidden>
- Date: Sat, 22 Jun 2002 21:21:38 +0100
I wonder if anyone can help me handle a timeout with a print event?
The code I'm using is fine for most documents, but I sometimes get an apple
event timeout
Here's the block where it happens...
tell application "Microsoft Word"
activate
repeat with i from 1 to (count Wfilelist)
set testfile to (item i of Wfilelist as alias)
open testfile --open the testfile
do Visual Basic " ActiveDocument.PrintOut" --print the testfile
without dialog
close windows saving no
end repeat
quit saving no
end tell
...the bold type is where the script stops when this happens.
Any help is appreciated.
Regards
Paul Bunch
_______________________________________________
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.