How may I trigger an external Maya MEL/PY command via commandPort using e.g. AutoHotkey (for use with Stream Deck)?

It’s not hard to trigger maya to do anything really from a commandport. I use that process, for example, to ‘send’ materials from Unreal to Maya.

Here’s some older notes I have that show setting up the commandport, then triggering it through an external python shell. So if you can get your steam deck to ping that port too, you should have a nice link.

http://mayamel.tiddlyspot.com/#[[Receiving%20commandPort%20data%20via%20Python]]

1 Like