No consistent way to control undo/redo of script execution
In a UXP plugin, there is no consistent way to control the undo/redo stack.
The closest we have is through app.doScript
, but this is fraught with many issues.
- When you run an async UXPScript (most would be, if working with files), the undo mode is ignored.
- You can run extendscript, but as we are trying to move away from that I would like a uxp supported solution. In general, we have run into issue after issue with
app.doScript
using extendscript.
Ideally, you would fix item 1 and also some of the surrounding issues with UXP script execution (no way to wait for result? documentation seems to be incorrect as well).
1
vote