View Full Version : Set new hotkey assignments
Does any one know if it is possible to set up new hot key assignments through script? I want to replace the save functions with my own.
12-20-2007, 03:24 PM
When I first read this I thought you were asking about the Devil's button "Toggle Keyboard Shortcut overrides"...but you weren't.
12-21-2007, 02:37 AM
is it possible to control the text inside a file using only maxscript.. ?
·saving your current keyboard file(backup)
·creating an empty "temp.kbd" file and loading it into max will empty all the keyboard shortcuts
·then assgning a keyboard shortcut to an Action
·and then saving it to "temp.kbd" will do something like :
0=3 88 40006 0
1=11 88 40006 0
2=3 87 40006 0
3=7 88 40006 0
4=7 87 40006 0
this seems to be a list for the "save file" command(40006) in the special category(0) and using the keyboard shortcut :
3 88 = "X"
11 88 = "CTRL + X"
3 87 = "W"
7 88 = "SHIFT + X"
it seems that 7 means SHIFT,11 = CTRL and 3 is for simple characters like "W" or "X"
if it is possible, then saving the current .kbd file to a temp.kbd, modifying it and realoading it, would let you change the keyboards, and if max crashes maxstart.kbd would be loaded
this is just an idea, because it seems not possible.
THanks, that just doesn't seam like a good way to go about it. It might work but it is far more work to do then I want.
You managed to make more of it then I did that is for sure. I wish that all the user prefs were stored in an xml file instead of the mess that they use.
12-21-2007, 12:28 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.