I made a few interesting additions to PSThar today. The first order of business was to make the scripts execute on a different thread so they could be stopped if they ran long or got into an infinite loop. While a script is running, the Run Script button changes into Stop Script and the other controls are disabled.
Since users probably wouldn't appreciate getting a deluge of single-tile undo entries from a single script, I made PSThar inspect the undo stack and roll up the actions caused by the script into a single entry that can be undone and redone with a single keystroke.
Finally, I wrote a Get-Level cmdlet that gets level wrappers by ID or name, or just gets them all if no parameters are specified.
No comments:
Post a Comment