in Software

Removing Steam Games from Programs and Features (Add/Remove Programs) Windows

When installed games from Steam are registered in the Windows’ uninstall list as well as in Steam. The uninstall items in “add / remove programs” serve little purpose as they are links directly to Steam’s app management (easily accessed from Steam’s UI), and if you relocate your Steam folder these will become broken. The following is two commands to run and a downloadable batch file (also contains an admin check) that remove all Steam apps from the Windows uninstall list. I figure it may come in handy if someone can’t be bothered writing or doesn’t know how to write it themselves. You will need to run these with administrative privileges.

Download Batch File

Social Buttons Only When a Visitor Wants Them Using jQuery

I haven’t posted in a while so I thought I share the method I’ll be using in future to call social media buttons (Google +1, Twitter, and Facebook Like). I had (and currently still have) the problem that each time a visitor comes to my site that their visit is being tracked by all the social media button vendors in the guise of a feature. By using the magic of HTML5 (data-* attributes) and jQuery I found a solution that should be simple to implement in any new templating system I use. It allows the code for the social media buttons to load only if someone actually wants to share that information, which I feel is a nice compromise between removing them altogether and retaining them as is. The code is posted below.

Update 2013-08-13: I’ve changed the code a little, including a reddit button, using quotes properly and adding IDs to the iframes so they work in current versions of IE when there’s more than one set of these buttons.


JavaScript (social-media-buttons.js)

Prevent Sleep for Deluge on Windows

Updated 2013-02-17: “Much Improved”

A few months ago I started using Deluge as my torrent client instead of µTorrent. Whilst overall I feel Deluge is considerably better, one issue I’ve had is that it doesn’t prevent my computer from sleeping, which is an a bit of an issue if the computer is left unattended downloading something. This script disables sleep when Deluge is active using AutoIt, and resets sleep to the previous value once downloads have finished. For this to work Deluge needs to be in classic mode with show session speed in title bar activated, both of these settings are found under preferences/interface. Also, a word of warning, this may not work on versions of Windows earlier than 8, though you’re welcome to try it, also note its guaranteed not to work on Windows XP and earlier. You can run this without AutoIt just download the executable version.
Something else to keep in mind is that this works using a relatively simple macro which by necessity flashes screens open, changes options and presses buttons. If this kind of behaviour concerns you, you may wish to avoid using the script.

A quick edit: Currently I’ve removed the exe version of this as it was being flagged as malicious by several anti-virus vendors. While this was a false positive, I can’t be bothered contacting them until I post my newer version (which will likely also be falsely identified as malicious) that resolves all of the issues this script has.

Script (Requires AutoIt 3 to run)

(You may need to right click and select “save as” or whatever variant is in your menu.)

Continue reading

Tasmanian Holiday Calendar Redux

My original post: Tasmania now has a calendar (2010)

I’ve updated my Tasmanian Holiday Calendar with the statutory holidays for 2013, 2014 and 2015. While going through the Statutory Holidays Act 2000 I’m fairly sure I noticed some changes to the schedules and so was hesitant to update it for the next decade, as I had thought of doing, in case there where any more changes. The link to the calendar is the same as for the original post as I simply added new events to the existing Google calendar. You should be able to use this on any calendar application, independent of what OS/platform you are using.

Note that some holidays are observed only in particular municipalities, these are marked ‘(local)’. Also each item on the calendar lists where it is applicable in the event description.

Click here to subscribe to the calendar
Continue reading

Six Line A4 Tab Paper

Well here’s something that could be very uninteresting to most people, however life (or at least time) saving to others. I’ve created, using Microsoft Word, pdf / docx files that are lines spaced about 3 mm apart in groups of six for A4 paper. More importantly this gives instrumentalists using six string fretted instruments (i.e. guitars) an easy way to take notes on the songs they are writing or trying to learn. The paper is aimed particularly for six stringed guitar tablature but I’m sure it may have some uses that I haven’t thought of. Without advertising and other random graphic elements my little template hopefully fills what appears to be a gap in availability particularly for A4 size paper. The files contain two pages to assist in duplex printing.

The Files are here below

6 line A4 tab paper (pdf)
6 line A4 tab paper (docx)

Note (2012-11-25) I had accidentally uploaded the wrong pdf, the incorrect file has now been removed and the link updated to the correct file.

Creative Commons Licence
Six Line A4 Tab Paper by Toby Johnston is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Australia License.

Symbol Macros v2

Symbol macros is a tiny programme that allows you to insert a number of diacritics, ligatures and various other symbols using helpful and obvious keyboard shortcuts. It was created using autohotkey a very useful piece of software for remapping keys and creating macros.

Version 2 adds more symbols making it useful for most European languages and changes the end character to instead of tab.

Download Links

Installer (installed per user): symbol_macros_setup.exe
Source code: symbol_macros_src.7z


Creative Commons Licence
Symbol Macros is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Australia License.
Continue reading

A Better Firefox Interface

I just finished up my changes to the user interface of chrome they’re implemented using Stylish but the css could be used in userchrome.css if on so desired, I do not however. There is lots of snippet use from JohnBooty’s Firefox 4 userchrome.css: Flat “Chrome-like” toolbar button, and Wmarcello’s Firefox 4 Nightly – Change App Menu Button Text

Changes include

  • Flatted toolbar and reduced gaps between toolbar icons
  • Changed text of appmenu button
  • Changes the appmenu button size (slightly) and colouring
  • Removed the gaps at the tabs sides

You’re best bet for installation is to wonder over to and install my changes from there via this link (opens in new tab / window)

Screenshot thumbnails (click to enlarge)
Screenshot 1 Screenshot 2

I’ve include the code on this page if you want to look at it here, you’ll note that I’ve changed the Firefox appmenu button to read “Interwebz” if you search for that phrase to find it then change the text to whatever you like.

AOE II Launcher (Age of Empires II Display Fix)

This software is a well-presented automated version of a simple fix, effectively it exits explorer, launches AOE II then reboots explorer once you have exited the game. Now to outline the problem that this fixes.

The classic game, Age of Empires II, has a major issue on Windows Vista and Windows 7 that renders it virtually unusable. The issue is that colours are drawn incorrectly and as far as I can gather this is caused by the 256-colour palette being changed while AOE II is running. The palette references colours to do with the taskbar instead of exclusively AOE’s colours; this causes AOE to display the wrong colours. The solution to this is to disable the taskbar while AOE II is running and this is what my fix does. It is a batch file that quits explorer then starts AOE II. It subsequently restarts explorer when you have closed AOE.

Why use an installer?
The reason this is implemented using an installer is because it makes configuration extremely easy the installer can make both the batch file to suit your system, referencing either the original or expanded version of AOE II, and create shortcuts to the batch file in convenient places.

Installer Notes
Please note you do not need administrator privileges to install this fix, however you will need to install it on each user profile you use AOE II in.

General Notes
Because of the nature of the programme all windows open in explorer will be closed and all explorer related tasks will quit (this includes copying files moving files etc.) when AOE II is running. Make sure to finish anything in explorer before using Age of Empires II through the launcher.

Download Links
Installer: AOE II Launcher for Windows Vista / 7 setup

Source Materials (7z): AOE II Launcher Source (7z)
Pure BAT version (for the suspicious and IT orientated): AOE II Launcher – Pure BAT version (.bat)

Why another?
Whilst my previous fix worked and did help a number of people I felt that that idea needed a refresh so I used similar concepts to put together this self-creating batch file within an installer, named AOE II Launcher as the solution. I’ll make a note here too that I actually finished this shortly after releasing the previous fix but due to laziness never got around to uploading it.

AOE II Launcher for Windows Vista/7 by Toby Johnston is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 Australia License. This license is available on the internet at It is a condition of this license that the programme is provided AS IS without warranties of any kind.

Hiding Period Files on Windows

Please first note that I can only verify this works on Windows 7 as I don’t use any older versions of Windows.

I have noticed a distinct need for someone to comment on an easy method of hiding files that start with a period on Windows and finally have found a solution that I myself find acceptable. You may be wondering why someone might need to do this, being a keen supporter of open-source software yet not wanting to relinquish my ability to play games and run commercial software properly I have throughout  the years stuck with using Windows for my computing. Most open-source software on Windows is usually a port from Linux aimed source code, this means they usually use periods at the beginning of the name to hide a file or directory, and rarely do they modify that file or directory’s attributes. For me and anyone using a Windows version greater than XP this means the home directory becomes littered with files and folders. You might say that you could just hide them manually but some programmes such as the GIMP regenerate the files after each use and in doing so reset the attributes and revealing the file. So there’s that a justification of the need for my script.

My solution is to use a hidden (using vbs) batch script timed to run every fifteen minutes to hide all files beginning with a period. This should for most modern computers have no noticeable effect on performance.

You can either follow my simple instructions below or use the installer I complied that will place the appropriate files in the appropriate places automatically.

Period File Hider Setup (exe)

Manual Instructions (for the untrusting or inquisitive)

First you need to create a vbs file we’ll name it invis.vbs note that this file can be used to run any batch script in the back ground. Its contents follows:

Next we’ll create the batch file which I named hpf.bat. The contents follows:

Now we need to create a shortcut which is best placed in the startup folder.

the shortcut should be as follows

of course substituting “ENTER\PATH\TO” with the path to the files on my system its wscript “C:\batch\invis.vbs” “C:\batch\hpf.bat” for example.

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Australia License.