Just like in this tool, only natively in high performance. Or at least a heavy speedup of LUA
http://renoise.com/tools/gui-automation-recorder
See how it drops performance if there are more than 6 automated parameters per device.
Or any idea how to speed this tool up?