Mapped keyboard shortcuts that generate text responses (macros maybe)

1

I've got a seemingly simple idea where I would press a combination of keys (like Ctrl + Alt + Z) and paste a previously written(and saved) response on wherever I'm typing. This is meant to work in a Windows Server or Win 7 environment. So far the idea I had come up with (but can't actually implement) was writing a little program in Python(since thats the only language I know) that can run silently in the background and calls upon specific texts from a location I've saved them to, whenever I press the designated key combo. The only issue (besides the code, which I suck in) is that I want to have it work even when I'm in a VDI (virtual server). Or perhaps there's a macro I can write that can achieve this? Or something already made that can do the job? Any helpful suggestions would be great!

stan abramov

Posted 2014-10-22T01:33:49.103

Reputation: 11

Yea thanks guys, autohotkey is exactly what I wanted!!! Can't rep yet but I would if I could – stan abramov – 2014-10-28T00:21:56.057

Answers

2

If going with Autohotkey get its newest release from "The AutoHotkey Foundations" home Page at http://ahkscript.org

AutoHotkey (AHK) is a free, open-source macro-creation and automation software for Windows, that over time evolved into a full-fledged scripting language.

3 simple examples

A Hotkey

^!Z:: ; Ctrl+Alt+Z becomes a hotkey to type a pre defind text or keys:
Send Sincerely,{Enter}John Smith
return

Or a Hotstring

:*:btw::by the way ; auto expands to "by the way" when "btw" is typed

Or a remapping

a::b ; remaps the "a" key to the "b" key

most up to date documentation http://ahkscript.org/docs/AutoHotkey.htm

blackholyman

Posted 2014-10-22T01:33:49.103

Reputation: 121

0

Most common tool I know for this is AutoHotKey

Ref: http://www.autohotkey.com/

Marcelo

Posted 2014-10-22T01:33:49.103

Reputation: 808

perhaps explain a little more why AHK might work well for this? – studiohack – 2014-10-22T21:40:03.083

because it's designed to do exactly that? It's so straight forward and I don't know what else to explain. – Marcelo – 2014-10-22T21:46:13.483

For new users the strange syntax of autohotkey can seem odd, it would be beneficial to provide a brief example and potentially a link to the documentation for explanation purposes. Simply saying "use that" is not considered a particularly good answer. – Mokubai – 2014-10-23T11:44:13.270