Questions tagged [autohotkey]

AutoHotkey (AHK) is a free, open-source macro-creation and automation software for Microsoft Windows that allows users to automate repetitive tasks. It is driven by a scripting language that was initially aimed at providing keyboard shortcuts, otherwise known as hotkeys, that over time evolved into a full-fledged scripting language.

Filter by
Sorted by
Tagged with
2
votes
3answers
366 views

Automate dull task

Like this question: Automate GUI tasks? I'm asking for a way to automate GUI tasks. I understand that those 2 apps are what's used for that sort of stuff, but those 2 apps are hard to use. OK, here'...
19
votes
2answers
51k views

Swapping Function (Fn) and Control (Ctrl) Keys on Lenovo ThinkPad W500

I'd like to swap the Fn and Ctrl keys on my ThinkPad W500 (like many others! See: How can I switch the function and control keys on my laptop? and Intercepting the Fn key on laptops) Numerous folks ...
1
vote
1answer
3k views

How to configure AutoHotKey for Win-Tab instead of Alt-Tab

AutoHotKey is excellent keyboard customisation and automation utility. I have configured it for Alt-Tab using my mouse: ~MButton & WheelDown::AltTab ~MButton & WheelUp::ShiftAltTab I am ...
6
votes
5answers
6k views

Is there an AutoHotKey for Ubuntu?

I would like to simulate keyboard combinations. I am able to do this on Windows with AutoHotKey. Is there an equivalent app for Ubuntu?
0
votes
1answer
89 views

StringSplit is chopping off a character

I have a hotkey setup like this: Numpad1:: ClipSave := ClipboardAll Send, ^+{Left}^+{Left} Send ^x StringSplit, Commands, Clipboard, {Space} Send, local{Space} Send, %Commands1% Send, {Space}={Space} ...
3
votes
2answers
4k views

How to temporarily disable a key in autohotkey?

I want to temporarily disable the effect of a mouse button during part of a command, but still be able to detect whether it's been pressed. Is this possible?
1
vote
1answer
166 views

How to set a hotkey only when another one is active

I want to make a hotkey that only exists while another key is pressed. Ordinarily, just using modifiers would work but i need to intercept specific keys while one is down so that the keys work in ...
1
vote
2answers
218 views

How to use Win+Tab with scrolling?

I'm using Autohotkey and i want to make it use Win+Tab for Ctrl+scroll like this: ~Ctrl & WheelDown::Send #{Tab} ~Ctrl & WheelUp::Send #+{Tab} However scrolling up doesn't work at all and ...
3
votes
2answers
2k views

AutoHotKey and VirtuaWin window switching

I've got a AHK script that looks for an active Emacs window and switches to it. However, since I'm using VirtuaWin now, this script stopped working -- it only works on the virtual display where Emacs ...
1
vote
2answers
2k views

Why doesn't this AutoHotkey script work?

I've written a script: ^!c:: ClipSave := ClipboardAll Send ^x Run calc.exe WinWaitActive Calculator Send %clipboard% Send Enter Sleep 100 Send ^c ;WinClose Send ^v Clipboard := ClipSave it's ...
2
votes
4answers
10k views

AutoHotkey: how to send contents of clipboard as key presses?

I'm making an autohotkey script to run highlighted text through a calculator, and i need to send the contents of the clipboard as a sequence of keypresses, since the calculator doesn't really support ...
6
votes
4answers
4k views

AutoHotkey: how to assign a command to the “Calc” key?

how do i assign commands to the "calculator" or "favorite" keys with autohotkey?
16
votes
6answers
14k views

AutoHotKey equivalent on Mac

I am looking for a Mac application similar to AutoHotkey. What are the best Mac applications in this category?
4
votes
2answers
2k views

Alternatives to AutoHotKey thats works with Synergy? [closed]

I'm trying to run AutoHotKey with Synergy to share keyboards and mouse on my work machine and gets an awesome custom shortcuts at the same time. But I've expreienced problems as described in this ...
5
votes
2answers
3k views

AutoHotkey: problem assigning CAPS LOCK to ALT-TAB

Yesterday I asked how I could disable or reassign the infamous CAPS LOCK key. The accepted answer pointed me to AutoHotkey, a powerful free, open-source utility for Windows for automating key strokes ...