Re: Question-GUI scripting
Re: Question-GUI scripting
- Subject: Re: Question-GUI scripting
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 08 Jun 2004 09:00:19 -0700
On 6/8/04 12:34 AM, "Axel Luttgens" <email@hidden> wrote:
>
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
Much, much better is to get "UI Browser" by PreFab (created by our own Bill
Cheeseman) where all this is done for you. You get lists of the available
controls with all the correct terminology and paths for each.
--
Paul Berkowitz
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.