DesktopX: Making a Vista Sidebar Gadget

Tuesday, July 22, 2008 by Island Dog | Discussion: OS Customization

DesktopX 3.5 was released recently, and one of the biggest feature updates is the ability to export your DX creations as a Vista sidebar gadget.  Creating a gadget for the Vista sidebar isn’t the easiest thing to do, and it has limitations that DesktopX can easily overcome.  DesktopX is a very powerful application which can create a wide variety of mini-applications for your desktop.  These can range from simple weather gadgets, on up to very complex applications with multiple functions all that can be wrapped in custom graphics. 

The gadgets that can be created with DesktopX can be scripted with many languages including C++, which allows an almost endless amount of possibilities.  Now if you aren’t big on scripting, don’t be too intimidated, as you can still create some great gadgets with the included plugins, or by going through the huge amount of documentation/tutorials provided by Stardock.  You can also find more tutorials written by experienced community members which can be found at the WinCustomize Wiki.

I have created quite a few DesktopX widgets over the last few years, and although I am not a coder, I was able to create some really cool and useful widgets.  I’m going to take you on a walkthrough on how to create a desktop widget, and turn it into a Vista sidebar gadget using DesktopX Pro 3.5.  I’m going to break apart the Election Countdown gadget I made, which will make a perfect example for today’s guide.

Since I am somewhat of a political junkie, I wanted a simple countdown gadget that would tell me how many days left until the 2008 election.  Remember, this is just the example I’m using today, the process for creating the sidebar gadget will work the same for whatever type of gadget you create.

First step is creating the basic graphic resources for my project.  This of course will vary depending on what type of gadget you are creating, but since mine is a simple countdown, I really just needed a single image which will have space for the countdown numbering.

desktopx_gadget_guide_01 

Once my graphics are complete I fire up the DesktopX Builder and click the button to create a new desktop object.  This will serve as the base of my countdown gadget.

desktopx_gadget_guide_02

From the properties window I can set my graphic resources, and create a new script which will control the actual countdown.

desktopx_gadget_guide_03

Once my countdown script is set and applied, I can move on to tweaking the font that will be used to display the number of days remaining according to my countdown.  You can also adjust colors, add shadows, and many more options in this area.

desktopx_gadget_guide_04

I check to make sure all my graphics are looking good, and I can then right-click and group all my objects so that they will behave like one object, but keep the functionality of the different layers I have applied.  Now would be a good time to give your gadget a test.  If all is working correctly, right-click again and select Export.

desktopx_gadget_guide_05

From here you will begin the process of exporting your desktop object into a Vista sidebar gadget.  If you are using DesktopX Pro you can check the setting to export as a stand-alone gadget, so that users won’t have to have DesktopX installed to use it.  You will also be given the options to enter information like author information, description, etc. 

desktopx_gadget_guide_06 desktopx_gadget_guide_07 desktopx_gadget_guide_08

After all that, just set your output, click finish, and your gadget should be created.

desktopx_gadget_guide_09

Just double-click to install the gadget file, and you should now have your gadget occupying the Vista sidebar.

desktopx_gadget_guide_10

For more information about DesktopX, visit www.desktopx.net.

ZubaZ
Reply #1 Tuesday, July 22, 2008 4:57 PM
Nice tutorial ID.
Just so I am clear, If I have X PRo I can export Vista Sidebar gadgets that don't need DX installed . . but . . If I have DX Standard, my Vista Sidebar Gadgets won't run unless the user has DX installed?
Island Dog
Reply #2 Thursday, July 24, 2008 7:42 AM

Just so I am clear, If I have X PRo I can export Vista Sidebar gadgets that don't need DX installed . . but . . If I have DX Standard, my Vista Sidebar Gadgets won't run unless the user has DX installed?

Yes

Vad_M
Reply #3 Thursday, July 24, 2008 9:08 AM
Hi Friends,

this is really good ability that considerably expands DesktopX using. And all of us, members of Wincustomize community, will use it with a big pleasure.    But... There are a big problem with such gadgets in the other places. I'm sure you must know this!

Please look here and read what other people think: WWW Link I began this testing at 11/11/2007 (with DX 3.49 [RC]) and continued it after update to DX 3.5.

You may see that any people which know nothing about Stardock products and have never used them think that gadget contains harmful hidden software (seems this about XGFRuntimeServer). As a result we can't make a stand alone sidebar gadgets to distribute them outside of WC because the future users will beat our faces...  ( 

I don't know about Stadock's final goal for DesktopX. However I think that this problem (and several other problems) must be corrected if they want a Great Future for this Great Software. And if you need any help in DX testing and (or) searching for bugs I'm always ready to do this.

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!



web-wc01