check caps lock or num lock on

I there a way to check the caps or num status in a condition (in a defined keyboard)?

Use javascript or apple script for the check, which script can then change a variable which you can use a condition.

6.308 alpha adds a new variable "currently_active_modifier_keys" that can contain capslock and numlock:

You can use it in if conditions

Great, it works just fine!
thank you so much Andreas :grin: