• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Contextual Menu items using System Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Contextual Menu items using System Events
      • From: Bill Cheeseman <email@hidden>
References: 
 >Re: Contextual Menu items using System Events (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Contextual Menu items using System Events
  • Next by Date: Re: Three InDesign scripting questions
  • Previous by thread: Re: Contextual Menu items using System Events
  • Next by thread: Re: Contextual Menu items using System Events
  • Index(es):
    • Date
    • Thread