Questions tagged [windows-desktop-gadgets]

Windows Desktop Gadgets is the official name for the default widget interface on Windows 7. Windows Vista referred to them as Windows Sidebar Gadgets, but it was decided the sidebar that they would dock to should be removed in later versions of windows.

Windows Desktop Gadgets is the official name for the default widget interface on Windows 7. Windows Vista referred to them as Windows Sidebar Gadgets, but it was decided the sidebar that they would dock to should be removed in later versions of windows. They are written using standard web technologies (JavaScript, HTML, CSS) but have access to specific System APIs. They can also run unsigned ActiveX components without prompting the user for authorisation.

A basic Windows Desktop Gadget consists of 3 files;

  • a manifest file, gadget.xml, containing meta data such as title, description, author, etc;
  • a HTML file for the main gadget window; and
  • an image for the gadget background.

A gadget is packaged up for installation by compressing the files to a zip or a cab format and then renaming the extension to .gadget.

Example gadgets

a clock, a calendar and a weather application. http://i.msdn.microsoft.com/dynimg/IC295047.png

Windows Desktop Gadgets on Stack Overflow

The following is a list of useful questions tagged [windows-desktop-gadgets]:

Other references

230 questions
0
votes
1 answer

Windows 7 Gadget Flyout Question

I'm having troubles with my flyout. What happens with my gadget is you double click a component and it will have a corresponding flyout window. If you double click that or any other visual component with a flyout, though, the flyout document is…
user535617
  • 634
  • 2
  • 7
  • 22
0
votes
0 answers

Windows 7 Gadget to display image based on variable read from text file

I'm trying to write a gadget that reads input from a text file. the file contains a number. The gadget needs to read the file and then display the image at a specific location with the number that is read but add ".png" at the end. Example would be…
C Forester
  • 11
  • 3
0
votes
1 answer

Convert UpTime JS code to VBS

I'm generating an "Up-Time" Win7 Gadget and trying to reproduce the .vbs code found in similar Gadgets. I'm a .js coder. Relevant JS: vbStr=GetUpTime(); Relevant VBS: Function GetUpTime Set loc=CreateObject("WbemScripting.SWbemLocator") …
0
votes
1 answer

Microsoft Communicator Presence in W7 Gadget

I would like to integrate communicator presence into a W7 Gadget I built, but I can't seem to get it to work. The code below seems to work in IE (if your company has communicator, put your email address in there and it should work). …
Mark Cheek
  • 265
  • 2
  • 10
  • 20
0
votes
2 answers

Store a variable locally

Is there a way i can store a number locally? I want to make a counter, so each time the user clicks the button the number is increased. But i would like it to be stored so i could reboot my computer and when its loaded it displays the last number.
Jason94
  • 13,320
  • 37
  • 106
  • 184
0
votes
1 answer

Javascript: Client side filling in Input fields on Server side

(I'm scripting in Windows, for use in a Windows 7 gadget) Hi there, I'm trying to log in to a page on a server machine from a client machine using a ServerXMLHTTP request. I'm wondering if there's a way to fill in the input fields in the server's…
user535617
  • 634
  • 2
  • 7
  • 22
0
votes
1 answer

Windows Gadget AJAX Security Warning

I've created a Windows Gadget using JQuery to call the oAuth-Service of Yammer: https://www.yammer.com/oauth/request_token (API Documentation) $.ajax({ url: "https://www.yammer.com/oauth/request_token", type: "GET", beforeSend: function…
Michael Piendl
  • 2,864
  • 1
  • 27
  • 21
0
votes
1 answer

How do you open the settings dialog in a Windows desktop gadget programmatically?

The Windows desktop gadget I'm developing requires some configuration on first run, so when it detects that it hasn't been configured, I want to immediately open the settings dialog. Is this possible?
Robert J. Walker
  • 10,027
  • 5
  • 46
  • 65
0
votes
1 answer

Vista Gadget - Show tooltip on mouse over

I have a Vista gadget that has a few DIV's and IMG's. The elements have 'title' attributes set to display a tooltip. If you are in the gadget, and it is focused the tool tips show... like normal. But if you click on the desktop then hover over…
tcables
  • 1,231
  • 5
  • 16
  • 36
0
votes
1 answer

Desktop Gadgets alternatives on windows 10

I want to have a small window like thing on the desktop that's always on the desktop and it would just have two buttons(that does some work) as the desktop gadgets are discontinued from windows 8.Any Other Hard-Code alternatives to do that?
Tarun Pothulapati
  • 572
  • 1
  • 5
  • 13
0
votes
1 answer

How to change CSS of desktop gadget on docked and undocked

Making desktop gadget and want to change the css file on docked and undocked. In fact, I am changing it in ondock and undock function, but it's not reflecting.
vakas
  • 1,799
  • 5
  • 23
  • 40
0
votes
0 answers

W7 gadget - js innerHTML don't work

I want to make a gadget that loads another page in an interval. In IE 10 everything is working well, but as a gadget it does not work. Does anyone know where the problem is coming from?
0
votes
1 answer

Desktop gadet/app for Windows

I want to make a desktop gadget like the Sticky notes that we have but just with some additional functionality. Now that the gadgets have been discontinued in windows, i am not sure about what technology to use to create this app. I want to create a…
Himanshu Jain
  • 1,809
  • 1
  • 13
  • 23
0
votes
2 answers

How do I pull information from an LDAP server using JavaScript?

I have the LDAP server hostname and the search base, but have not been able to find any way of using that information with javascript. this is to be used in a windows sidebar gadget.
Jake
  • 1
  • 1
  • 1
0
votes
2 answers

CSS styling and transitions in gadget files

I have a simple HTML page of nine boxes (divs) which smoothly expand on hover using transitions. I've packaged it into a gadget file for the Windows 7 desktop and now all transitions are lost, even the radii on the boxes are gone. Do gadget files…