Re: kAXShownMenuUIElement?
Re: kAXShownMenuUIElement?
- Subject: Re: kAXShownMenuUIElement?
- From: Bill Cheeseman <email@hidden>
- Date: Mon, 24 Apr 2006 19:12:20 -0400
- Thread-topic: kAXShownMenuUIElement?
on 2006-04-24 6:57 PM, John Louch at email@hidden wrote:
> This is a bug in your script. perform action is async, so you are
> asking for the attribute before the menu action has actually taken
> place.
Not so. I get the same result when I insert a 'delay 10' command between
opening the menu and asking for the shown menu. I sit there staring at the
open menu for 10 seconds, then get the same bad value item in the returned
property list.
In AppleScript (at least currently), the 'delay' command gives the processor
plenty of time to work on other processes, like opening the menus in the
target application.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden