Hotkey "popup" message

14 views
Skip to first unread message

likage

unread,
Oct 31, 2019, 12:40:18 PM10/31/19
to Python Programming for Autodesk Maya
Hi everyone,

I am wondering if there is a cmds command or something, where when you hit a certain hotkeys, this "popup" message will be shown on the viewport?

Eg. If you press Ctrl+M, the popup menu - "The top menu bar is now hidden. Press Ctrl+m to show it"

Justin Israel

unread,
Oct 31, 2019, 2:07:11 PM10/31/19
to python_in...@googlegroups.com
As far as I know, you need to combine a named
Command 


with a hotkey definition 


The source of your nameCommand can do whatever you want. 

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/2c4c3d89-34cf-42ac-8391-938585e180ed%40googlegroups.com.

vt...@redefine.co

unread,
Oct 31, 2019, 2:08:13 PM10/31/19
to Python Programming for Autodesk Maya
how about creating a shortcut for a given runtime command ? Using the hotkey editor I mean
And if you want to bind an action to a shortcut not available via maya hotkey editor, like ` (backquote), you can still attach a QAction onto it in your userSetup.py
Reply all
Reply to author
Forward
0 new messages