If you use both Mac and Windows you may have wished you could use your Mac TextExpander snippet files on your Windows computers or virtual machines. TextExpander radically speeds up your work if you often need to use the same text blocks, and having the same texts with the same hotstrings available on Windows makes life a lot easier.

This post provides a free Perl converter script and instructions for converting your Mac TextExpander snippet files so that you can use them on a Windows machine with the free, open-source AutoHotKey program. In addition to this I will show you how to manage your snippet files for multiple machines in a free Dropbox account. Dropbox is a much better solution for synching your snippets than MobileMe and if you combine these two strategies you’ll never have to worry about synching your snippets again – both on multiple Macs and across Mac and Windows machines (including Windows virtual machines in Parallels or Fusion).

Version 1.2:

Cursor position: The 1.2 version now supports the caret/cursor position macro. This will work reliably provided your snippets don’t contain the clipboard pasting macro or date macros that use full month and weekday names or date numbers without leading zeros. All these things will throw the position count off (AHK doesn’t have a “put cursor here” macro).

Version 1.1:

The 1.1 version adds the following improvements:

Expand mode (immediately, at delimiter with keep/delete) is read from TextExpander and exported to the AHK script.

Abbreviation mode (case sensitive/ignore case) is read from TextExpander and exported to the AHK script. However, “Adapt snippet to case of abbreviation” does not work in AHK – at least, I haven’t been able to make it work.

The keep/abandon delimiter macros in individual snippets are now evaluated and work correctly in AHK.

Read the rest of this entry »