List Info

Thread: scripting example question




scripting example question
user name
2006-07-05 02:27:55
hi,
     I'm using wingide 2.1.0-1 and I'm trying to follow the scripting example from the Wing IDE Reference Manual. (section 7.0)   I'm sure I am just missing something simple.  I hope someone can help. ;
     I place the test.py file in the proper place, (C:\Documents and Settings\myuser\Application Data\Wing IDE 2\scripts or C:\Program Files\Wing IDE 2.1\scripts?) pick edit->reload all scripts then, the instructions say to execute the script by typing Escape followed by X again and then test-script.
     It doesn't seem to do anything when I am editing a .py file in wingide and type esc-x test-script.  Do I have to type this when another tool window is selected?

thanks,
Andy

scripting example question
user name
2006-07-05 14:52:54
Andrew Webster wrote:
>     I place the test.py file in the proper place,
(C:\Documents and
> Settings\myuser\Application Data\Wing IDE 2\scripts
or C:\Program 
> Files\Wing
> IDE 2.1\scripts?) pick edit->reload all scripts
then, the instructions say
> to execute the script by typing Escape followed by X
again and then
> test-script.

Try using ctrl-F12 to bring up the entry to enter the script
name (ESC-x 
still works in emacs mode, but not in other modes).  The
cursor should 
be transferred to an entry on the status bar when you press
ctrl-F12. 
This will be changed in the manual.

The script file should go into any directory listed in the
scripting 
search path preference.

Cheers,

John
_________________________________________________
Wing IDE users list
http://wingware.com
/lists/wingide
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )