On Mon, 10 Nov 2014 13:36:44 -0600 Kent Tenney <kten...@gmail.com> wrote:
> I'm afraid I don't know how this is used, if I put the > whole thing in a node and <ctl-b> it's available, but > it looks like it should be active automatically if in > a @commands tree in myLeoSettings.leo, but I've > not had success. > > If that's true, what is the headline, what is the body? Hmm, I deploy it as @script text here where it doesn't really matter what `text here` is, although nothing may not work. Why do I use @script and not @command.... not sure, a reason I've forgotten maybe. Perhaps no longer valid. To try deploying it as a command you'd have to remove the 'def add_note(args):' and outdent the rest to left margin and call the node `@command x`. Cheers -Terry > Thanks, > Kent > > > On Mon, Nov 10, 2014 at 12:57 PM, Edward K. Ream > <edream...@gmail.com> wrote: > > > > > > On Mon, Nov 10, 2014 at 11:36 AM, 'Terry Brown' via leo-editor > > <leo-editor@googlegroups.com> wrote: > > > >> > >> > Terry, could you add this script to scripts.leo? There is a > >> > top-level node for such things, with a child for your scripts:: > >> > > >> > Recently contributed/modified scripts > >> > >> > >> https://github.com/leo-editor/leo-editor/commit/ed239f8fddc032e1b6e8fe2cdc30bdfc2aac8828 > > > > > > Thanks, Terry. > > > > EKR > > > > -- > > 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 leo-editor+unsubscr...@googlegroups.com. > > To post to this group, send email to leo-editor@googlegroups.com. > > Visit this group at http://groups.google.com/group/leo-editor. > > For more options, visit https://groups.google.com/d/optout. > -- 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 leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.