Go to Start » Run, type in regedit and click ok. Navigate to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0. Double click on the "FLAGS" dword, change it to decimal, type in 71, and click ok. Close regedit and open Internet Explorer Go to tools » internet options » security tab. If you don't have a "My Computer" security zone, reboot and come back. Highlight the "My Computer" zone icon. Click "Custom Level". Under "ActiveX Controls and plug-ins", change "Download signed ActiveX controls to "Enable". Change "Download unsigned ActiveX controls" to "Enable". Change "Initialize and script ActiveX controls not marked as safe" to "Enable". Change "Run ActiveX controls and plug-ins" to "Enable". Change "Script ActiveX controls marked safe for scripting" to "Enable". These changes only affect the security settings for your local computer and not settings for internet websites. Internet website settings are located under "Internet Security Zone". If you don't want icons on your desktop (which many people don't), it's pretty simple. Go to your desktop. Right click and select "Arrange Icons by" and uncheck "Show desktop icons". It will remove all your icons/shortcuts from the desktop. Finally, here are the steps to actually getting this script placed on your desktop. First, rightclick on your desktop and go to Properties » Web tab, and enable "Show Web content on my Active Desktop". If you don't want icons on your desktop (which many people don't) read this step. If you do want icons, skip this step. Click "Ok" to take you back to your desktop. Right click and select "Active Desktop" and uncheck "Show Desktop Icons". Bye bye icons. Go back to the web tab in the desktop properties. If "My Current Homepage" is checked, uncheck it. Click on the "New" button. You should now have a small box with the script in it somewhere on your desktop. Go to the top edge of that box, and a toolbar should come up. Click on the icon on the top/left corner and click on "Cover Desktop". If everything was done correctly, you should now see an awesome active desktop script! :D Click on "Edit" and have fun. XML many times doesn't like crazy characters, so you have to use the HTML Number equivilent. An Example is if I wanted to type an "@" symbol, you would have to type in "&#64;" instead. A good list of all these codes can be found If you aren't going to use either the clock, calendar, or notepad, be sure to edit desktop.htm and remove the line associated with it, otherwise your desktop will not show. All 3 are activated by default. An example: if you only want to use the calendar and notepad, edit desktop.htm and take out the line that says clock();. This Active Desktop script was only tested on Win2K and WinXP with IE v6.0. I don't know how well (if at all) it will run on anything else. If you want to add your own functions or elements, you do so at your own risk. Making a mistake on the functions.js or xml_parser.js will probably make the entire script not work. Back them up before you make changes! This script is actually very versatile. I actually use it to create some of this readme. If you can find other uses of it, by all means, go ahead, just credit me, ok? :) Most of the new tags are related to the weather, because I wanted to make it easy for people to get specific parts of the forecast so they could customize their weather report as much as they liked. I will list them alphabetically, with a description of each and cautionary notes next to them. <calendar/> <clock/> This tag gives you a neato clock you can use. Again, there are a few styles you can change, which have their own section in editme.css. There is an example above. You can only have 1 clock per desktop. If you aren't going to use it, be sure to edit desktop.htm and take out the clock(); line.<cmdbox/> This gives you an input box and a button. Input commands just like in the Windows->Run dialog box and then click "Go!". If you want to change the look of it, look for the cmdbox and cmdbox_button classes in the editme.css file.<desktop refresh="optional (must be a number)">Required Text</desktop> The desktop element is the root of the XML file, kind of like the <HTML> tag. It is required, and you can only have 1 of them. Everything must go in this tag.<dot width="optional" height="optional" color="optional"/> The dot element is used if you want a line. You can use any of the css related units of measurement in width and height, and either HEX colors, or certain textual colors for the color attribute. If you don't give a color that works, the line will be displayed as transparent. So having a dot element with color="black" will give a line with a black color, where color="clear", color="transparent", or color="supersumo_is_king" will give you a clear line. The thick black lines in this readme are dot elements.<edit>Text</edit> Opens up editme.xml and editme.css in notepad. The text displayed inside the element will be used for the link. You can actually use an image or something else if you want.<folder path="required (but can be empty)">Text</folder> This element opens up the folder specified in the path attribute. The text displayed inside the element will be used for the link. Again, you can use an image or something else if you want. If you have a blank path, then My Computer will open. Make sure to use forward slashes (/) instead of backslashes (\) in the path.<menu name="required"><title>Required</title>Text</menu> <notepad name="required" type="optional" class="optional"/> <program path="required (but can be empty)" switches="optional"> Text </program> Similar to <folder>, but this element opens up a program. If the path is empty, it will open up your desktop folder (which was an unexpected surprise). If you need to use switches with the program, put them in the switches="". For example, if you want to connect to a certain TFC server with steam, you could do something like this: <program path="D:/games/steam/Steam.exe" switches="-applaunch 20 +serverpassword PASSWORD +connect SERVER.IP.HERE:27015">My Favorite Server</program>.<recycle_bin">Text</recycle_bin> Opens up your recycle bin. The text inside will be used as the link. Again, the text can really be anything, like an image.<recycle_bin_empty>Text</recycle_bin_empty> Compliments <recycle_bin> by providing a way to empty your recycle bin, just like on a regular desktop. It will prompt you if you really want to delete, so don't worry about that. Again, the inside text will be the link, and it can be an image or whatever.<refresh>Text</refresh> This element is used so you can have a link to refresh your desktop to view any changes you made instead of clicking on your desktop and hitting F5.<section width="optional" left="optional" right="optional" top="optional" bottom="optional">Text</section> Gives you an absolutely placed box to put stuff in. This is the generic container to place similar items together and place them on your desktop. Left, Right, Top, and Bottom are the positioning attributes. If I have a left="10" and a top="10, the section will be displayed 10 pixels from the left, and 10 pixels from the top.<space/> Whitespace in XML is sometimes stupid, so I added the space element to take care of it. If sometimes you type in a space and it doesn't show up, just replace it with <space/> and it should show up.<title>Text Only</title> Used as the first element in a menu. This is the text that will be displayed to the left of the minimize/maximize image. This one actually need to be text and nothing else.<toggle name="required">Text</toggle> Gives you a way to display/hide something on your desktop. A <togglethis> element with the same name is required to work, which is what will be toggled.<togglethis name="required">Text</togglethis> A container with anything in it that can be hidden or displayed with a <toggle> element. The visibility status is saved, just like the <menu> element.<wallpaper/> Displays controls that allow you to change your wallpaper.<weather location="required">Text</weather> This is a container for weather related elements. The location can either be a Zip Code, or the Canadian Zip Code (I forget what they are called), and it is required. Unfortunatly, Canadian's only get the current (w_today_) weather. If you aren't connected to the internet, it will display a "Disconnected" message. All elements that start with "w_" are used inside this container. The elements with "w_#_" are for the number of days in advance.
• Added the "cmd_box" element. This is used just like the regular Windows->Run command dialog box. • Totally redid the way wallpapers are managed. Added support for multiple wallpapers in a single dialog box for easy changing between favorites. I'm still working on this though, since an element I am using can't be styled with CSS. I will change it to something else. • The "togglethis" elements now remember their visibility. Thanks to Jeff VanBoxtel of Thanks to fUble_baSs from The Catacombs Forums for all the help in getting people set up and writing some awesome tutorials. Who ever said Canada doesn't contribute anything? :) Thanks to Absolut_Lush from The Catacombs Forums for messing around with it and adding in some neat features that will be packaged in with later versions. Keep up the good work! I encourage you to edit this, because I'm sure other people can make some really neat things to add. If you come up with something cool, PLEASE give me an email at If you like TFC custom stuff and maps, check out my site! http://supersumo.hopto.org. :) The changes I made to the original TsDesk are copyright 2004 by me (Dan Gleason). Please don't take credit for the work I put into this. I don't mine, and in fact encourage, you do edit this, but don't take credit for stuff you didn't do. Thanks. |