Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import bpy
- wm = bpy.context.window_manager
- if True:
- km = wm.keyconfigs.default.keymaps['Console']
- new_shortcut = km.keymap_items.new('console.do_action', 'RET', 'PRESS', ctrl=True)
- print('complete')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement