On 1/14/2014 3:42 PM, Edward K. Ream wrote:
On Sun, Jan 5, 2014 at 12:28 PM, gatesphere <[email protected]
<mailto:[email protected]>> wrote:
On 1/5/2014 1:23 PM, Fidel N wrote:
Hey:
Anyone knows how to make Leo run a node-script automatically
when the file is opened?
--
Make an @script node, and make sure '@bool
scripting-at-script-nodes = True' is set in myLeoSettings.leo. Be
careful, it's dangerous if you're opening .leo files from others.
It's *suicidal* if you open a .leo file from somebody you don't know.
Edward
Makes me wonder... does mod_scripting only respect that setting from
myLeoSettings.leo, or does it also listen to local (per-.leo file)
settings? Because if that's the case... this is a huge security risk.
Imagine a .leo with a malicious @script **and** @bool
scripting-at-script-nodes = True. Chaos... the only true way to look it
at is in an external editor, or a no-plugins-loaded version of Leo.
-->Jake
--
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.
For more options, visit https://groups.google.com/groups/opt_out.