How to change Background Text color in WB Options using scripting?
Rohith Patchigolla
Member, Moderator, Employee Posts: 178
✭✭✭✭
Is it possible to modify the text color (under WB --> Tools --> Options --> Appearance) using scripting?
Tagged:
0
Answers
-
One can use SetPreferenceValue() to change the text colour. One can paste the below scripts in WB Scripting console.
To change the colour to white:
SetPreferenceValue('GraphicsTextColor','0 0 0 0')To change it back to black:
SetPreferenceValue('GraphicsTextColor','255 255 255 255')0 -
@James Derrick or @Rohith Patchigolla Please make this post public instead of internal only.
1 -
@Landon Mitchell Kanner done.
2 -
For more information on SetPreferenceValue() see https://discuss.ansys.com/discussion/2863/how-can-i-set-workbench-wb-user-preferences-via-script/p1?new=1
1