0
$\begingroup$

An addon I installed has a button in the interface with an associated function, and the button doesn't have a hotkey. When I hover over the button, there's a python tooltip with the function, something like "bpy.ops.addonName.functionName(arguments)"

How do I add a new custom hotkey that mimics a press of that button, running the associated function and arguments, through the keymap editor in Blender settings?

$\endgroup$
1
2
$\begingroup$

Right click on the button, and use "assign shortcut":

enter image description here

It will be saved in your settings and available for the next sessions.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.