ikoon Posted May 25, 2016 Share Posted May 25, 2016 Please. For example, can I have a hotkey to rename the selected node in the Network view? Or is it possible to assign a hotkey to the “New Folder” button somehow? How do you "Cancel" dialogs, please? ESC works only at certain dialogs. Maybe by using something from here?http://www.sidefx.com/docs/hdk15.0/_h_d_k__u_i_intro.html Btw is it possible to use the default system (windows) Save/Open dialog? I am running windows 8.1 and Houdini Version 15.0.244.16 Quote Link to comment Share on other sites More sharing options...
Fake Pilot Posted January 17, 2017 Share Posted January 17, 2017 (edited) There is a lack of a hotkeys doing this at the moment. I was bugged down by the fact, that I keep renaming nodes all the time and so it becomes time consuming moving mouse, double clicking on the name, typing, then hitting enter. Are you familiar with AutoHotKey? If you install it, and put an startup.ahk file in your Windows Startup folder (C:\Users\[You]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup), then it will run automatically on restart. Here is the code, that makes the F2 button into a rename nodes button: #IfWinActive, ahk_exe hindie.exe renaming := false $F2:: ; // A toggle for renaming with F2 button renaming := true send +T sleep 10 send {Enter} return $Enter:: ; // Hitting the Enter key while in renaming mode, will trigger you to go back with Shift T hotkey if(renaming) { send {Enter} sleep 10 send +T renaming := false return } else { send {Enter} return } #IfWinActive Basically, when you hit F2 and have a node selected, the script switches you into the List View with the hotkey Shift + T and hits enter. That puts you into "renaming" mode, witch switches the functionality of the Enter key. When in this mode, the Enter key also sends Shift + T to get you out of List view and out of the "renaming" mode, so the Enter key functions normally again. Enjoy! :-D Edited January 17, 2017 by Fake Pilot 1 Quote Link to comment Share on other sites More sharing options...
ikoon Posted January 17, 2017 Author Share Posted January 17, 2017 Great job and also great idea. Thank you very much. AHK is great, I am using it to hotkey swapping between monitors (wacom) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.