Can't be done natively. Scripts can't access the internet aside from using your browser to open a web page, and Lua scripts can't load libraries that aren't written in plain Lua.
Lua: you'd have to write a standalone script that CAN use LuaSocket and have it save to a text file. Then your Reaper script can run that one using os.execute and periodically check the text file for changes to get the results.
Python: The beyond.Reaper extension lets you access Python stuff outside Reaper somehow. I'm not familiar with Python, sadly.
|