2013/4/1 Terry Brown <[email protected]>

> c.p, as you amended, yes.  I don't even know how to work out the p for
> the script the node lives in, when running from a button, but of course
> if you really need to run a script on itself, you can just use
> run-script, ctrl-b.  Or click a button you've created with
> script-button when the script's node is selected, but obviously running
> a script on itself if an unusual case.
>

:-) this looks like an interesting excercise for me to perform. The GUI
'knows' which node a button points to, so knowing the button's object (pyqt
or similar?) that launched the script, should -by linked chaning-, render
the original script's node, when needed of course :-) which seems a rare
case. I can imagine f.i., an application, which would copy the source of
the script into a new node, with some modifications in it.

best,

h

-- 
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 http://groups.google.com/group/leo-editor?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to