[PYTHONMAC-SIG] Python + PaperPort?

Jack Jansen Jack.Jansen@cwi.nl
Mon, 02 Sep 1996 16:23:24 +0200


> >Hmm, on second hands I *do* know a workaround. Start Python with extensions
> >off, and let it create the preferences file. With ResEdit, open the
> >preferences file and the interpreter, and copy STR# 128 from the preferences
> >file to the interpreter as STR# 129.
> 
> If thats's indeed the problem, wouldn't it be easier to check for a STR# nr. 129
> with Get1Resource(), to make sure only the current res file is searched?

This is difficult, since the application is not the "topmost" resource file 
anymore by the time this code gets executed (the shared library has also been 
added to the resource file chain). Finding the application file to open it 
again would be rather cumbersome.
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@cwi.nl      | ++++ if you agree copy these lines to your sig ++++
http://www.cwi.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm 



=================
PYTHONMAC-SIG  - SIG on Python for the Apple Macintosh

send messages to: pythonmac-sig@python.org
administrivia to: pythonmac-sig-request@python.org
=================