Thanks Jacob, your answer pointed me to the command I needed: exec(g.getScript(c,p.next()))
On Tuesday, September 24, 2013 1:10:47 PM UTC+2, Fidel N wrote: > > Hi everyone: > What I would like to do is, say we have two siblings, A and B, and C is a > child of B > > A > B > + C > > The bodies are: > > B: > @others > C: > g.es("works") > > > How can I call B (same as if I was doing control+b) from A? > I have tried using this as A's body: > c.executeScript(c.p.next()) > > But somehow I end up in a loop. > Thanks! > -- 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/groups/opt_out.