• 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
Calling methods on other applications?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Calling methods on other applications?


  • Subject: Calling methods on other applications?
  • From: Benjamin Blonder <email@hidden>
  • Date: Sat, 2 Apr 2005 17:55:33 -0500

I'm trying to write a silly little application that resizes all of the user's windows in all programs, and I'm trying to figure out how to do this. I think that I can get a lot of information with a [[NSWorkspace sharedWorkspace] launchedApplications], but I'm unsure of what to do with the array this returns. Ideally I'd like to be able to somehow convert the PIDs it returns into actual NSApplication pointers I could then use to call the relevant resize methods. Right now though I'm stumped as to how to do this. It seems like it ought to be possible - any ideas?

Thanks in advance!

_______________________________________________
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


  • Follow-Ups:
    • Re: Calling methods on other applications?
      • From: Bill Cheeseman <email@hidden>
    • Re: Calling methods on other applications?
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: insertObject:in<Key>AtIndex: not being called.
  • Next by Date: bindings for a custom NSView
  • Previous by thread: Re: insertObject:in<Key>AtIndex: not being called.
  • Next by thread: Re: Calling methods on other applications?
  • Index(es):
    • Date
    • Thread