Forum Discussion

SLibernard's avatar
SLibernard
Occasional Contributor
8 years ago
Solved

How to do operations in the MS Windows OS's colorbox

I am writing a script to select color for a traingle, and when I click the color button, it appears the color box like this, it seems like the default color box of MS Windows OS, Someone could t...
  • HKosova's avatar
    8 years ago

    A simple workaround is to click "Define Custom Colors" and then enter the R G B values.

     

    Check the sample project <TC12 Samples>\Desktop\Hello\Scripts\Hello_VBScript, specifically the SetColor function. You can copy-paste it to your project, replacing the object references with the corresponding object names in your tested app.