Posts tagged AutoHotkey
I can’t believe it has taken me over two years to get this code cleaned up and posted! In that time I have changed companies, moved my family across the country, started a new job, bought a house, sold a house, and dealt with some health issues. Even then, I can’t believe this has taken so long and I am sorry for the delay!
I realize that many people have probably moved on to other tools. Nonetheless, here it is (click here to download ZIP file). In this ZIP file you will find all of the AHK code that runs the current 0.5 alpha01 version plus some newer improvements, fixes, and mods that I have been using privately but never released. One of the major new features you will find in here is the ability to parse note text as it is submitted and automatically create tasks in Outlook. I was using this code for the better part of a year, but I haven’t tested it in a while since I am not currently managing tasks in Outlook.
Note that this ZIP file does NOT represent a fully tested or stable release of the DROE_Tool. This is simply a release of all of the source code that goes into the DROE_Tool for those of you that like to tinker with AHK code (and VBS code) and would like to customize the tool for your own needs. The normal warranty disclaimers apply:
- NO WARRANTY: All software, information, and services provided by Manage-This.com are provided on an “AS IS” basis with NO EXPRESS OR IMPLIED WARRANTY OF ANY KIND.
- LIMITATION ON LIABILITY: Neither Manage-This.com nor its proprietors accept responsibility or liability for damages or losses that may result from the use of this content. While every effort is made to test the content, it may still contain errors, omissions, or latent defects. USE AT YOUR OWN RISK.
Note that this code takes advantage of newer features in AutoHotKey and must be run or compiled using a fairly recent version of AutoHotKey (formerly known as AutoHotKey_L) which is available here: http://ahkscript.org/
Good luck, and happy coding!
I make frequent use of my label maker for all sorts of things around the house and office. I actually bought the one that David Allen recommended in his 2001 book, although that exact model has probably been replaced with newer versions. One of the more recent uses for my label maker is to create simple visual reminders for frequently used hotkeys on my keyboard. The two that have been getting the most use lately are for Desktop Search and for MyLifeOrganized (see image below).
I use the “Insert” key to launch my desktop search function, and the “Home” key to launch my task function (MLO). Pressing the keys by themselves launches a “basic” function, whereas pressing them along with the Windows modifier key launches a more in-depth function. For example, pressing [Insert] launches the Everything Search Tool, available for free from voidtools. This is an amazing tool for extremely fast/instant file searches. You can configure it to launch with the [Insert] key by setting the “New window Hotkey key” to “VK_INSERT” in the Tools > Options > General pane. If, however, I need to perform a more in-depth search for text within a file, or within Outlook emails, or with special constraints, I press WIN-INSERT to launch Windows Search (for Windows XP) in its own window. Since I am still using Windows XP on some of my PCs, the AHK script below helps.
For task management, I am still going strong with MyLifeOrganized. I shared some setup information for synchronization a few months ago when I started using MLO, and I hope to share a more detailed review of the app along with the ins & outs of my setup in the very near future. In the meantime, here is the launch script I am using for MLO. See the portion below the “;Hotkeys to open MyLifeOrganized:” comment. You can launch MLO using the Hotkeys that MLO supports directly, but I wanted a version that would also launch the MLO app if it wasn’t running. Note that the script below assumes that you have Read the rest of this entry »
I just posted an update to my Daily Record of Events (DROE) Tool, please check out the Downloads page. Version 0.3 adds some additional shortcuts for fast Outlook task and message creation, as well as easy creation of PigPog tasks. (Note that the Outlook shortcuts have only been tested on Outlook 2003). Version 0.3 also fixes an ugly bug that blocked the time/date stamp from working in Windows Vista.
Here are the details from the latest README file:
This is a configurable tool built using AutoHotkey. It gives you a handy shortcut to quickly open OneNote, jump to the top of your Daily Record of Events (DROE) page, insert a time stamp, and begin capturing thoughts before they slip out of your head. The tool replaces the standard Sidenote shortcut (Win-N) with the new function. You can still open OneNote in full/normal mode using Win-Shift-N. Note that the tool is a compiled executable, so you do not need AutoHotkey installed to use it.
In addition to the OneNote shortcuts, the DROE Tool also provides some handy Outlook shortcuts. You can now use CTRL-SHIFT-M and CTRL-SHIFT-K from anywhere to create a new Outlook Email Message or Task. These shortcuts already exist in Outlook, but this script will save you the trouble of having to switch applications and find Outlook before using the shortcut. You also have the option of having new tasks be created as “PigPog” tasks, as well as displaying the Outlook Categories dialog box every time so that you don’t forget to set a category. Note that these have only been tested in Outlook 2003, so all bets are off for Outlook 2007.
But wait, there’s more! With the DROE Tool you’ll also get:
- The ability to paste without formatting (clipboard formatting stripper),
- the ability to use the Mac-like shortcut (Alt-W) to close a window,
- additional shortcuts for bullets and manual time stamps,
- this set of Ginsu knives! (ok, not really)
Each of the features can be individually enabled or disabled through the INI file.
I hope you find it useful! I have many more updates & features planned, so stay tuned.
As promised in my previous post on “Bending OneNote and Outlook to Fit my GTD System“, here is the tool I use to drive my DROE (Daily Record of Events) in OneNote. This is a configurable tool built using AutoHotkey. Note that the tool is a compiled executable, so you do not need AutoHotkey installed to use it.
What the DROE tool does is give you a handy shortcut to quickly open OneNote, jump to the top of your Daily Record of Events (DROE) page, insert a time stamp, and begin capturing thoughts before they slip out of your head. The tool replaces the standard Sidenote shortcut (Win-N) with the new function. You can still open OneNote in full/normal mode using Win-Shift-N.
There are also some additional features included in >> READ THE REST OF THIS ENTRY >>
I just wanted to tell you about a terrific utility called AutoHotkey. From the web site,
“AutoHotkey is a free, open-source utility for Windows. With it, you can automate almost anything by sending keystrokes and mouse clicks. You can write a mouse or keyboard macro by hand or use the macro recorder. …Virtually any key, button, or combination can become a hotkey.”
One of the best things about AutoHotkey is that there is a huge active user community available. Just browsing the forum, there are lots of different scripts and examples. To get started, I would recommend downloading and running the installer, and then checking out the quick-start tutorial.
I use AutoHotkey to automate a lot of my frequent tasks: Creating an Outlook task and filling in some basic information, taking quick notes in a text file, searching and launching my bookmarks, and launching frequently used programs. In time, I’ll blog on all of these applications… I’ve already created a tag just for AutoHotkey! For now, here is a very simple example I use for stripping the formatting from text on the clipboard. What’s nice about this is you don’t have to think too hard to use it. Copy whatever you want to copy. When you go to paste, either use your normal CTRL-V to paste the full version, or use WIN-V to paste the text-only version. This is extremely handy when trying to paste things from web pages or even Word documents and not have to deal with >> READ THE REST OF THIS ENTRY >>