Hi all,
So I was working on a larger reascript in lua on mac and it was working when I saved from the ReaScript IDE but not when i hit run on the script in the actions window.
After some debugging it turned out the script fails when it has a function call.
I stripped back to a super basic example to test as follows:
Code:
function main()
show_popup()
end
function show_popup()
reaper.ShowMessageBox("Popup from a function!", "Function Test", 0)
end
main()
As I mentioned it runs when i save in the ReaScript editor window, but nothing happens when i hit run on the script in the action window... WTF?!
Does anyone have any idea what's going on, I'm stumped and stuck until I resolve this.