This project is read-only.

Hello World

To create gadgets you have to know HTML, JavaScript(or VBScript) and CSS. In this article we will create "Hello World" gadget.

To create new project, go File-Create project. After project has been created the form "Gadget Settings" will appear. Here you should enter gadget properties:

  • Name(Required) - A name that is displayed in the gadget picker, on the Windows Sidebar “Add Gadget” page, and the Sidebar itself,
  • Version(Required) - Specifies the version information for the gadget,
  • Copyright(Optional) – Gadgets copyright,
  • Resume(Optional) – Short information about the gadget.

When you finally fill in all fields, press OK.

image 

Gadget task is to display the line “Hello world” and now, in the editor between tags <body> and </body> please insert this line: <p>Hello World</p>.

Now we have to save the gadget. Gadget Creator saves the project in gcp(Gadget Creator Project) format. To save the project, go File-Save project, select where you want to save the project and click Save.

To see how gadget works, we should “compile” it. To compile project go Gadget-Compile. Compile dialog will appear, select where you want to save gadget and press Save. Then run the gadget.

Last edited Feb 10, 2013 at 1:39 PM by po4tedafeatures, version 14

Comments

No comments yet.