Re: Question-GUI scripting
Re: Question-GUI scripting
- Subject: Re: Question-GUI scripting
- From: Axel Luttgens <email@hidden>
- Date: Tue, 08 Jun 2004 09:34:03 +0200
BADRINATH, NANDINI wrote:
>
>[...]
>
>
>
>
>
I rolled my mouse over to the file that I have to select and recorded
>
its hierarchy with UIElement Inspector. The UIElement inspector showed
>
the following at this point of time
>
>
<AXApplication:"QuarkXPress">
>
<AXWindow:"Open">
>
<AXUnknown>
>
<AXBrowser>
>
<AXScrollArea>
>
<AXList>
>
<AXTextField>
>
>
The AXTextField is actually the filename of the file that I have to
>
select.
>
>
How do I translate this into applescript code. I enclosed these n tell
>
blocks but it did not work. I fot an error.
>
>
Please guide me on how to do this.
>
Up to now, I know only one recipe: trial and error ;-)
That is:
- using UIElementInspector (as you did) to see what items it displays,
- comparing those items to the info found in System Events' dictionary
(look especially at the class "UI Element" of the Processes suite),
- praying that my translation attempts will be operational
HTH,
Axel
_______________________________________________
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.