Re: UI Scripting: Save as PDF
Re: UI Scripting: Save as PDF
- Subject: Re: UI Scripting: Save as PDF
- From: Philip Aker <email@hidden>
- Date: Thu, 23 Jan 2003 05:58:57 -0800
On Wednesday, January 22, 2003, at 11:43 AM, Jared Wangen wrote:
On Wednesday, January 22, 2003, at 04:19 AM, Dixon, Hugh - BUP wrote:
I had to get a count of all the UI elements of the Print window and
then
work through each by index asking for their own "child" elements
before I
found the "Save as PDF..." button. UIElementInspector wasn't much
help here
because of the "unknowns".
Could you give an example of this? It's not the same with TextEdit as
there is another level of Unknowns. I think if I get that, I can use
your code. I'm not sure. Anyway, how can I work through the indices
like that?
I just tried a bit of this out of curiosity. It looks like it would
work but what a bother getting there. I installed the "ESP GhostScript"
(available from Apple's website) and print to PDF from that. It works
with CUPS <
http://localhost:631">. What a breeze! And printing from the
command line directly to my PostScript printer is so easy compared to
scripting that window.
Philip Aker
http://www.aker.ca
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.