• 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: error dialogs in PS 7.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error dialogs in PS 7.0


  • Subject: Re: error dialogs in PS 7.0
  • From: Steve Roy <email@hidden>
  • Date: Fri, 25 Jul 2003 14:56:30 -0400

Steve Suranie <email@hidden> wrote:

> Is there anyway to detect when PS 7 is opening a file and it launches an error
> dialog box such as font X not found?

If the dialog is modal, the script should normally wait by itself for the dialog
to be dismissed, or it will time out eventually. If this is the case, then you
can use a 'with timeout of' block to make the script wait longer.

Otherwise if the dialog is not modal, you can run into a loop that waits until
the top window is the document window.

Steve

--
Steve Roy <email@hidden>
Personal homepage: <http://homepage.mac.com/sroy>
Projects homepage: <http://www.roydesign.net>
_______________________________________________
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: Getting list of applications
  • Next by Date: Script Editor 2.0 beta 2
  • Previous by thread: error dialogs in PS 7.0
  • Next by thread: Applescript as Services
  • Index(es):
    • Date
    • Thread