Tutorial: Create a Vulpine Mission Gametracker Widget
OS: Windows 7 PRO - WORKS
OS: Windows 7 Home - WORKS
OS: Windows 8/10 - WORKS (Have to install Gadget App first)
**Windows 8/10 users use this link http://gadgetsrevived.com/download-sidebar/ for the installation of the gadget app since both removed gadgets from their platform then follow the instructions below.
**Only reason why 8 & 10 did away with gadgets is because of security concerns. This is only a concern for gadgets that are installed that you have no clue how they operate. As for the gadget I created, the code is posted within the article and you can also review the code in the html and xml files with a simple right click and edit either in notepad or whatever text viewer you use such as notepad++. Anyways, there is nothing to worry about if your the type of user who is meticulous about security. As a precaution with any foreign files always scan with your virus or malware scanner before installing.
Source Files (Attached to this tutorial) within the vm.gadget.zip file:
1. gadget.xml
2. gadget.html
3. vm-logo.jpg
Directory Structure:
C:\Users\(your user account)\AppData\Local\Microsoft\Windows Sidebar\Gadgets
C:\Users\(your user account)\AppData\Local\Microsoft\Windows Sidebar\Gadgets\vm.gadget<-- contains the vm-logo.jpg file and en-US folder
C:\Users\(your user account)\AppData\Local\Microsoft\Windows Sidebar\Gadgets\vm.gadget\en-US <-- contains the gadget.xml and gadget.html files
Source Articles:
https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
http://forums.steampowered.com/forums/s ... ?t=1244705
Reason:
Rather than logging into the server or website for server stats such as players online easily reference a desktop windows 7 widget for this information.
Windows 7 gadget location & creation:
- 1. Goto C:\Users\(your user account)\AppData\Local\Microsoft\Windows Sidebar\Gadgets and place the vm.gadget folder found within the vm.gadget.zip file there.
2. Right-Click on Desktop and Click Gadgets
3. Drag and Drop the Vulpine Mission on Desktop
4. Finished
gadget.xml:
<?xml version="1.0" encoding="utf-8" ?>
<gadget>
<name>Vulpine Mission</name>
<namespace>microsoft.windows</namespace>
<version>1.1</version>
<author name="Colonel.Panic">
</author>
<copyright>Copyright (c) 2010</copyright>
<description>Displays server info from GameTracker.com</description>
<icons>
<icon width="55" height="55" src="vm-logo.jpg" />
</icons>
<hosts>
<host name="sidebar">
<base type="HTML" apiVersion="1.0.0" src="gadget.html" />
<permissions>full</permissions>
<platform minPlatformVersion="0.3" />
</host>
</hosts>
</gadget>
gadget.html:
<html>
<head>
<script type="text/javascript">
function refresh(){
location.reload(true)
}
window.setInterval("refresh()",60000);
</script>
</head>
<style>
body {
width:160px;
height:248px;
background: #000000;
margin-top:-10px;
margin-left:-10px;
}
</style>
<body>
<a href="http://www.gametracker.com/server_info/ ... 0.60:7777/" target="_blank"><img src="http://cache.www.gametracker.com/server ... _0_1_0.png" border="0" width="160" height="248" alt=""/></a>
<br>
</body>
</html>