Re: UI referencing a window by number not name
Re: UI referencing a window by number not name
- Subject: Re: UI referencing a window by number not name
- From: Brett Conlon <email@hidden>
- Date: Wed, 18 Jan 2006 17:17:02 +1000
Hi Mark,
Yes, I've already been warmly introduced
to all of those issues but I have a UI script that is manageable and still
makes the process easier than if the designer manually does EVERYTHING.
The way I've set up the UI scripting
of the buttons is to have a repeat statement look for the existence of
the window that is supposed to be appearing (which of course doesn't) but
I've included the click command and a short delay in the repeat so what
happens is the button flashes blue every 0.3 until the operator presses
it. I also had a say statement which said, "Please press the Printer
button." but I couldn't guarantee the designer had their volume up
(and the radio is always way louder than the Mac's volume in the studio
any way.) and so I removed it.
So, the user still has to click a few
things during the script but it is still faster.
If I can't get the Print window referenced
generically (as per my original email request) then I'll just have to turn
to spitting out PS files into watched folders (hoping that all the options
I need can be accommodated doing it this way).
And, yes, the code you posted is on
the Quark AppleScript forum. I saw it there today.
Again thanks,
Cojcolds
ps. BTW, to get the Quark file to finally
print I just use keystroke return (presses the Print button).
Mark Butler <email@hidden>
Hey Brett,
Before you waste a bunch of time like I did... I couldnt click the
print button in Quark so GUI scripting the print dialog was a waste
of time. Quark's print command is broken in Tiger so scripting that
dosent work. Even before Tiger you couldnt set a custom page size
without editing the ppd and taking all the page sizes out. This work
around uses the export pdf. You can set the pdf export to only go to
ps so it is somewhat useable although I have seen some problems with
images in certain rips. You can set in the preferences of Quark to
use a post processor for the pdf's so I dont think this touches Jaws
(pdf engine Quark uses) at all.
I picked this up somewhere think it was the Quark forums...
<snipped>
Good luck with that freehand thing... Would love to hear what you
find out I dont run across those files very often but.. Would be nice
to have something in my bag for it...
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden