• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Accessing *other* applications' windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing *other* applications' windows?


  • Subject: Re: Accessing *other* applications' windows?
  • From: Bill Cheeseman <email@hidden>
  • Date: Sat, 11 Feb 2006 04:25:32 -0500
  • Thread-topic: Accessing *other* applications' windows?

on 2006-02-10 10:36 AM, Shon Frazier at email@hidden wrote:

> I want to control placement of another application's window(s).  If
> the application was "mine" (i.e. I wrote it), this would be as easy
> as providing a scripting interface from the application.  However,
> I'm interested in controlling *any* application's windows.
>
> I've checked most of the technologies/APIs I can think of without
> finding much information.  Is this possible?  Which API/Framework
> should provide what I'm looking for?

As others have said, you need to use Apple's official accessibility API.
It's intended for exactly this purpose. The documentation you need to review
is this: /Developer/ADC Reference Library/releasenotes/Accessibility.

--

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.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Accessing *other* applications' windows? (From: Shon Frazier <email@hidden>)

  • Prev by Date: Re: Objective-C++, class scope constants, name conflicts
  • Next by Date: Re: AGRegex question
  • Previous by thread: Re: Accessing *other* applications' windows?
  • Next by thread: Multiple shortcuts for one button
  • Index(es):
    • Date
    • Thread