Re: Contextual Menu items using System Events
Re: Contextual Menu items using System Events
- Subject: Re: Contextual Menu items using System Events
- From: kai <email@hidden>
- Date: Fri, 24 Feb 2006 21:23:20 +0000
On 24 Feb 2006, at 20:44, Bill Cheeseman wrote:
on 2006-02-24 1:38 PM, John R. at email@hidden wrote:
How do I get System Events to select an item on a contextual menu?
I can't reproduce your experience because my scroll area 1 doesn't
have a
text area 1. You'd have to explain what manipulations you made in
Mail to
get a text area into scroll area 1, and an image into the text area.
In the absence of a general description, I had a bit of difficulty
working out the target too, Bill. My best guess is that John is
possibly targeting the window of an open message, in which the body
contains an image as an inline attachment.
To be honest, this looks suspiciously like one of those rough edges
in UI scripting to me. (I've come across one or two other situations
where Accessibility Inspector confirms the existence of a UI element,
but which is evidently not possible to access from a script.)
I'd be delighted to discover that I'm wrong on this. If I'm not, and
John can confirm exactly what he's trying to do, it may be possible
to suggest a workaround.
---
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