Using a script widget

In my journey of really trying to understand o-s-c a bit more deeply, I just looked at this Script widget behavior and I have a couple of questions.

I have a button and a script widget. In the script widget I have:

image

So far I know of the following ways to fire the script in the script widget when I hit the button

  1. Link the button and script using linkId
  2. Use the same address in both widgets so the script will fire on the incoming osc data
  3. use an OSC{} listener in the value of the script (basically the same as #2)

Are there any other ways (other than using a custom module) or is that it?

Is there any way to make the following actually execute the script?

image (this is in a button)

something like:

execute(getProp('script_1','script'))
run (getProp('script_1','script'))

Could be nice? Not sure. Just ideas.

If the script's event is set to value then it will execute only when it receives a value from a message or from a widget ("receiving messages" and "widget synchronization"
@ General mechanics - Open Stage Control)

You could use the javascript function eval() to evaluate another widget's script but it will be executed as if it where coming from the script calling eval.