Re: UI scripting "Show Infos"
Re: UI scripting "Show Infos"
- Subject: Re: UI scripting "Show Infos"
- From: kai <email@hidden>
- Date: Fri, 7 Jul 2006 03:26:52 +0100
Since the list server seems to be struggling at the moment, I'm
posting this direct, as well as to the list.
On 6 Jul 2006, at 17:55, Yvan KOENIG wrote:
I don’t understand what is wrong, the folder’s icon is NOT selected
so the cut attempt don’t work.
Hard to say from here, Yvan. As we've discovered previously, there
are some significant differences between Panther and Tiger in terms
of UI scripting - including the structure of certain elements. For
example, an info window's icon is identified here as [button 1 of
scroll area 1], rather than [button "image" of UI element 6 of UI
element 5].
With that qualification, the 'select' statement actually succeeds
here - unless a text field is already selected. However, this works
much more consistently:
---------
set value of attribute "AXfocused" of [whatever the target UI element
happens to be] to true
---------
May not do the trick for you - but possibly worth a try...
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden