From: Alex T. <al...@tw...> - 2005-04-09 18:16:53
|
Sells, Fred wrote: >I realize that the PythonCard resouce structure is a straight forward >combination of {} and []. > >before I reinvent the wheel, has anyone written a simple script to print >this out (text or html) in a form more human (well programmer actually ;) >readable form. I find myself going back to check resource names too >frequently and would like a quick reference. > > Haven't felt a need to do that. For code editing, I use the "oneEditor" that comes with Pythoncard. It's an experimental (though pretty stable) extension to the basic code editor - supports tabbed notebook for multiple file edits, and a drop-down menu of components and their events. Even if you want to use a different editor, you may find the code that does that helpful - see setResourceFile, fillEventNames and on_popComponentEvents in tools/oneEditor/tabcodeEditor.py -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 |