Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Referencing "unknowns" with UI scripting



Hiya,

UI Element Inspector reports the following for a button I'm trying to 
click on in Apple's Print window as follows:

<AXApplication: ?Notes?>
 <AXWindow: ?Print?>
  <AXUnknown>
   <AXUnknown>
    <AXPopUpButton>

How do I reference it with the 2 unknowns as parents?

Ultimately I'm trying to select "Gray Tone" from the pop up menu of the 
"ColorSync" menu of Apple's Print window.

If I press the "Perform" button of UI Element Inspector the menu does pop 
up so it is clickable... I think.  ;-}

I tried using UI Browser but it doesn't report anything within the Lotus 
Notes application, not even the "Print" window that appears.

Many thanks,

Cojcolds

ps. After trying to script the Page Setup window of Notes I realised that 
the options for the destination printer, paper size and orientation are 
not accessible even with UI scripting. I even tried looking at it from 
inside Safari, thinking that perhaps just Notes was useless but it seems 
to be an OS thing, not just app specific.

Printing is such a basic function, surely Apple would include these things 
for scripting... at least with UI!!!
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.