Tip: Clip-board macros with TextPipe and AutoHotKey

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Ville
Posts: 2
Joined: Thu Nov 20, 2008 7:52 am

Tip: Clip-board macros with TextPipe and AutoHotKey

Postby Ville » Thu Nov 20, 2008 10:36 am

Some time ago I decided to automate frequently recurring text-mangling operation with help of TextPipe and an excellent freeware program AutoHotKey.

With TextPipe I first created a filter that takes input from the clip-board and outputs the result back onto the clip-board. The most recent of these macros (see the attachment) turns a list or URLs on the clip board into active HTML for the purposes of easily displaying them in a browser from a local file which in turn makes it possible to quickly queue them in DownloadThemAll which doesn't otherwise support URL bulk entry.

Once complete and saved into a TextPipe filter folder, I created a keyboard macro in AutoHotKey to make it easy to quickly execute the macro against the current clip-board contents:

^+L::Run "c:\Program Files\TextPipe\textpipe.exe" /MINIMIZED "/F=e:\_Documents\TextPipe\Linkify.fll" /G /Q

Now the workflow is like this: 1) copy a list of plain-text URLs onto the clip-board, 2) hit Ctrl-Shift-L 3) Paste the URLs that are now in URL format into a local HTML doc and preview it in Firefox (then select DownThemAll from the context menu and they're queued for download).

Obviously this is just an example and can be applied to any frequently repeated text/data processing routine. AutoHotKey is also extremely flexible allowing mapping over system default hotkeys such as Win-E, as well as re-mapping useless keys (like th §/½ -key below Escape on my Finnish keyboard) into new altering keys (many of my keyboard macros including the TextPipe macros run with the §/½ -key plus some other key).

Linkify.zip
Contains a TextPipe macro that turns list of plain-text URLs on the clip board into HTML URLs.
(656 Bytes) Downloaded 537 times

User avatar
DataMystic Support
Site Admin
Posts: 2136
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Tip: Clip-board macros with TextPipe and AutoHotKey

Postby DataMystic Support » Tue Nov 25, 2008 9:34 am

This is terrific - thankyou!

Would it be possible for to also post this in the AutoHotKey forums at http://www.autohotkey.com/forum/forum-2.html for the benefit of their users?
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

Ville
Posts: 2
Joined: Thu Nov 20, 2008 7:52 am

Re: Tip: Clip-board macros with TextPipe and AutoHotKey

Postby Ville » Wed Nov 26, 2008 7:19 pm

That's a good idea. I'm registered at the AutoHotKey forums so I'll cross-post there, or at least include a brief description along with a link to my post here.

User avatar
DataMystic Support
Site Admin
Posts: 2136
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Tip: Clip-board macros with TextPipe and AutoHotKey

Postby DataMystic Support » Wed Nov 26, 2008 8:43 pm

Thank you!
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest