Change the part of the batch play code from dontDisplay to display. It seems to work the same as changing DialogModes.NO to DialogModes.ALL from the AM code.
So here is my function from Alchemist (but modified to be only the descriptor). Yours may look a little different depending on how you are using batchPlay to run.
The one I posted will enter the sizes but also show the dialog so the user can change it if they want. You don’t need to do it that way. Just record how you want to do it and change dontDisplay to display and it will show the dialog. I’m guessing if you just delete the width and height keys from the descriptor then it will show the dialog without making any initial changes to the dimensions (haven’t tried it though).
@ddbell I have just returned to your example for showing the image Size Dialog because I have noticed that the Constrain proprortions part of the dialog is not enabled.
I have looked again at the above AM code and can see the option is in there but I just cannot figure out how to add it to the code example you gave.
Record it in Alchemist. When recording change the width or height in the UI so it resizes it to something,… or else there is nothing to record. Also have constrain proportions on before hitting apply. Then it will then record the constrain proportions in Alchemist along with the width or height. Then just remove the width/height keys from the descriptor and leave in the constrain proportions key.