Warning: Creating default object from empty value in /home/public/wp-content/plugins/wptouch/core/admin-load.php on line 106
AutoHotkey - Andrew Guyton's Blog

Andrew Guyton's Blog

Posts tagged ‘AutoHotkey’

Let’s say you have a tendency to leave Facebook or Gmail open on your computer, and your friends have a tendency of texting you at 3 am. Getting woken up to a loud ‘ding’ is never fun. Wouldn’t it be nice if your computer automatically muted itself when you go to bed? And maybe again […]

As a sequel to my previous post, I’ve always wanted to use the metadata embedded in a file (which is usually correct on most downloaded music) to fix the filenames of an arbitrary number of files. Well, I took a little time today and figured it out. First, I prefer working with context-sensitive methods via […]

I’ve gotten back into playing Diablo 2, and I accidentally hit the Windows key every now and then, which minimizes the game. Here’s the code to disable that key via AutoHotkey while Diablo 2 is open and active: #IfWinActive Diablo II { ~LWin Up::Return ~RWin Up::Return }

A common task I’ve been using AutoHotkey for lately is adding the artist to the filename of an mp3. Here’s some quick code to do that: RenameSongs(path, artist) { Loop %path%\*.mp3 { IfNotInString A_LoopFileName, %artist% { newfilename = %artist% – %A_LoopFileName% StringReplace newfilename, newfilename, (1),, All FileMove %path%\%A_LoopFileName%, %path%\%newfilename% } } TrayTip File rename,Done! } […]

So I recently noticed that my code to combine AutoHotkey with iTunes wasn’t working, so tonight’s project was to get it working again. Luckily, AutoHotkey has dramatically developed since I wrote the last post, now bundling native COM support in a version that is generally known as AHK_L. For a full list of things added […]

Powered by WordPress and theme developed using WordPress Theme Generator.
Copyright © Andrew Guyton. All rights reserved. Feeds: Entries (RSS) and Comments (RSS).