Re: UI Scripting - First Impressions
Re: UI Scripting - First Impressions
- Subject: Re: UI Scripting - First Impressions
- From: Bill Cheeseman <email@hidden>
- Date: Mon, 13 Jan 2003 18:23:21 -0500
on 03-01-13 3:53 PM, Michael Sullivan at email@hidden wrote:
>
Things go fine until I find things like a button with a parent of
>
"AXUnknown". I can't get the "Save As PDF..." button to work until
>
I figure out that its parent can also be addressed as "UI element 5".
>
If there's a better way, I'd love to hear about it. Why can't
>
System Events look through the "Print" window's element tree until
>
it finds the "Save As PDF..." button? There needs to be a better
>
way than by addressing "UI element 5" (which is bound to change numbers
>
in some future OS release).
That's a great idea. I'll add it to the feature list for PreFab UI Browser,
which is due out in about a week. (Well, maybe two weeks.) UI Browser will
solve some of your issues.
<
http://www.prefab.com/uibrowser>
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
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.