Create a custom panel button and Edit it.
Name the button something like: "Brush: Toggle Drying"
Set the first action entry to: "Embedded George Script"
Paste the following code in.
Code: Select all
PARAM NONE
tv_getactivetool
PARSE Result curTool toolArgs
dryVal = 0
WHILE (LEN(toolArgs) > 1)
PARSE toolArgs curArg curParam toolArgs
IF (CMP(curArg, "dry"))
IF (curParam == 0)
dryVal = 1
ELSE
dryVal = 0
END
tv_Cmd curTool Dry DryVal
END
END