Re: [Pyobjc-dev] F-script may be worth a look
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2002-11-25 13:03:41
|
On Monday, Nov 25, 2002, at 13:01 Europe/Amsterdam, Peter Montagner wrote: > > On Monday, November 25, 2002, at 10:24 PM, Ronald Oussoren wrote: >> >> That might be usefull for PyObjC as well. I have something like this >> on my private wishlist: I'd like to be able to write (system) >> prefpanes in Python. > > Interesting. Well, if you want to take a crack at it, F-Script > Anywhere uses libPatch to force itself into a running application. > libPatch seems to be a very hard to get bit of code. > http://www.phasic.com/~arwyn/libPatch-1.2.tgz Some time in the future I will probably try to write whatever is needed to get prefpanes to work. That is probably simular to what is needed to write plugins for programs that use Objective-C classes as plugins (e.g. which is basicly what the system preferences application is doing). I probably won't work on forcing this onto unwilling applications. Finding a way to automaticly execute a function when 'our' shared library is loaded will probably the most problematic part of this. That is: Whenever the 'pyobjcextension' shared libary is loaded 'initPyObjCExtension' in that library should run. I haven't looked into this yet and this may well be either trivial or impossible. Ronald |