Thanks again. Super impressed with the community here.
--
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 g
On Fri, 31 Jul 2015 10:53:29 -0700 (PDT)
Tim Fuller wrote:
> Thanks everybody, I got it working. Starting to wrap my head around
> how all this works. I appreciate all the help.
Good. Although working out how to code these things yourself is far
more valuable than using plugins :-) I'll just
Thanks everybody, I got it working. Starting to wrap my head around how
all this works. I appreciate all the help.
On Friday, July 31, 2015 at 10:04:36 AM UTC-4, Tim Fuller wrote:
>
> Hello All,
>
> I've recently discovered Leo and really loving it. I am trying to get
> into the scripting but
On Fri, 31 Jul 2015 09:01:15 -0700 (PDT)
Tim Fuller wrote:
> p.moveToLastChildOf(ActionItems)
p.moveToLastChildOf(g.findNodeAnywhere(c, 'ActionItems'))
is probably what you want. 'ActionItems' is a str(ing) literal, whereas
ActionItems is an undefined variable.
Cheers -Terry
--
You receive
Try this:
p = c.p.clone()
dest = g.findNodeAnywhere(c,'ActionItems')
p.moveToLastChildOf(dest)
c.redraw()
---
moveToLastChildOf is expecting a position, not a name. :)
Hope this helps,
-->Jake
On 7/31/2015 12:01 PM, Tim Fuller wrote:
Thank you very much for the quick reply. I'm feeling q
Thank you very much for the quick reply. I'm feeling quite dumb right now
as I'm still unable to get this to work. I have the following script:
p = c.p.clone()
p.moveToLastChildOf(ActionItems)
c.redraw()
But it only pastes the clone directly underneath the current. I get an
error in the l
On Friday, July 31, 2015 at 9:04:36 AM UTC-5, Tim Fuller wrote:
>
>
> I am trying to get into the scripting but I'm having trouble doing a
> simple operation. Could someone please help me out or point me to the
> documentation that would lead to the answer?
>
http://leoeditor.com/cheatsheet.ht
On Fri, Jul 31, 2015 at 8:58 AM, Tim Fuller wrote:
> Hello All,
>
> I've recently discovered Leo and really loving it. I am trying to get
> into the scripting but I'm having trouble doing a simple operation. Could
> someone please help me out or point me to the documentation that would lead
> t
Hello All,
I've recently discovered Leo and really loving it. I am trying to get into
the scripting but I'm having trouble doing a simple operation. Could
someone please help me out or point me to the documentation that would lead
to the answer?
I'm wanting to write a simple script that woul