From: Alex T. <al...@tw...> - 2006-08-02 22:12:16
|
Wesley Phillips wrote: >I use Eclipse for Python development. I can run PyCard as an external tool just fine. I would like to send a source file when I run PyCard. I have accomplished this with other external programs, however not sucessfully with PyCard. To run pycard from eclipse I call pythonw.exe with C:\Python24\Lib\site-packages\PythonCard\tools\resourceEditor\layoutEditor.py as a variable. Is there any way to add the resource file? > > I'm not sure if this is a PythonCard question or an Eclipse question :-) Here's what I do know ..... the layoutEditor will accept a resource file name as its (only) command line argument. For instance, (in Win XP) open a shell box (aka DOS box) give the command (for me) pythonw c:\python\PythonCard\tools\resourceEditor\layoutEditor.py samples\flock\flock.rsrc.py and it opens the layout editor and then opens the resource file for the flock sample. So if there's a way to append the resource file name to the command line from Eclipse, you should be OK. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.5/405 - Release Date: 01/08/2006 |