Hi I am trying to set custom hotkeys for rv based on the rvui.mu file, as in this snippet from the basic install rvui.mu file:
////////////////////////////////////////////////////
\: buildMainMenu (Menu; [MenuItem] userMenus = nil)
{
Menu mainMenu_part1 = {
{"File", Menu {
{"New Session", \: (void; Event ev) { newSession(nil); }, "control n", newSessionState},
{"Open...", addMovieOrImageSources(,true,false), "control o", nil},
///////////////////////////////////////////
I have tried several combinations of including a simplified rvui.mu in my user folder. But it is throwing all sorts of errors like this.
/usr/home/poconnell/.rv/Mu/rvui.mu, line 118, char 99: Unresolved reference to "newSessionState"
ERROR: while loading source module "/usr/home/poconnell/.rv/Mu/rvui.mu"
ERROR: attempted to reference unresolved symbol
/vol/weta/rv-3.10/Mu/rvwetaUTILS.mu, line 48, char 25: Unresolved function call to "cacheModeFunc"
Is there a simple way to add a keyboard shortcut to a menu item as you might in Nuke like so:
#########################################
t=nuke.toolbar("Nodes")
t.addCommand('3D/Scene', "nuke.createNode('Scene')", 'Ctrl+Alt+Shift+N')
########################################
Thanks
Pete
dotrvrc.mu
dotrvrc.py