PDA

View Full Version : dividers



casey33
02-15-07, 06:05 PM
hi, guys/gals!

could someone please tell me how i can set up a hotkey or script that would toggle the dividers to open/closed?

i would really appreciate it.

marcus_civis
02-16-07, 01:08 AM
That is easy enough:



[IConfig,2]

[ISubPalette,"ZPlugin:Misc Utilities"]

[IButton,"ZPlugin:Misc Utilities:Left Div","Toggle Left Divider Open/Close",
[IShowActions,0]//Temporarily switches of ShowActions
[IClick,1000]
,,76 //button width
,'j']//Hotkey



[IButton,"ZPlugin:Misc Utilities:Right Div","Toggle Right Divider Open/Close",
[IShowActions,0]
[IClick,1001]
,,76
,'k']//Hotkey

You can change the hotkey code to whatever you want but make sure that you avoid conflicts. /*Don't miss the ' ' around the hotkey letter. For modifier keys put CTRL + 'k' or SHIFT + 'k' and so on*/
Alternatively you can change the hotkeys after installation by using the Hotkey Editor.

Save the above code as a TXT file to your ZSTartup\ZPlugs folder (you may need to create the ZPlugs folder if you have a new installation of ZBrush). Load the TXT file using the ZScripts:LOad button. Your hotkeys will then be available every time you start ZBrush.

casey33
02-16-07, 03:07 PM
awesome, thanks for this code!

casey