How to choose different menu item depending which one has a tick/check-mark

Hi there

I want to write a macro which toggles between two menu items depending on which one is ticked:

39

In the example I want to toggle between Preview and Source. So when Preview is ticked I want to call Source and vice versa.

Unfortunately both entries are constantly available (so I cannot check for one beeing greyed out). - Is there a way to check whether a menu item has a check-mark/tick next to it?

Yup, that's what the "marked" menu condition is for:

38%20PM

3 Likes

Thanks Gabe. Thats exactly what I was looking for!

1 Like