[tode_st] disable "doIt on save" in the script editor?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[tode_st] disable "doIt on save" in the script editor?

Paul DeBruicker
Hi Dale,


Sometimes when I'm making a script I don't want it to run when I save it. Can I disable that?

I mean

tode 1 > touch st myScript
tode 1 > edit myScript


....  add some code to myScript ....


save it, and the code runs.  


I'd like to prevent it from running on save.  


Thanks

Paul

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [tode_st] disable "doIt on save" in the script editor?

Dale Henrichs-3
Paul,

Yeah .... that seems to be sorta fundamental to the way the .st scripts
were implemented ... I would say that you should use an `sh` script:

   touch sh myScript
   edit myScript

you get the same functionality as a .st script with the added bonus of
being able to pass command-line arguments into the script and having
help text so that you can document the script and remind yourself how to
run it ...

Dale

On 03/08/2018 11:23 AM, PAUL DEBRUICKER wrote:

> Hi Dale,
>
>
> Sometimes when I'm making a script I don't want it to run when I save it. Can I disable that?
>
> I mean
>
> tode 1 > touch st myScript
> tode 1 > edit myScript
>
>
> ....  add some code to myScript ....
>
>
> save it, and the code runs.
>
>
> I'd like to prevent it from running on save.
>
>
> Thanks
>
> Paul
>

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.