Re: How do I get the NSApplication of other running applications?
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