On Fri, May 21, 2010 at 2:43 PM, brian <brian.down...@yakkadesign.com> wrote:

> Is there a way to have Leo run the script when I double click the
> node?  I'm thinking of something like the @url command.  I tried the
> @button but since I'm going to have a bunch of these I don't want
> buttons for each.

Use @command nodes if you don't want to see buttons.  Just like
@buttons, they create commands that can be executed from the
minibuffer, and you can bind keystrokes to them.

It may even be possible to create event handlers that respond to
headline clicks using one of the headkey family of events.  See:
http://webpages.charter.net/edreamleo/scripting.html#event-handlers
You will have to be careful to ensure that only one such event handler
gets registered.

Edward

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

Reply via email to