Question
doScript is async. How do I pass an object?
I need to call a function in my script and afterwards undo, what it has done. I can do this with
app.doScript(fn)
But how do I pass an object to this asnc function? Is a skript-global array of those objects the only way?
Or is there a synchronous way (that would be preferred) to call a function and then undo, what is has done?
