Quote:
Originally Posted by Airal
Very cool! Is there any way to have a default script run at startup? I could probably modify the code, but probably better for it to be done by the repository.
|
Not currently. For now you might be interested with the `.` (dot) command which re-runs the previous code or the up/down arrows which navigate in the code history (TODO: save the history to file so it's not lost on the next startup).
Quote:
Originally Posted by Airal
Is there still a gfx issue? I assume the problem is due to the script itself using the gfx?
|
Yes, until REAPER allows a single script to open multiple windows using gfx.
Quote:
Originally Posted by Airal
There seems to be some bugs in the script. When I execute the script in reaper it works fine but when I execute it in repl it fails iwth
attempt to compare nil with number.
I am simply trying to execute `reaper.CountTracks(0)`
|
Perhaps the script you are loading is defining and using some local variables? If so, Lua erases those after the evaluation. This would explain the nil.