hey guys, please help me out on this one.
I wanted to create buttons for a touch pc (no keyboard on that one) to simulate alt, control and shift keyboard keys. These are the keys that as all of you know are essential for quick modeling work flow.
So i read about zscript on the zbrush wiki and tried to recreate an undo button as a proof of concept.
here is the script
[ISubPalette,“zplugin:buttons”]
[IButton
,“zplugin:buttons:UNDO”,“undo”,[IKeyPress,CTRL’z’]]
the button shows up but it doesn’t do what i wanted it to do which is undo stuff. It also doesn’t give an error message.
Does the ikeypress function work like this at all?
If not, Is there maybe a different way of simulating a button that I can push with a finger on my left hand (touchscreen) while drawing with a pen on the computer screen?