Re: Menulet scripting
Re: Menulet scripting
- Subject: Re: Menulet scripting
- From: David Gregg <email@hidden>
- Date: Tue, 27 Jun 2017 07:17:37 -0600
> On Jun 27, 2017, at 3:43 AM, Bill Cheeseman <email@hidden> wrote:
>
>> On Jun 27, 2017, at 1:22 AM, Bob Stern <email@hidden> wrote:
>>
>> Is there any way to programmatically control a menulet (menu extra)?
>>
>> In my experiments, UI Scripting cannot do it (PFiddlesoft UI Browser cannot
>> see a menulet), and OS X Prefs cannot assign a keyboard shortcut to a menu
>> item in a menulet.
>
> I have forgotten the details because I haven't yet reported this to Apple,
> but there is a bug in (I believe) macOS Sierra 10.12. The bug is a
> parent-child mismatch in the Apple part (I believe) of the menu extras bar.
> In addition, the Apple part of what used to be (I believe) a single menu
> extras bar is now in (I believe) Sierra turned into 'menubar 2', while the
> third-party part is 'menubar 1'.
Bill,
I am currently running Sierra and while I can't see anything in the browser of
UI Browser I am still able to investigate using the screen reader. I also
notice that some of the third-party extra menu items use menubar 1 while others
use menubar 2. Bill Is it possible that it maybe related to whether they have a
regular app also associated with them?
I was up until last week running El Capitan and remember there being some
applets also using menubar 2. Although, I am also noticing, as you pointed out,
that there seems to be a parent-child mismatch with the menu extra items that
use menubar 1.
> This bug prevents GUI scripting the Apple menu extras, and it prevents UI
> Browser from seeing them. Otherwise, all menu extras have always been GUI
> scriptable and manageable by UI Browser, at least to the extent of letting
> you open the menus and click the menu items. UI Browser installs example
> scripts that show how to do this.
The screen reader still sees them.
>
> I will pin down the details and report this to Apple as soon as I have the
> time.
Hope this helps a little bit.
David
>
> --
>
> Bill Cheeseman - email@hidden
>
> _______________________________________________
> 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
_______________________________________________
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