FROM : Ondra Cada
DATE : Sun Apr 03 01:40:15 2005
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_removed>> 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_removed> http://www.ocs.cz
private <email_removed> http://www.ocs.cz/oc
DATE : Sun Apr 03 01:40:15 2005
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_removed>> 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_removed> http://www.ocs.cz
private <email_removed> http://www.ocs.cz/oc
| Related mails | Author | Date |
|---|---|---|
| Benjamin Blonder | Apr 3, 00:55 | |
| Finlay Dobbie | Apr 3, 01:19 | |
| Ondra Cada | Apr 3, 01:40 | |
| Finlay Dobbie | Apr 3, 01:49 | |
| Bill Cheeseman | Apr 3, 02:00 | |
| Olivier Lanctôt | Apr 3, 07:02 | |
| Conrad Carlen | Apr 3, 07:18 | |
| Ken Tozier | Apr 3, 11:04 | |
| Mike Hall | Apr 3, 11:27 | |
| Ondra Cada | Apr 3, 11:54 | |
| Ken Tozier | Apr 3, 12:45 |






Cocoa mail archive

