• 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: How do I get the NSApplication of other running applications?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I get the NSApplication of other running applications?


  • Subject: Re: How do I get the NSApplication of other running applications?
  • From: Murat Konar <email@hidden>
  • Date: Fri, 08 Sep 2006 15:45:18 -0700


On Sep 8, 2006, at 3:32 PM, Alan Smith wrote:

Argh!
So, what I'm getting is that I should just give up? No, not me, no can
do. I will go to the ends of the coders earth to get this to work.
Maybe not that far but I'm not going to give up now, I've barely
begun.

What you should be getting is that if you knew how long you would have to go, you would likely not start.



Here is an Apple Event question, I don't want to read the ugly and
abundant documentation on Apple Events if they won't work for me.

Can Apple Events return objects/variables? For example: if I told an
app to give me it's NSApplication could I get it (hypothetically)?

No.

What folks are hinting at (or even being explicit about) is that getting at NSApplication and other internals of running applications is difficult BY DESIGN. Interacting with applications in ways applications don't expect to be interacted with is asking for trouble. Doing so is, by any sensible definition, hacking.

On the other hand, there's FScript.

_murat
_______________________________________________
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: 
 >How do I get the NSApplication of other running applications? (From: "Alan Smith" <email@hidden>)
 >Re: How do I get the NSApplication of other running applications? (From: "Shawn Erickson" <email@hidden>)
 >Re: How do I get the NSApplication of other running applications? (From: "Alan Smith" <email@hidden>)
 >Re: Re: How do I get the NSApplication of other running applications? (From: "Corey O'Connor" <email@hidden>)
 >Re: Re: How do I get the NSApplication of other running applications? (From: "Alan Smith" <email@hidden>)
 >Re: How do I get the NSApplication of other running applications? (From: Andrew Farmer <email@hidden>)
 >Re: How do I get the NSApplication of other running applications? (From: John Stiles <email@hidden>)
 >Re: How do I get the NSApplication of other running applications? (From: "Alan Smith" <email@hidden>)

  • Prev by Date: Re: How do I get the NSApplication of other running applications?
  • Next by Date: Re: Re: Re: How do I get the NSApplication of other running applications?
  • Previous by thread: Re: How do I get the NSApplication of other running applications?
  • Next by thread: Re: How do I get the NSApplication of other running applications?
  • Index(es):
    • Date
    • Thread