3 Replies Latest reply on Jul 26, 2018 12:37 PM by Stella1251

    How to use a single undo to undo a script which contains multiple sub-actions.



      I had expected there to be lots of people asking this so that suggests that it's either very easy and I am being dumb or it's very hard and that's why no one is trying it.


      I would like to run a Javascript function in Photoshop which contains multiple sub-actions. The script runs fine but when I undo I have to undo once for each sub-action to get back to me original state.


      How do I run a script so that the entire script counts as a single undo?