Directly - no. You'll have to hack into the keyboard preferences file to add arguments, but doing so would be risking corruption as those files are really finicky, and even if you don't corrupt the file, chances of getting the functionality you want are pretty low.
Your primary option is to write a self installing command with several wrapper functions, exposed as registered commands, containing fixed argument lists matching what you want. Users map their hotkeys to call the wrappers. When the wrappers are called, they call the main plugin with their fixed argument lists. The main plugin is the brains that does the usual validation and error checking. If the main plugin is a native Softimage command, then you only write the wrappers in your self installing plugin. Matt Date: Wed, 6 Sep 2017 13:32:06 +0900 From: Martin Yara <furik...@gmail.com> Subject: add command to hotkey To: "softimage@listproc.autodesk.com" Hi, this may be a pretty basic question but is it possible to add a Command with arguments to a hotkey ? Like: command ( "arg1", "arg2") Or do I have to create a custom command for every combination if I want to make them "hotkeyable" ? Thanks Martin ------ Softimage Mailing List. To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with "unsubscribe" in the subject, and reply to confirm.