Condition when more than one window of the app is open

Hi there,

I want a macro in the Preview App to only run the "Merge All Windows" command when more than one window is open in the Preview App. How can I express this condition?

Thanks for any help

You need to test to see if the merge command is available like this:

KM 0 2022-02-08_11-39-07

1 Like

Hi,

that works perfect. Thanks buddy :+1:t3:

1 Like