Trigger on keyboard layout?

Hey there,

I am trying to create a macro which which will automatically swap Z and Y keys, once the specific keyboard layout is selected (Croatian).

I don't see that option in the trigger settings, and keyboard layout can only be set AFTER the trigger (cant be the trigger itself).

Thanks for help
Pavo

Correct, there is no trigger for keyboard layout.

Also, Keyboard Maestro really isn't the right tool for swapping keys, you're better off to use a low level tool like Karabiner.