Joe,
When you open "Folder Options", click on the "File Types" tab, and then
double click Python files (.py) in the list of file associations. It will
bring up an "Edit file type" dialog box. Under "Actions", select "open",
then click the edit button. Then, in the field called "Application used to
perform action", paste the following:
C:\Python21\pythonw.exe C:\Python21\Tools\idle_VPython\idle.pyw "%1" %*
This gives the behavior you want. I also made a second action, called
"Run", which has the original file association (C:\Python21\python.exe "%1"
%*). That way, if I don't want to run IDLE, I can just right-click the
file and select Run.
Matt
--On Tuesday, September 04, 2001 8:43 AM -0400 hea...@vn... wrote:
> Hello.
>
> For VPython running under Win9x, to which file should I associate *.py
> files so that when I click on one, it opens in the modified version of
> IDLE? As it stands now, clicking on a *.py file causes it to execute. I
> want to load it into IDLE.
>
>
> Cheeers,
> Joe
>
> CVAC Home Page <http://users.vnet.net/heafnerj/cvac.html>
> My Book <http://www.willbell.com/new/fundephcomp.htm>
> My Home Page <http://users.vnet.net/heafnerj/>
> I can't handle Microsoft attachments.
>
>
> _______________________________________________
> Visualpython-users mailing list
> Vis...@li...
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
|