Thanks  I wrote a script linked to a button to close and reload the
testing outline as so:

import os
import subprocess

python_leo= r'C:\Python26\python.exe  C:\leo-editor\launchLeo.py'

path1= r'Desktop-path'
file1= r'MyPluginTest.leo'

test_leo= os.path.join(path1,file1)

xcmd= python_leo  +  '  ' + test_leo

try:
    c.leo1.terminate()
except:
    pass

c.leo1= subprocess.Popen(xcmd)

Not elegant but works for me.   I could not figure out a way to
automatically save the MyPluginTest.leo file however.   If anyone has
a better script  I would  appreciate it. I vaguely recall a posting to
this list that gave a way to do something similar (save and reload
a .leo file)  but I can not find it now.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to