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)

0
votes
0answers
72 views

PostMessage goes wrong if I press CTRL or SHIFT

HoldLeftClick(600, 400, 4000, WindowName) ; ( coord x, coord y, delay in ms, window name where to hold left click) HoldLeftClick(x, y, delay, Window) { PostMessage, 0x201, , ((y<<16)^x), , ...
0
votes
0answers
20 views

Autohotkey GroupActivate MRU behavior discrepancy, any way to fix?

Please check my small test script: ; script start prepare_group() !#r:: reload F9:: GroupActivate, regroup, R ; MRU behavior broken F12:: GroupActivate, clgroup, R ; This behavior is correct ...
1
vote
1answer
105 views

In AHK, how can I create a new Chrome browser window and activate it

I would like to create a new Chrome window with the following AutoHotKey script: #c:: Run, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "--profile-directory=Default",,,PID ...
0
votes
0answers
39 views

Autohotkey complete mapping of arrows

I have this code so far using autohotkey (.ahk) !k::SendInput,{UP} !j::SendInput,{LEFT} !æ::SendInput,{RIGHT} !l::SendInput,{DOWN} which correctly maps my arrow keys to j,k,l,æ accordingly. (æ is ...
0
votes
1answer
81 views

Make Sikuli run on a separate virtual screen

I'm using Sikuli to create scripts that run using screen captures. How could I make a sikuli script run in a separate virtual screen in order to be able to use my computer when a script is running? ...
0
votes
0answers
17 views

how to to set focus on a form entry in Outlook using autohotkey?

I would like to bind a key to jump to Outlook (2013) and set the focus on a specific entry field (Search People below): Right now I managed to do this by creating a People Search entry in the Quick ...
1
vote
0answers
43 views

Autohotkey, why does this Windows Explorer Backspace hotkey not trigger itself, even without a $ prefix

In this howtogeek post, there is a snippet like this, use Backspace to go up one folder level in Windows Explorer: #IfWinActive, ahk_class CabinetWClass ; Please run on Windows 7+ Backspace:: ...
0
votes
0answers
29 views

remapping DEL key with Right Alt

via Autohotkey I can remap many keys to be used in combination with Right Alt, but I cannot make it with the letter DEL RAlt & o:: Send {DEL} works for the first time but cannot be repeated ...
0
votes
0answers
43 views

Sync vertical scroll between office word 2013 and nitro reader or adobe reader

I would like to be able to vertically scroll between office word 2013 and nitro reader or adobe reader at the same time. I'd prefer to use the mouse wheel to do. i find this autohotkey code for ...
0
votes
0answers
33 views

Remapping key for a Samsung bluetooth keyboard [duplicate]

Just received a brand new Samsung bluetooth keyboard (EE-BT550NBEGSE) which works great but when connected to my laptop I'm really missing the Windows key-function. Instead, there's this "moving ...
1
vote
4answers
200 views

Autohotkey, use F1 as prefix key but do NOT block Ctrl+F1, Shift+F1 etc

Using the following statement, F1 & F9:: Msgbox, Got F1+F9 I can successfully use F1 as a prefix hotkey, quite a useful feature. However, I quickly find that Ctrl+F1, Shift+F1 etc lose their ...
1
vote
0answers
19 views

Autohotkey, how to dectect key release when that key is used as a prefix

I have a concise question with the script below: global Eme_Fn_idle := true F1 UP:: MsgBox, F1_up ; ★I wish to see this after pressing and releaseing F1+F9 Eme_Fn_idle = true return F1 ...
0
votes
1answer
49 views

Keyboard Hotkey/Macro Software [closed]

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
49 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 ...
0
votes
1answer
171 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
78 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
36 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 ...
0
votes
1answer
110 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?
-1
votes
1answer
65 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 ...
1
vote
1answer
610 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
28 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
95 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
3answers
102 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 ...
0
votes
2answers
50 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
1answer
64 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
2answers
64 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
1answer
77 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
0answers
76 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
1answer
112 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
1answer
34 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
0answers
99 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 ...
0
votes
1answer
35 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
0answers
23 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
76 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
21 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
60 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
0answers
168 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
116 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
33 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?
1
vote
1answer
55 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
0
votes
2answers
234 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 ...
0
votes
0answers
39 views

Mac Trackpad + Wireless Trackpad and natural scrolling in Visual Studio

I got used to natural scrolling on OSX, and I'd like to enjoy the same in Windows (using Bootcamp; of course it already works under Parallels) I have a partial solution working, which is using ...
0
votes
1answer
1k views

How to lock screen from command line in Windows 8.1

The following command is mentioned around other places: rundll32.exe user32.dll,LockWorkStation or C:\Windows\System32\rundll32.exe user32.dll,LockWorkStation but I couldn't make the command ...
2
votes
1answer
75 views

Getting RegEx Code for File Name Change

Good Day Please help to find the right RegEx or other code for changing file name. Many subtitle files I have unnecessary character. I need to rename in my expectation format. Here the example Raw ...
0
votes
0answers
45 views

Mark which cell data has been sent from a csv file in AutoHotKey

I have a script by which I can send cell by cell data to another file by single hot key. As the script is as follows- FileRead, fileData, D:\DATAFILE.csv lineindex := 1 f1:: Loop, Parse, ...
0
votes
1answer
216 views

Automatically set Firefox windows position and size with AHK

I want a script that automatically sets a position/size for each new window I open on Firefox, since I hate how when you open a new windows it's position is relative to the last window of the program ...
1
vote
1answer
45 views

How to use the ctrl ^ key with autohotkey

thank you all in advance. I am trying to send a hotkey, which is user defined and save in an ini file, to a game. The ini file is working as intended, and the hotkeys are being returned correct. ...
0
votes
1answer
57 views

Google Chrome update seems to have broken my AutoHotKey scripts to expand text and automate other tasks

A restart of Chrome, this morning, seems to have 'broken' my autohotkey scripts to expand text messages and automate repetitive button pressing sequences. I edit Waze maps and take part in various ...
0
votes
0answers
312 views

How to bind DualShock 4 controller buttons to keyboard keys using AutoHotKey or similar?

Recently I bought a DualShock 4 controller (for Playstation 4 originally) and connected it to my PC using a third-party application called something like DS4Windows or DS to XInput Mapper. The scripts ...
1
vote
1answer
87 views

How to speed up the “Agent Ransack” main functionality

This question is related with similar problem, in other search type app. (http://superuser.com/questions/830525/how-to-speed-up-the-search-everything-main-functionality) The "Agent Ransack" is a very ...