Re: how to share @command functionality between nodes?

2016-02-05 Thread Jacob Peck
At the top of your @command node, you can do something like: eval(g.findTestScript(c,'@common code')) Where '@common code' is the name of a node somewhere in your outline. (Thanks to Edward for that one, 3 years ago now! Wow, hard to believe I've been using Leo that long...) -->Ja

how to share @command functionality between nodes?

2016-02-05 Thread jkn
I'm getting around to writing some useful @command scripts today, and I wondered about what is probably a faq: does the whole body of an @command script have to live within a single node? I have several commands which have common functionality, and I want to be able to do the equivalent of 'impo