• 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: UI referencing a window by number not name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: UI referencing a window by number not name (From: Mark Butler <email@hidden>)

  • Prev by Date: Re: UI referencing a window by number not name
  • Next by Date: Re: UI referencing a window by number not name
  • Previous by thread: Re: UI referencing a window by number not name
  • Next by thread: Re: UI referencing a window by number not name
  • Index(es):
    • Date
    • Thread