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 ...

learn more… | top users | synonyms (2)

1
vote
1answer
48 views

Why did windows change the elevation requirements of my AutoHotKey script, and how can I prevent such in the future?

I was working on an AutoHotKey (AHK) script to create prefab mouse movements for a very simple model viewer. I worked on it for a good hour. I zipped the script, posted it to a forum, and thought "oh ...
0
votes
1answer
32 views

Keyboard Hotkey/Macro Software [on hold]

Im looking for a simple easy-to-use software, that can do the following for me: When I hold down spacebar, it actually taps it (click down, release, click down, release... etc.) And then stops when I ...
2
votes
0answers
24 views

Open TCP/IPv4 properties with Autohotkey

I have the following Autohotkey mapping to attempt to open the Open TCP/IPv4 properties: #w:: Run ::{7007acc7-3202-11d1-aad2-00805fc1270e},, max WinWaitActive, Network Connections Send ...
12
votes
2answers
2k views

Control Chrome completely with the keyboard

Chrome has generally great keyboard support, but there are a few things that you can't do with the keyboard in Chrome: Open the previous page in a new tab. (Ctrl-click on the back button does this, ...
2
votes
1answer
2k views

Windows 8 not running autohotkey script on startup

I am running Windows 8.1 Pro (RTM) 64bit and made a shortcut to a autohotkey script in shell:startup. (Alt-drag and dropped the script into there to create a shortcut) Autohotkey is set to run as ...
0
votes
1answer
78 views

Autohotkey watch folder for new file

I'm trying to watch a folder for new changes then execute key presses. Here's what I have so far: #j:: Loop 5 { Send ^!{c} ; watch and wait folder path until a new file is added Send ...
0
votes
1answer
44 views

Paste clipboard content into inputbox

is it possible to have a script paste clipboard content into an inputbox? I have had no success yet. Every time the inputbox pops up, it seems to interrupt the script and the code that`s supposed to ...
0
votes
2answers
24 views

Autohotkey, how to define window-version sensitive hotkey?

I try to define Win+1 to launch some application on Windows XP, but don't want such behavior on Win7+. How can I do that? The following snippet will cause Windows 7 to show "Trigger on Win 5.x" box ...
1
vote
1answer
2k views

How to loop AHK by user input?

Is there a way to loop a certain script using user input with INPUTBOX? The script below runs only once when I click the button for it. Is there any way for the script to popup something where it ...
0
votes
1answer
84 views

Chrome hotkey to move horizontal bar to the very right

Whenever I open a small window in Chrome that has a horizontal bar I would like to have a keyboard shortcut to move that bar to the very right. How can I do that?
-2
votes
1answer
31 views

AHK Anagram solver [closed]

I'm trying to make a "real time" anagram solver, but the only way I can think of is gonna take AGES to make. for example with the word tree: ::reet::tree ::eret::tree ::eert::tree ::teer::tree ...
4
votes
3answers
2k views

Add Right-Click Save as PDF in Windows Explorer

I'm looking for a way to be able to add some options to the Right Click Context menu in Windows 7. I really don't have much experience in programming much but I am very eager and willing to learn. ...
0
votes
2answers
989 views

How to escape a modifier symbol to remap the key in Autohotkey?

I want to remap "<" key in Autohotkey. But "<" symbol is a modifier symbol. Therefore Autohotkey doesn't remap it like a normal key: CapsLock & <::Send {`&} How to escape a ...
1
vote
2answers
892 views

How to run AutoHotKey script as an admin every time a user logs in?

I have computers where quite a few users log in. I want to restrict the usage to a maximum of 12 hours after which an ahk script logs off the user. I have the following solution but couldn't figure ...
1
vote
1answer
63 views

Paste to text file script

I'd like to use AHK to create the following program: I highlight some text, and hit ctrl+c. I hit the keyboard shortcut, say #c Notepad++ creates a new text file with the content, and promts me to ...
1
vote
1answer
544 views

Autohotkey key sequence not detected (win-alt-enter) '#' and '!' getting ignored

I am trying to remap the MCE remote green button that sends win-alt-enter (confirmed same LWin, LAlt, and Enter being sent) to just the windows key (LWin is fine). I found #!Enter:: on several forums ...
0
votes
0answers
22 views

Autohotkey, possible to override ESC close Window? override close window only

Some application closes its window when user press ESC, and I'd like to have Autohotkey override that behavior, that is, leave the window there on ESC press. I tried something like this: ...
0
votes
1answer
48 views

Autohotkey, cycle through multiple matched window, is it possible?

I use the following autohotkey commands to bring EmEditor(a great text editor) to foreground. ^#1:: WinActivate, ahk_class EmEditorMainFrame3 However, when there are more than one EmEditor ...
0
votes
1answer
46 views

ahk script tweak for 2 instances

I’m trying to create two different hotkeys that launch two independent instances of an application. When the second one is open a “[2]” is added to the title of the Window, which is very useful to me. ...
0
votes
1answer
38 views

ahk WinMove not working in a faster machine

is it possible that in a faster machine AHK WinMove feature does not working and needs something else? I'm positive that the same script works in other slower computers, that means arrange my screens ...
0
votes
2answers
46 views

Autohotkey variable does not get expanded, simple but baffling

Please help check my Autohotkey(1.1.13.01) script: #!r:: Reload Sleep 1000 MsgBox, 4,, The script could not be reloaded. Open it for editing? IfMsgBox, Yes, Edit return global gg := 10 #!t:: MsgBox ...
0
votes
2answers
22 views

AutoHotKey WinText to close certain window (error) when WinTitle is duplicated

I am trying to make an autohotkey script that automatically kills an error screen on a program (as it schedules a lot and it blocks all the scheduled items), but the error has the same title name as ...
0
votes
3answers
31 views

Move E-mails into specific folder using keyboard shortcut in Outlook 2010

I am looking for a way to move e-mails in Outlook to a specific folder. For example: Windows+M - Will automatically move highlighted messages into "FOLDERA" without any popups or anything. I ...
1
vote
4answers
771 views

Can't run telnet in console opened by Autohotkey

I have enabled the telnet client on my Windows 7 64-bit machine and if I open the start menu and launch cmd from there I can run telnet. I normally use the keyboard shortcut Win-C, implemented by ...
1
vote
1answer
45 views

How to remap Caps Lock to Ctrl using AutoHotKey for Cygwin only?

If there is a way to remap Caps Lock to Ctrl using AutoHotKey for Cygwin only in Windows 7? I can do it with the following script for all programs: Capslock::Control But how can make the key ...
0
votes
0answers
37 views

Open a Windows 8 app with AutoHotKey

I'd like to make an autohotkey script to open or minimize a Windows 8 app which plays music (depending on if it's already open or not). I've tried directly launching the modern app's .exe with ...
1
vote
2answers
3k views

Hit one key to hold a second key down, until third is pressed

I'm trying to get the following behavior with AutoHotKey: When the A key is pressed, AHK holds down the S key until the D key is pressed. The following script isn't working as expected: a:: Send ...
0
votes
1answer
29 views

Autohotkey: How to get a command to act as a key?

Due to two keys being broken I want to be able to make the 'I' and 'O' to be mapped to a command, so for example mapping 'O' to ALT+P or something. Thanks (noob at autohotkey)
0
votes
2answers
920 views

How to get the AHK Visible Window Text from Putty?

Is there a way to retrieve the contents of the Putty buffer from an AutoHotKey script? For many applications, WinGetText works, but it doesn't seem to for Putty. Also, the AHK Windows Spy doesn't ...
0
votes
0answers
27 views

Search color in specified area with AutoHotKey

I'm trying to make an AHK script and I need help with these points: Search on color within specified Area Auto click on specified color when detected on specified area Target a window in the ...
2
votes
2answers
3k 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?
4
votes
6answers
4k views

How to toggle the auto-hide status of the Windows taskbar

I use Windows 8 on my desktop. Currently I have to move my mouse over the taskbar, right click, click on properties, click on auto-hide the taskbar, and then click OK. This is a real pain if you want ...
3
votes
4answers
2k views

IDE/GUI for Autohotkey script creation

I have many non-technical minded friends who could benefit greatly from the customisability of AHK but who are scared of the concept of scripting. Just wondering if there already exists some user ...
0
votes
1answer
32 views

windows 8 bind button to > and < mark

I am trying to rebind few buttons under windows 8.1 to get them working like they work under ubuntu. I have this layout on my laptop keyboard. I am trying to map , and . keys (1/2 buttons right from ...
0
votes
2answers
147 views

What terms in my regex should I use in place of /b to not be subject to interference by control characters in MS Word or its brethern?

I am using Dynamic Hotstrings as part of my implementation of AutoHotkey. It has been an invaluable tool in the learning of Regular Expressions. Currently I use it heavily for text expansion within ...
0
votes
0answers
21 views

How can I override commands with autohotkeys

I want pressing the windows key and then the letter "l" to open a folder. I used autohotkeys to let me do it. When I do that command it locks my computer and then opens the folder. How can I use ...
0
votes
1answer
48 views

batch file to run two application and when 1st app closed, other will be close too

Its a game called SubwaySurfer for pc, to run it through your keyboard we need to set autohotkey, what I need is when user click to play a game the autohotkey file will be run too, and when the game ...
0
votes
0answers
14 views

AutoHotkey - Flip a square area horizontally (only flip a square area inside my screen)

Is it possible to get a square area flipped horizontally, I know this is kinda rare task, but its important, I guess the only way to achieve this is via Autohotkey, so, hope you could help me, thanks ...
0
votes
1answer
174 views

How to make backspace key in Windows 8 Explorer get me to parent folder instead of going back in history? [revamped] [duplicate]

Posting the same question from another user, but for windows 8 instead. In Windows XP, Backspace (aka ←) key leads you to the parent folder, but in Windows 8 it just goes back in history. How do I ...
57
votes
6answers
87k views

How can I open a command prompt in current folder with a keyboard shortcut?

How can I open a command prompt in current folder with a keyboard shortcut in Windows 7? Is there any way to implement this? I think Autohotkey could do this, but don't know how.
0
votes
1answer
44 views

Force Windows 8 to use touchpad as single-button?

I have an Asus V551L laptop with Windows 8. It's a great, medium-grade laptop, but the touchpad is driving me nuts. I'm constantly accidentally triggering right-clicks, since the touchpad doesn't ...
0
votes
2answers
59 views

How to speed up the “Search Everything” main functionality

The "Search Everything" (http://www.voidtools.com/) is a fantastic free software, but it lacks a very basic thing, which is to "Search within the current path". Currently, if you wanted to search for ...
0
votes
3answers
464 views

How do I send a keyboard layout switch event with autohotkey in Windows 7?

I want to remap the keyboard layout/language switching to Win+Space, I tried it with: LWin & Space::Send, ^+ But it doesn't seem to work, I would want it to send a Ctrl+Shift sequence so ...
0
votes
0answers
45 views

autohotkey KeyWait, intercepting pressed key

I'm writing an autohotkey script to type spanish/portuguese symbols like á,ã,à. a:: KeyWait, a, U KeyWait, a, D T0.1 if ErrorLevel { Suspend, on sendinput, a Suspend, off return } ...
0
votes
0answers
75 views

autohotkey - controlsend - need help as a noobie

i want my script to send keystrokes to a minimized or background window. i know for experinced people this is like a piece of cake, but for me it s a real pain. i have a couple of problems; -the ...
1
vote
1answer
23 views

How to remap Enter as a right control modifier in Win 8.1?

I did this with keyRemap4macbook on OSX. Enter alone works as Enter but Enter+Key becomes Ctrl+Key. How do I do this in Windows?
0
votes
1answer
14 views

How to make a custom key modifier?

Im trying to create a script that will make the Left mouse button press the tilde key (`) while (x) is being held down and return to left clicking once i release the (x) button
21
votes
4answers
25k views

Where can I find a macro recorder for Autohotkey?

I used a macro recorder for AutoHotkey in the past, but now I can't seem to find it at all.
0
votes
2answers
183 views

Replicate user action in Windows?

Is it possible somehow to record user action fully and replicate it on any other machine? Not just repeat user input (key press, mouse clicks/movement), but capture actual system "objects" (e.g., GUI ...
0
votes
2answers
48 views

Remap Mouse Wheel to Click/Key when other Key pressed down

I'm trying to remap my Mouse Wheel Up to send Click or Key while another key is pressed down. Example: Shift is pressed down => Scrolling Up sends Click, Shift is not pressed down => Scrolling Up ...