If you enter “0” in the “activationFlags” of the .action file, the shortcut will work for all layers.
The following topic is helpful