Move Layer to Front through batch-play works differently in PS 23.4.1

Hi @Adam Great it worked! Yes I have added an await to the batch play. from my understanding is that Photoshop will try to run commands as fast as possible without waiting for other commends to finish special after a dialog box, create a mask or moving a layer become a promise that doesn’t get fulfilled hope this make sense. I think @DavideBarranca explained this concept very well in this video

1 Like

That’s very good explanation, thank you! I’ll have to edit dozens of functions now but at leas there is a light in the end of the tunnel :slight_smile:

My commands are all inside execModal() and all BPs are synchronous - no luck here :frowning:

Hmm, the issue seems to be with the filter dialog. It fails when I apply it but not when I cancel. I’ll log a ticket for investigation.

Yes, adding async/await does resolve the issue. I’d like to get a better handle on the situation and a better error for this type of situation.