Re: Getting n-th window of an application ?
Re: Getting n-th window of an application ?
- Subject: Re: Getting n-th window of an application ?
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 21 Jan 2003 05:12:51 -0500
on 03-01-21 4:06 AM, Jirome Foucher at email@hidden wrote:
>
On lundi, jan 20, 2003, at 17:30 Europe/Paris, John O. Louch wrote:
>
>
> In 10.2.3 the AXWindow attributes of the Application has the windows
>
> sorted
>
> in Z order. Where the first item in the list is the topmost window.
>
>
Sorry John, but I'm running 10.2.3 right now, and the CFArray I get
>
using the following call :
>
>
error = AXUIElementCopyAttributeValue(accessEltRef,
>
kAXWindowsAttribute, &windowsArray);
>
>
is definitely not sorted in Z order. It is sorted by creation date.
Same here, and it's of course persistent. I suspect John meant 10.3, which
is presumably being used internally at Apple these days. (I assume he also
meant "AXWindows attribute", not "AXWindow attributes".)
Question: If the ordering of the application's AXWindows attribute will be
their Z order, will it change as the ordering of windows changes in the
target application? This would be necessary to make Apple's new GUI
Scripting technology consistent with conventional AppleScript usage. I
suspect it is the AppleScript issue that is driving this change to Z order.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.