UIA-v2 UIAViewer contains a macro creator that also has a "Test" button, which will execute the code in the macro code edit by writing it to a temporary file and running it with the same AHK exe that the Viewer was started with (also hides UIAViewer for the time, and has a timeout of 30 seconds which if reached will kill the script).
This allows to quickly test out the created scripts. I haven't implemented it myself, because I'm still mostly developing UIA-v2 and don't have the time.
Perhaps you want to implement that feature in UIAViewer (if you have time)?
UIA-v2 UIAViewer contains a macro creator that also has a "Test" button, which will execute the code in the macro code edit by writing it to a temporary file and running it with the same AHK exe that the Viewer was started with (also hides UIAViewer for the time, and has a timeout of 30 seconds which if reached will kill the script). This allows to quickly test out the created scripts. I haven't implemented it myself, because I'm still mostly developing UIA-v2 and don't have the time.
Perhaps you want to implement that feature in UIAViewer (if you have time)?