On Fri, Nov 1, 2019, 5:40 AM likage <dissidia....@gmail.com> wrote:

> 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"
>

As far as I know, you need to combine a named
Command

http://help.autodesk.com/cloudhelp/2019/ENU/Maya-Tech-Docs/CommandsPython/nameCommand.html

with a hotkey definition

http://help.autodesk.com/cloudhelp/2019/ENU/Maya-Tech-Docs/CommandsPython/hotkey.html

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_maya+unsubscr...@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
> <https://groups.google.com/d/msgid/python_inside_maya/2c4c3d89-34cf-42ac-8391-938585e180ed%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2GgB0%2BgycFnUkTCTAs0S%2Bwnt0vkFF8qupyumSDsVj%3D9Q%40mail.gmail.com.

Reply via email to