• 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
Referencing the Print window in InDesign
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Referencing the Print window in InDesign


  • Subject: Referencing the Print window in InDesign
  • From: Brett Conlon <email@hidden>
  • Date: Wed, 11 Jul 2007 18:39:05 +1100


Hi all,

I'm having trouble referencing the "Print" window of InDesign. UI Browser tells me it's a window [dialog "Print" (window 1)] but if I do "count of windows" it returns 1 when only one document is open and the Print window is active. It should read 2, right?

If I use repeat until exists (window "Print") it never exits even if the Print window is open. I tried counting dialogs but it returns 0.

After I've sorted that out I'll probably immediately reach my next hurdle as I'll be activating the "Printer..." button so that I can UI script the settings for PDF Options (which I already have the code for with a Quark script I'm currently running) but the Apple window is also called "Print" so I'm not sure how I'll test for its existence when another window called "Print" is already visible... one bridge at a time, eh?

Your help is most appreciated!

Cheers,

Cojcolds
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Referencing the Print window in InDesign
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Detect if application is installed
  • Next by Date: Re: Referencing the Print window in InDesign
  • Previous by thread: Re: Detect if application is installed
  • Next by thread: Re: Referencing the Print window in InDesign
  • Index(es):
    • Date
    • Thread