i create a @button  node ,  and write some python script.  for example

```
n = c.find_h("some_node")[0]
open("xxx.md","wb").write(c.b.encode("utf-8"))
```

now i can click button to execute above script. 

But how can i config sth to automatically execute the scripte   when i save 
(ctrl+s)  the leo file. 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/8db7c327-db46-421c-afb7-19033231be33n%40googlegroups.com.

Reply via email to