Mac Help Forums


Reply
Thread Tools Display Modes

How to find out information about all opened windows on the desktop.

 
New Member
Join Date: Jun 2007
Posts: 1
 
      30th June 2007
Hi!

I want to find out the the size and position of all opened windows on the desktop.

The only thing I've found is that NSAccibility has a function that is named
accessibilityHitTest. It returns the deepest descendant of the accessibility hierarchy that contains the point point, which is in lower-left relative screen coordinates.

I hope there is some other way to find all visible windows on the desktop, since I do not want to search every single pixel on the desktop with this method. It would take too long time.

I hope someone have some kinds of tips where to look.
thx
pir
 
Reply With Quote
 
 
 
 
Senior Member
Kaveman's Avatar
Join Date: Nov 2010
Location: Westland, NZ
Posts: 1,360
 
      12th June 2011
Nope. Each App on OSX is very separate and its very difficult for one App to reach out and query every other App.

If you are only interested in a single other App you can use Scripting Bridge, or Accessibly Kit.

Sorry OSX is designed to not allow this.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logic board of the Macintosh Portable: where to find information? The Little Elfe Hardware 4 1st October 2008 10:58 PM
Logic board of the Macintosh Portable: where to find information? The Little Elfe Portables 4 1st October 2008 10:58 PM
The most comprehensive furniture information .You will find the mostsuitable for you! shoubiao189@gmail.com Mac 0 2nd June 2008 03:09 PM
Please Help me find my hard drive that's disappeared off of my desktop and everywhere else. ironfrank@gmail.com Hardware 3 12th December 2004 03:52 PM
getting desktop printer information in Classic environment David P. Kleinschmidt Programmer Help 1 20th January 2004 07:15 PM


All times are GMT +1. The time now is 11:09 AM.
Mac-Help.com is an independent website and is not affiliated with Apple Inc.


Welcome!
Welcome to the Mac Help Forums
 


Latest Threads
New book about Steve Jobs << take part in it!
Arjan (1 Hour Ago, 09:37 AM)

Help! Stupid computer is automatically logging me out
Elizaboo (12 Hours Ago, 10:41 PM)

URGENT Help. Crazy talk Mac!
Joeker (13 Hours Ago, 09:42 PM)

PDF Document
yura (22 Hours Ago, 12:13 PM)

Difficulties with internet speed (nothing to do with connection)
sammethh (1 Day Ago, 06:36 AM)

 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51