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
0answers
62 views

Howto increase width of Address toolbar history dropdown?

I found "Address" toolbar of the Win7 taskbar useful to choose any address from history dropdown, e.g. folder that you wish to open. So in 2 clicks you open any frequently used folder, without the ...
1
vote
0answers
120 views

How to use Windows key in Autohotkey as part of a macro

I have been using autohotkey on a terminal with 122 keys. I remapped the keys so that their original funky uses are now much closer to normal modern computers. I also mapped a scancode to Windows ...
-1
votes
1answer
73 views

Hotkey preventing variable assignment?

I know I'm missing something obvious but I can't figure out why this doesn't work. Why doesn't hello show up in the first msgbox I know it says the variable isn't assigned if I uncomment #Warn but it ...
1
vote
1answer
419 views

Language-independent keyboard shortcut to create a new text file

I need a locale-independent solution to create a new text file with a keyboard shortcut in Windows 7. I've tried AutoHotkey to create shortcut in Windows 7 for text file creation in current window of ...
1
vote
1answer
120 views

How can I remap a key to itself followed by another key after a short delay?

How do I remap key so that when I press 2 or 3 it actually types 2q or 3q with a 50ms delay between the number and the letter? This doesn't work: 2:: send 2 sleep, 30 send q
0
votes
1answer
186 views

Autohotkey login to Yahoo mail

How do I have Autohotkey run my yahoo mail account AND enter my password with one hotkey? I can get it to bring up the Yahoo login page, but not enter my password.
0
votes
1answer
39 views

Autohotkey's text expansion not working in gVim

All other hotkeys are working, but a simple expansion like the following are not working. :*:po::p{^}o :oc:win::Windows They work fine on terminals and other applications, just not in gVim. I ...
0
votes
1answer
134 views

How do I remap Shift+Space+Lbutton to Alt+Rbutton with AutoHotkey?

I'm trying to remap a software shortcut, namely ShiftSpaceLbutton to AltRbutton. I tried this: +SpaceLbutton::!Rbutton I want to do a hold down and release.
1
vote
2answers
293 views

How can I undo a key remapping?

A few days ago I was exploring options to remap my CapsLock key to control, and I found a little script online which accomplished this. I ran it, restarted my machine, and everything worked great. I ...
0
votes
1answer
200 views

How to disable autohotkey in visual studio? [duplicate]

I would like to have an AHK script be disabled when I have the Microsoft Visual Studio window activated (basically, when I'm in it). How could I do that? #IfWinNotActive Model (Debugging) - ...
0
votes
1answer
326 views

How to map Capslock to CTRL+SHIFT+B?

I'm new to AutoHotKey, and I'm trying to map Caps Lock to Ctrl+Shift+B. My attempt: Capslock::^+b return I have done this by right clicking on the AHK window and editing script, which is in My ...
1
vote
2answers
583 views

Using CapsLock LED for other purposes

Currently I use following autohotkey script to change keyboard layout using the CapsLock button. SetCapsLockState, AlwaysOff +CapsLock::CapsLock #SingleInstance force CapsLock::Send, ...
1
vote
1answer
497 views

AutoHotKey - change mouse position and click a specific key every time window comes up

I'm a newbie to AHK, learning the basics. I'm using Notepad as an example - I want to hit the Cancel key every time I close Notepad and it asks if I want to Save/Don't Save/Cancel. I've come up with ...
1
vote
1answer
848 views

AutoHotKey script to automatically close a window when it opens

How can I use AutoHotKey to automatically close a pop up window called Microsoft Office Wizard every time it pops up. The window can be closed using Alt+F4 or by clicking on a Close button. I'd like ...
2
votes
1answer
467 views

How to send ctrl key press with Auto Hotkey

I am trying to map a mouse button to mimic a single press of a ctrl key on the keyboard. (ctrl is used in a game I am playing to toggle displaying some extra info on the screen) I've tried this but ...
-4
votes
1answer
210 views

AHK script to toggle hidden folders in Windows 8? [closed]

I need an .ahk script that Will allow me to toggle hidden folders/files via Super + H Unfortunately I don't know how to script/program. Can anyone cook up a script for me that will do so?
0
votes
2answers
236 views

VLC & AutoHotKey

Is there a way in AutoHotkey can findout if VLC is playing anything or not? my purpose is it only send FullScreen key F and Aspect Ratio key A if VLC is playing something if not wait for it to play ...
1
vote
1answer
2k views

AutoHotkey disable Alt+Tab, Winkey, Ctrl+Alt+Delete for kiosk mode

I am booting a Windows 8 PC into Chrome with "--kiosk" added to the path so I have kiosk mode enabled. Now I need to disable every key that would allow the user to exit the kiosk mode. So far I have ...
0
votes
1answer
138 views

How to run AutoHotkey.exe in the foreground?

This command returns before my script is finished: autohotkey myscript.ahk parm1 parm2 How do I run this in the foreground (not exit until done)?
0
votes
3answers
2k views

Remapping Win+Tab to Ctrl+Alt+Tab with Autohotkey?

I'm trying to remap Win+Tab to Ctrl+Alt+Tab using Autohotkey, in a way that each time I hit Win+Tab, it would send Ctrl+Alt+Tab instead. I have this so far, but I'm not sure why it isn't working. I ...
0
votes
0answers
326 views

Autohotkey when station locked

I'd like to be able to use hotkeys to run scripts when the screen is locked. I have: ^!p::Run, D:\path\to\my\script.bat But if the computer is locked it won't run. I'm running Win7 64.
1
vote
1answer
182 views

Map Page Up, Page Down and Num Lock just for Excel with Autohotkey

I would like to map these keys to the corresponding text: Page Up ( Page Down ) Num Lock = I want to do this with Autohotkey but I'm having a hard time figuring out the script. I also only want ...
1
vote
1answer
86 views

Replace right control with right click

In my laptop, right click button is missing. Also, I don't use right Control and right Alt. So, I want to replace right Control with a right click using AutoHotKey. Is it possible? How can I do this?
-1
votes
1answer
81 views

What key combinations are really convenient and not reserved by most programs (i.e., suitable for binds)? [closed]

I don't like 3-key combinations; two is the max. I've tried using numpad but my hand is almost never on that side of the KB, so I think I'll shift to the left side. I know that I don't want to ...
0
votes
1answer
283 views

Make a key behave as a switch or a normal key based on how long it was kept pressed down, using AutoHotKey

I am currently using AutoHotKey to simulate the Happy Hacking Keyboard Pro 2 keys mapping on a Topre Realforce 89s. The script I created is available on github. I've used the Japanese key "muhenkan" ...
2
votes
1answer
237 views

AutoHotkey: While 2 keys are pressed = press 3rd key?

In AutoHotkey, how can I do the following: While Space and W are pressed down at the same time, send LShift every X milliseconds; do this until Space and W both are released. I'm a beginner; what I ...
0
votes
0answers
62 views

Making Windows Up/Down Arrows Behave Like OSX

In any text box in OSX, the up and down arrows move the cursor up or down a line, as expected. On the last line, though, pressing the down arrow behaves like the "End" key, moving the cursor to the ...
0
votes
1answer
329 views

Shortcut for toggling the space bar's function

I'm trying to make an AutoHotkey script for making Ctrl+Space toggle the space bar's function. The default function is space. When Ctrl+Space is pressed, the function changes to em space. Search em ...
1
vote
1answer
395 views

Move mouse pointer to caret with shortcut (in Win8)?

OK, so here is the problem: Is there a way to use a keyboard shortcut to move my mouse pointer to above the caret in a specific program on Windows 8? I am trying to devise an AutoHotkey script to do ...
0
votes
1answer
167 views

using autohotkey to get information about controls or widgets in a window

I was inspired by projects like Vimium and Vimperator which are used to navigate web pages very fast by follwings hints to links which can be entered easily through keyboard. Now , I want to extend ...
1
vote
1answer
2k views

Hotkey only in a specific window

I want configure the key ENTER so when I press it only in a program (Bluestack app player), the mouse move at a certain position and make click. This is because when I press ENTER, in WHATSAP, makes ...
0
votes
1answer
51 views

How to use 3 different possible combinations in AutoHotkey?

I want to use these three hotkeys: - left shift and wheeldown to scroll down twice - left control and wheel down to scroll down 4 times - left shift and left control and wheeldown to scroll down 8 ...
0
votes
1answer
2k views

Autohotkey - Want to launch program and bring it's window to the front

I want an Autohotkey script which launches a new instance of Chrome and brings that new window to the forefront (active window). My script is: #c:: Run "C:\Program Files ...
0
votes
1answer
193 views

Hot key combo to submit simultaneous Tab plus Enter

I need to create a key combo, preferably Right Shift+Enter that will actually submit a simultaneous press of 'tab plus enter'. The hotkey combo can be any combo that can be done with the right hand, ...
1
vote
0answers
347 views

Submit button in Autohotkey GUI based on dropdown

Via autohotkey I'm trying to Read the contents from a dropdown box Present the content to the user in a AHK GUI dropdown box Select the correct item in the original dropdown box via the input ...
0
votes
1answer
88 views

Is there a way to open an Outlook Desktop Alert with the keyboard?

I'm wondering if there is a way to open an Outlook Desktop Alert with the keyboard. If not I will probably create a handler via an AutoHotKey script, could there be a better solution?
4
votes
1answer
2k views

Remap Caps Lock in Windows (escape *and* control) [duplicate]

There's plenty of utilities that remap keys, but I can't seem to find a very specific feature: I want to have caps lock act as the control modifier key when held down, but as escape when pressed on ...
-1
votes
2answers
145 views

How do I use autohotkey to make lshift and n do page down and 1

I want to bind Left Shift + N to PgDn + 1. How do I do this in AutoHotKey? I've tried so many things but I can't get it right.
0
votes
2answers
287 views

Autohotkey: remap dead key+letter combination

I'm trying to use Autohotkey to map ´+a to something different than the á that is expected in my Spanish keyboard. This thread gives me the impression that it is not possible, but I'm just a ...
0
votes
1answer
269 views

Using Autohotkey for Emacs

I am using emacs in Cygwin and have used Autohotkey to re-map the lefthand 'Alt' key and the lefthand 'Windows' key to be (left)Ctrl and (left)Alt respectively. This means that an emacs sequence like ...
1
vote
1answer
728 views

Use Autohotkey to remap the left shift to “(” and the right shift to “)”, but I still want to to use either of the shift keys with other keys

Use Autohotkey to remap the left shift to ( and the right shift to ), but I still want to to use either of the shift keys with other keys. So if I tap the left shift, I'd like ( to appear. If I hold ...
0
votes
1answer
144 views

Hotkey with simple colon “:” autohotkey

Why my script isn't working ? <^>!::: { MsgBox You pressed AltGr+: Return }
1
vote
1answer
130 views

AutoHotKey: shift rbutton Control C trouble

I would like to remap Shift+RButton to Shift+LButton on the mouse. Then, at the release of RButton, send Ctrl+C in order to copy my highlighted selection. So far, the best I have come up with is ...
0
votes
1answer
263 views

How to get AutoHotkey to capture Right Windows Key

I have some AutoHotKey scripts that use or override some of the Win+char combinations. On my laptop or work keyboard, where I only have 1 windows key, these work fine. On my home desktop, my ...
0
votes
0answers
137 views

Autohotkey - get recording Volume of default device's mic

I have already googled and found this: http://www.autohotkey.com/board/topic/21984-vista-audio-control-functions/. But this library dont gives what i want: i want to get the real-time recording volume ...
0
votes
1answer
299 views

How to trigger an AHK's functionality

I'm new to AHK scripts and I would like to be able to press #n (windows key + n) and trigger a series of keyboard combinations (shift + end, alt + tab, ^T, ^V, enter, tab, enter) each time I press ...
0
votes
0answers
140 views

Typeing an Unicode charatcter using autohotkey

How can I use AotoHotKey to replace rRR with U+200E character? I tried ::rRR::Send {U+200F} and ::rRR::{U+200F} but they do not works.
0
votes
2answers
125 views

Autohotkey bind (CapsLock+D+J) to (Delete)

I'm trying to overload my keyboard. CapsLock & J::Send {Left} ..is the left arrow, you can guess the other directions. CapsLock & H::Send ^{Left} ..is jump word left. I started adding a lot ...
0
votes
0answers
170 views

Binding Shift to x using AutoHotkey

I'm trying to switch my left shift+ button with my x+ key on the keyboard. I tried Lshift::x but what happened was BOTH keys now had the functionality of just x. I looked at Problem with rebinding ...
0
votes
1answer
66 views

Remapping hotkeys

I want to remap Ctrl + Y to Ctrl + Shift + Z Could I get any assistance?