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

Re: Calling methods on other applications?


  • Subject: Re: Calling methods on other applications?
  • From: Ondra Cada <email@hidden>
  • Date: Sun, 3 Apr 2005 01:40:15 +0200

Beware, the following information is of no practical consequence at all... presuming the result I should keep my big mouth closed, but once again, can't resist...

On 3.4.2005, at 1:19, Finlay Dobbie wrote:

On Apr 2, 2005 11:55 PM, Benjamin Blonder <email@hidden> wrote:
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?

What makes you think it ought to be possible? It isn't.
There is no supported way to accomplish what you are trying to do. Your best bet is the unsupported hacks like APE or SIMBL.

Actually with *native* applications (read it Cocoa) it *is* possible (and comparatively easy) using a quite supported, though somewhat hackish way. Nevertheless... read on.


Alas, a big number of important applications like Office or the Adobe ones are not quite native; instead, they are based on a compatibility layer which very unluckily overgrown its niche (read it Carbon) :(

Besides, there is any number of applications which use different frameworks at all (read it pure Java), but in this special case nobody would be surprised they don't behave as first class OS X citizens.

Anyway, from a practical point of view, what Finlay said is sad truth :(
---
Ondra Čada
OCSoftware:     email@hidden               http://www.ocs.cz
private         email@hidden             http://www.ocs.cz/oc

_______________________________________________
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: Finlay Dobbie <email@hidden>
References: 
 >Calling methods on other applications? (From: Benjamin Blonder <email@hidden>)
 >Re: Calling methods on other applications? (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: Calling methods on other applications?
  • Next by Date: Re: Calling methods on other applications?
  • Previous by thread: Re: Calling methods on other applications?
  • Next by thread: Re: Calling methods on other applications?
  • Index(es):
    • Date
    • Thread