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
1answer
53 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
36 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
19 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
64 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
30 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
541 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
21 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
45 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
29 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
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
1answer
44 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
44 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
36 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
28 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
41 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
27 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
26 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
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
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
47 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
13 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
42 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
38 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
72 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
0
votes
2answers
46 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
23 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
138 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
0answers
38 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
38 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
84 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
24 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
45 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
137 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
43 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 ...
0
votes
2answers
57 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 ...
1
vote
1answer
48 views

How to replace letter keys, say v using autohotkey?

One of the letters on my keyboard, v is not working and since I am on windows 7, tried using autohotkey to replace this letter with another key combination like win+c or alt+c. But that is somehow ...
0
votes
1answer
26 views

AHK build “central” of keyboard shortcuts

I would like to have a universal shortcut, either on the computer as a whole or just in some limited programs (like for example only when chrome is active). (PS. I use AHK language here, so ^ is ctrl ...
0
votes
1answer
23 views

Tab trigger action in certain program

What is wrong with this script? Here is the code and waht i try to accomplish TAB:: IfWinActive, MyLfeOrganized Send ^!{Right} return Where ^! is shift and alt key at the same time.
-1
votes
1answer
58 views

How to type exactly in Excel sheet what I am typing in any other program using autohotkey?

I have to fill some information in some online forms as customer name, his address, his phone no and his father's name etc. I want that what I am filling in that online form should be automatically ...
1
vote
1answer
80 views

Allow Synaptics Touchpad Windows-Key Window Snapping

I was dying to find an easy way to do the Windows-Key + Arrow window snapping functions using the Synaptics touchpad on my Lenovo Yoga 11s. This would be perfect for 3/4 finger swipes left and right ...
0
votes
0answers
19 views

ctrl+tab in autohotkey moves two tabs forward instead of one in Pdf-x viewer

I have successfully assigned the shortcut control and tab to one single key to be used in different programs. It works perfectly in Internet Explorer and Firefox but it does not work in PDF_X viewer. ...
0
votes
0answers
14 views

How to use only alt+control combination as a hotkey replacement?

Since I have no "AppsKey" / "Menu Key" in my keyboard (which is very frustrating, Dell, in your Inspiron 7000 15 !!!), so I created this hotkey: LAlt & LWin:: Keywait, LWin Keywait, LAlt ...
0
votes
1answer
322 views

CM Devastator Keyboard - Turn On Backlight, Turn OFF Scroll Lock

So I recently purchased a CM Devastator keyboard, which has a LED backlight. The catch is, that the backlight is toggled with the ScrollLock key. So you have to have ScrollLock "On" in order to have ...
0
votes
1answer
128 views

AutoHotkey Script for repeating key in background chrome tab

So what I want to do is when I press on a key A/B L/R/U/D I want to send that keystroke both to whatever I'm working on as well as to this Pokemon yellow game. Here's the script so far: Left:: Send ...
0
votes
1answer
105 views

How to send cell by cell data from a excel (xslx) file by using single hotkey every time?

I am trying to send data from a excel file to some another file by using Loop (read file contents) command in autohotkey. But it is not working. As I made a script which is as follows: FileRead, ...
1
vote
1answer
66 views

Send Key in AutoHotKey without recursion

I want to override F1 but use SHIFT+F1 as F1 Okay what does this mean? I want to override F1 with my personal AHK command F1::Run C:\..\foo.exe But there are apps where I need the default F1 key. ...
2
votes
1answer
474 views

Disable right click in windows chrome

I am trying to run chrome in kiosk mode and disable right clicking. I'm using a autohotkey script on startup and my current script is below: #NoTrayIcon RButton::Return Run , C:\Program Files ...
0
votes
1answer
25 views

AHK ^{BS}:: gives an error

I want to execute this script in my program MyLifeOrganized since it's bug. Here is what I want to do: ^{Del}:: Send ^{Shift Down} Send {Left} Send {Shift Up} Send {Del} return What's wrong? It ...