Is it possible to run external scripts (e.g. on button events) in the Grid Editor?
This might work something like this:
- I create a script
~/grid-scripts/my-script.ts - In the Grid Editor I specify a terminal command to execute, e.g.
node ~/grid-scripts/my-script.ts
It would be great if there was a way to pass on some context from the grid unit to the script (e.g. the value of the press event [0..127]) (maybe via string replacement), e.g.:
node ~/grid-scripts/my-script.ts %self.button_value()%In addition to that it would be great if the error stream of the script was captured in the grid editor for debugging. So if the script produces an error it would be easy to debug it.
