Re: How do I set the focus to the Icon of the Information Window ?
Re: How do I set the focus to the Icon of the Information Window ?
- Subject: Re: How do I set the focus to the Icon of the Information Window ?
- From: Axel Luttgens <email@hidden>
- Date: Thu, 13 Oct 2011 00:09:54 +0200
Le 10 oct. 2011 à 18:27, Emile Schwarz a écrit :
> [...]
> How one will know that (s)he have to write that:
>
> set focused of image 1 of scroll area 1 of fw to true
>
>
> image 1 of scroll area ????
>
> Even if I become 'clearvoyant', I would never saw that ;-)
>
> Thanks again Nigel,
>
> Emile
Hello Emile,
May I suggest to have a quick look at this one:
<http://lists.apple.com/archives/applescript-users/2007/Dec/msg00736.html>
Basically, System Events should provide you with all needed enquiry means, even if it sometimes proves convoluted to get the info.
Of course, some GUI tools, such as the one provided by Apple with Xcode (Accessibility Inspector.app since some version of Xcode) may appear more intuitive, but the link with the terminology needed to write a functional AppleScript code isn't always obvious. Moreover, as Nigel (IIRC) wrote earlier here, those tools sometimes reveal properties/entities that aren't accessible from AppleScript (slight glitches in the implementation, so that the parent -> child relationships aren't always honored).
HTH,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden