hot keys

I assigned hot keys to the “generate automate”, but for some reason they do not work. the function can still be activated only manually by calling from the menu. same situation with “apply to onion skin range”. why?