Ok, so i am reading about scripting but its way too complicated for me (my english is bad and that is not helping).
i already learned to make some macros and its wonderful!!
But what i need is:
For example the “use tablet” button: a toggle button wich is too largue.
So i made a macro wich disables it:
//ZBRUSH MACRO - Recorded in ZBrush version 4.8
[IButton,???,“Press to run this macro. Macros can be aborted by pressing the ëescí key.”,
[IShowActions,0]
[IConfig,4.8]
[IUnPress,Preferences:Tablet:Use Tablet]
]
It disables it, but i does not enables it. So i suppose i must make a check with “IF”, too see its state, and then enable or disable it as needed?
I am not sure how to do this (im reading about “if” and “else” but cant figure it out.
More on that, is it possible to change the color? so i know when the button is pressed or not?
Thank you!
If the is a resource you think can help me, please share the link and ill try