Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UI scripting "Show Infos"



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: http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >UI scripting "Show Infos" (From: Yvan KOENIG <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.