If statement based on a layout
Is it possible to have an If statement based on a layout?
I need a keyboard shortcut to be the same, but perform differently based on whatever layout the user is on.
For instance, I want Ctrl F to be a Find script for the entire runtime, but the script is slightly different based on the layout.
Can this be done? How is it done?