Excellent, that did it.  Thanks, Edward

On Oct 25, 12:02 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:
> On Sat, Oct 25, 2008 at 9:59 AM, drmikecrowe <[EMAIL PROTECTED]> wrote:
> > I've been trying to create a button or node which can call commands in
> > Windows.  I've tried @run, @produce, etc, but can't seem to figure out
> > what's wrong.
>
> > Is there something I'm missing?  For instance, I'm trying:
>
> > @run "C:\\Program Files\\TortoiseHg\hgtk.exe" commit
>
> Put the script you want in the body of a node whose headline is @button <a 
> name>
>
> I just tested this:
>
> @button dir  (the headline)
>
> import os
> os.system("dir")
>
> You must be running Leo in a console window to see the output.
>
> Edward
--~--~---------~--~----~------------~-------~--~----~
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