Category Archives: web dev

Autohotkey and Internet Explorer View Source – ctrl + u

ERROR – this script needs some serious work, it is blocking the ctrl + u shortcut in all other applications that dont match the IE window title – will update if solved.

Today I was working on a autohotkey script to create a sensible shortcut for IE view page source. This is something that on most browsers is keyboard shortcut ctrl + u. I had been playing with autohotkey for a couple of other customization’s and decided to see what was possible.

First note this is only really tested with  IE 9. But it should work with any IE where the view source shortcut is : alt + v + c.

Basically the script searches for an active window with the title ‘Windows Internet Explorer’ if found runs macro.

Find the script here : https://gist.github.com/iaian/5118552

It will be something I probably use quite a bit so I will update this gist as I find bugs.

ERROR – this script needs some serious work, it is blocking the ctrl + u shortcut in all other applications that dont match the IE window title – will update if solved.