Re: getting a list of open windows
Re: getting a list of open windows
- Subject: Re: getting a list of open windows
- From: Mark Grob <email@hidden>
- Date: Thu, 23 Oct 2003 09:07:22 -0400
Stefan,
The Accessibility API is the only official solution to your needs. I
have been asking the same thing for 3 years now on MacOS X. Currently
the OS is not structured to allow global access to all windows thru a
fast one handler solution... currently you need to make a custom
AppleEvent that loops through all the open applications, gather the
window information into one array of information and then update. That
solution or have the AppleEvent travel thru all the apps comparing it
to the previous window only, might be slightly faster. It is good if
you only need to up date say... every other second. I need something
that is a constant loop at about 30-60 fps the current AppleEvent
method is CPU intensive after you put five or so apps open at that
rate. If you lower the rate it will most likely supply you with the
solution you need.
If you want to do it on windows it is a simple CFM function... same
apple does not have that kind of option.... yet.
Goodluck,
Mark Grob
www.vrshell.com
On Thursday, October 23, 2003, at 08:01 AM, Stefan Fisk wrote:
Hi all!
Is it possible to get a list of size, position and level fvr all open
windows? I'm making a program that's supposed to make moving windows
easier by making them "snap" to each other, but all you can get
through the assistive api's is siz and position.
thanks on forehand
/Stefan Fisk
_______________________________________________
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.
_______________________________________________
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.