• 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
AS timeout as result of print event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Book recommendations?
  • Next by Date: Fun with Eudora & AppleScript
  • Previous by thread: Re: Book recommendations?
  • Next by thread: Re: AS timeout as result of print event
  • Index(es):
    • Date
    • Thread