Changing font, font color in script

Is there a way to change the text font, font color and font size in script?  I have tried:

DesktopX.Object("Obj to change").font="font to use"
DesktopX.Object("Obj to change").font.color=RGB(25,50,75)
DesktopX.Object("Obj to change").color=RGB(25,50,75)

All I get is an error and frequent DX Builder crashes

Thanks
3,520 views 2 replies
Reply #1 Top
Object.textcolor = RGB(25,50,75)

Object.Setfont "Courier",12,0,0,0,0,0


Syntax for Set font:
Object.SetFont fontName, size, boolBold, boolItalic, boolUnderline, boolStrikeOut, lfCharSet

See Developer's guide: WWW Link   
Reply #2 Top
Thanks for the link. I searched all over Stardock Developers Guide and could not find that link. The closest I seemed to be able to get was:SD Link and it really didn't help much. Now I see more detailed links under the Resources tab.