The problem isn’t getting a return result from os.exectue(). The problem is that os.execute() waits for a launched process to finish. By launching something like oogenc, this is sure to trigger the wrath of Renoise’s “This script is taking too long, do you want me to abort?” message.
Right now I get around this by launching an app (open or start) that returns done after launching another app. This way the timeout doesn’t happen. Minus vV’s ideas, I can’t see a way of chaining two of these together.
Perhaps we would need an extra parameter in the os.execute() routine that allows processing in the background?
if not os.execute("tool_to_execute",renoise.RUN_IN_BACKGROUND).observable:has_notifier(tool_results) then
os.execute("tool_to_execute",renoise.RUN_IN_BACKGROUND).observable:add_notifier(tool_results)
end
function tool_results(result_code)
if result_code = 1 then
print('something went wrong')
end
end
Thanks for the tool. It doesn’t seem to work though. I’m getting a 404 page after clicking “Connect” button. I’m guessing that it could be Soundcloud redesign mucking with it though? I would give you a screenshot, except I think you know what MSIE windows look like when they generate 404’s
This tool doesn’t seem to be working any longer. It opens a browser window which opens a soundcloud page. The page says I’m using too old version of soundcloud. So I try to hit update, but nothing happens. I assumed it was windows IE browser it was using so I updated soundcloud in IE but it would still not work.
This would be very usefull for me. I use Renoise 3.2 on windows 10
When i try to use the tool i get a Soundlocud Popup that is just white and empty. Its title is “Share songname on soundcloud” and i assumed id have to type in my password but its just empty.