Gadget Systray Icons
Wednesday, December 14, 2005 by Sranshaft | Discussion: DesktopX
If anyone can respond to this question I'd be most appreciative. Though whether anyone does or not...still trying to get help using ConnectObject which doesn't seem to work either though the script is correct. DesktopX keeps spitting back garbage at me.
Reply #2 Wednesday, December 14, 2005 4:47 PM
See: Link for a better explanation.
As for setting the individual aspects of the font according to the *cough* documentation it apparently is possible, I think. Like I said before I feel the manual, at least the scripting part of it, should be rewritten with clear and consise information.
| Object.FontName, Object.FontSize, Object.FontBold, Object.FontItalic, Object.FontUnderline, Object.FontStrikeout also Object.States("name").FontName, Object.States("name").FontSize, Object.States("name").FontBold, Object.States("name").FontItalic, Object.States("name").FontUnderline, Object.States("name").FontStrikeout Let you get/set individual font options. |
The last sentence states that you can and yet DesktopX says it's a No-no...
I haven't seen anything documented either and if this isn't possible now, it should be in the next version. This would open even more options and I can already think a couple ideas where this would be excellent (weather gadget that changes the tray icon to reflect the weather, album cover art, wallpaper changer, etc...)
Thanks for your response though Thomassen. Finally someone's answered (sort of) my questions.
Reply #3 Wednesday, December 14, 2005 8:33 PM

Reply #4 Wednesday, December 14, 2005 8:36 PM
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Wednesday, December 14, 2005 8:54 AM
for the Font, the reason why your code does work is because there is no SetFontName.
The syntax is:
Object.SetFont fontName, size, boolBold, boolItalic, boolUnderline, boolStrikeOut, lfCharSet
You can leave the last parameter = 0
Unfortunately there is not way to set each font property individually, you can only read them individually. Hopefully this will change in a future update as it's a bit awkward.
"ConnectObject"? NOt sure what you are refering to there....