On Mon, Feb 27, 2017 at 10:30 AM, Largo84 <[email protected]> wrote:
>
> Excellent! Now, still wondering if there's a more 'Leonine' way to capture
> the node UNL such an alt-X command or keyboard shortcut. Just curious, how
> do you typically do that?
>
Use p.get_UNL(), in an @command or @button node. Here are some tested
examples:
g.es(p.get_UNL(with_proto=True))
yields:
unl://C:\Users\edreamleo\ekr.leo#@button%20get_UNL:8
Setting with_proto=False (the default) gives:
C:\Users\edreamleo\ekr.leo#@button get_UNL:8
Edward
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.