UserDir \ AppData\Local\Microsoft\Wi ndows Sidebar\Gadgets\ Open a Windows Explorer and drill-down to locate the HelloGadget.html //- resizes the gadget display surface function DoInit() Hello World! Full Ībout the only place you might go wrong is misspelling the name of the HTML file in the Gadget.xml HelloGadget 1.0.0.0 Hello World Gadget. Open that folder and create two files in that folder. UserDir \ AppData\Local\Microsoft\Wi ndows Sidebar\Gadgets\ gadgetName.gadgetįollow these steps and you'll have a new gadget in a few minutes:Ĭreate a new folder on your desktop and name it Here's all you need to do to create your own gadget:ġ) Write an HTML page, say gadgetName.htmlĢ) Write a short XML file, named ( exactly) gadget.xmlģ) Copy these two files into a particular directory: How to Create a Gadget (the short version): There is no limit to the creative things you can do with gadgets. Like HTAs, they run with with full local-program privileges, and can use ActiveX objects. If you have Notepad.exe and some knowledge about HTML, then you can write your own gadget. That means: No big-project development overhead. What I like about gadgets is that they are really just small HTML pages. Gadgets can be dropped anywhere on the desktop to provide instant information, or to act as a gateway to a website or a larger program. This article shows you how to create a simple "Gadget" - a sort of mini-application supported by Windows 7 and Vista.
0 Comments
Leave a Reply. |