Referencing the Print window in InDesign
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