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
6 views

Autohotkey + custom Latin layout + non-Latin layout

Problem in which neither VK virtual keys nor ScanCodes don't help. Custom Latin layout is default input system. When switching from custom Latin layout to non-Latin layout, in non-Latin mode ...
1
vote
1answer
49 views

Issue with AHK mapping

I'm learning about AutoHotKey The first effort has worked fine !+Up:: MouseClick, left, 340, 65 return This means when I press ALT and shift with the up cursor, my mouse clicks at given ...
1
vote
1answer
50 views

how to get key name of Auto Hot Key

I want to switch input languages by using Henkan and KanaHira keys, these are implemented Japanese keyboard. vk1Csc079:: PostMessage, 0x50, 0, 0x41E041E,, A ; 0x50 is ...
0
votes
1answer
63 views

AHK won't start Vagrant/Cmder on boot/reload?

I have the following AHK script in my startup folder, there's also a few shortcuts before this, they work but this bit doesn't, any idea why I can't startup my dev environment on windows startup? ; ...
1
vote
0answers
13 views

Sniff/Capture where windows hotkeys are coming from [duplicate]

There are some shortcut keys on my windows computer that must be coming from some program. I know that I've installed a couple of "productivity" programs, but for the life of me I can't figure out ...
-1
votes
1answer
69 views

AutoHotKey: copy file from Windows Explorer, paste path to Notepad2

I'm searching for a way to do that. Using ArsClip's Clipboard Bar, I see that when I select a file o Windows Explorer and copy it, its full path is stored on clipboard. If I keep selecting Windows ...
1
vote
2answers
31 views

Remapping “Ctrl Shift Z” as “Ctrl Y” in Excel with AutoHotKey

I'm on Windows 8.1 using MS Excel 2013, and I'm using this AutoHotKey script... $^+z:: SetKeyDelay -1 Send {RCtrl Down}y{RCtrl Up} to remap "Ctrl Shift Z" as "Ctrl Y", in order to ...
-1
votes
0answers
42 views

Launching processes while I sleep

I am an absolute newbie to any advanced working with PC, so I need your help and I hope there is someone who can help me. What I need is "something", that would do work for me while I sleep. My ...
0
votes
3answers
88 views

Keyboard shortcut for creating new file on Windows 7

Can someone please tell me how to create a new keyboard shortcut for creating a new text file? I have installed Autohotkey but I don't know how to specify script. I want to use Ctrl + Alt + N as ...
0
votes
1answer
42 views

Open a new Chrome window with custom URL, then get that same window with Autohotkey?

I'm attempting to open up a Chrome instance with the -app flag, then move that window around and generally do stuff with it. Here's my code: #!NumpadMult:: { Gui, Show , w260 h150, Window title ...
1
vote
1answer
30 views

AutoHotKey two keys for one

I'd like to know how to script so that two keys pressed and held in a specific order will press another key. To be specific I'd like to press tab and then q and receive the output of F1.
2
votes
0answers
21 views

Monitor file change in AutoHotkey without a loop or timer

I am interested in having an .ahk file reloaded automatically whenever it changes. The reason is that I am hosting my .ahk files in Google Drive, and so the script may be changed on a running computer ...
1
vote
1answer
117 views

How can I launch FireFox with no window frame or tabs / address bar?

I am looking for a way to launch Firefox from a script or command line without any window frame, address bar, or tabs. I'd like to be able to launch this at a given window size and position on screen. ...
0
votes
1answer
25 views

AutoHotkey activate vb.net ContextMenu

I use a lot of little vb.net programs (made with VBExpress 2010) and a lot of little AutoHotkey scripts, and I really want them to be able to communicate easily. My prime example is a Me.Hide form ...
2
votes
2answers
83 views

Get Mac-like symbol shortcuts on Windows

So I recently switched from being a life-long Mac user to building my own Windows 10 desktop. There are plenty of things I like but one thing I feel like I'm greatly missing is the ability to easily ...
0
votes
0answers
24 views

AutoHotKey - Send mouse scrolls to active window

What's puzzling me for a while now is how to send a mouse scroll up and down to the active window with AutoHotKey, regardless of the position of the mouse. The examples and information that I've ...
1
vote
1answer
44 views

Generic way to remap every media button

Today I tried to remap some keyboard media keys to more useful functions and failed to do so. The problem The manufacturer doesn't provide a utility to bind and execute custom commands. My ...
0
votes
1answer
23 views

how to select emailadress or www link with doubleclick in autohotkey?

how to select and copy an emailadress or www link by doubleclick at once into clipboard with autohotkey? eg mailadress in a text part of any program. Thanks for any advice Andreas
1
vote
2answers
49 views

Is there a way to exclude multiple titles from GroupAdd?

When I am using a specific program (Dolphin), my Esc hotkey closes it entirely, but I want different functionality for specific (sub-)windows. So far, I've been using #IfWinActive combined with ...
0
votes
1answer
24 views

Few shortcuts and start button become unresponsive for a few seconds after startup

Right after Windows (8.1) starts, I'm able to open folders using the shortcuts I set up in an AHK script, for two to three seconds. But then, few keys become unresponsive: the start button the ...
0
votes
1answer
29 views

Switching tabs in ConEmu with AHK

I'm trying to get ConEmu to switch tabs using custom shortcuts using AHK. ConEmu has two sets of shorts for next/previous tabs. They are ctrl+tab/ctrl+shift+tab and win+q/win+shift+q I tried the ...
1
vote
1answer
110 views

Search in AutoHotkey for a window title that contains a string, but does not contain another string

I have a script that activates sublime text window: #s:: IfWinExist ,Sublime { ifWinActive { WinActivatebottom ,Sublime } else { WinActivate } ...
0
votes
1answer
40 views

A Windows application : Show live output of results(stdout?) of prespecified command

I am looking for a application that works in the following manner : The application shows/has an input area/box. And it runs a pre-specified command/application (using the input as paramas) and ...
0
votes
1answer
59 views

How do I swap ALT and the Windows key in one keyboard but not another?

I am running Bootcamp on a Macbook Air and I swapped Alt with the Windows key so ALT. I also have an external Windows Keyboard but this one has the keys swapped now too. I would like to swap the keys ...
0
votes
0answers
46 views

AutoHotkey scrip for horizontal scrolling in excel not working for graphs

I am using this script for horizontal scrolling using shift + mousewheel for excel: #IfWinActive, ahk_class XLMAIN +WheelDown::ComObjActive("Excel.Application").ActiveWindow.SmallScroll(0,0,3,0) ...
0
votes
1answer
40 views

How to break an autohotkey loop when app closes

I have an autohotkey to enter some keystrokes repeatedly into an old script. I don't know beforehand how long it will go on, so I have this script: #NoEnv ^m:: Loop { if (BreakLoop = 1) break ...
0
votes
1answer
76 views

Display turns on after I turn it off with AutoHotkey command

I use these two shortcuts to turn off the display: Launch_Mail:: #T:: SendMessage, 0x112, 0xF170, 2,, Program Manager However, not infrequently, the display turns back on instantly after I use this ...
0
votes
1answer
41 views

How to change hotkey when pressed using AutoHotKey?

Basically, I'm looking for a way to, when a key combination is pressed, one set of hotkeys is activated, when that key is pressed again, a different set of hotkeys is activated, and the script is in ...
0
votes
1answer
60 views

What is the best way to automate Windows at a high level? [closed]

I have been using AHK for a while, but since it is mainly for hotkeys I am wondering if there is something more powerful out there.
1
vote
2answers
62 views

Move mouse pointer to typing area

Windows contains settings to hide mouse pointer while typing, but doesn't contains a settings to move pointer to active typing area. I mean I can switch typing areas by tab, or enter, or alt+tab, etc. ...
0
votes
1answer
21 views

Autohotkey right-side prefix out-of-bound effect, correct behavior?

I encounter a problem, illustrated as in this little snippet: #IfWinActive ahk_class Notepad ^a:: MsgBox, Ctrl+A press in notepad #IfWinActive #IfWinActive ahk_class ConsoleWindowClass >^a:: ...
1
vote
0answers
37 views

AutoHotkey autoclick and save images with custom picturename every time [closed]

has someone an idea for a autohotkey script which clicks always on the same button and position go to coordinates over a picture make right click and press save as graphics give in a custom filename ...
0
votes
1answer
36 views

Autohotkey and DCS A-10C flight sim

I've set up Autohotkey to start DCS A-10C but when starting, it throws an error that it can't open .\MissionEditor\MissionEditor.lua Autohotkey Run, "D:\GAMES\Eagle Dynamics\DCS ...
1
vote
2answers
35 views

Ignore Windows-L key and Send L (unpress Windows key)

I would like Windows-L to behave just like L. I have tried #L::L But this will not unpress the Windows key, so it's kind of a loop and does not do anything. How can I unpress the Windows key? ...
0
votes
2answers
31 views

Autohotkey angle bracket

Hi I start use autohotkey, I have a simple script to run cmd and execute some command, like this: echo ^Q>COM5 Autohotkey script: run cmd.exe WinWait, ahk_exe cmd.exe ; Send ECHO ...
0
votes
3answers
456 views

AutoHotkey scrolling & middle click & mouse acceleration

Problems Assume a Windows 7 machine, especially a laptop. No mouse driver allows holding down the right mouse button and moving the mouse to scroll, and yet retain the right mouse button ...
2
votes
1answer
82 views

Media keys replaced by F#, how to fix?

I recently got a new bluetooth keyboard that works fine, except for the Media keys. All of the keys in the f# row are acting as f1-f12 keys, regardless of whether the fn key is pressed or not. Is ...
0
votes
1answer
38 views

AHK, where is the end if? (e.g. #IfWinActive keybinds)

An excerpt from AHK doc: How can a hotkey or hotstring be made exclusive to certain program(s)? In other words, I want a certain key to act as it normally does except when a specific window ...
1
vote
1answer
31 views

AHK key combo, or an application which is capable of changing screen resolutions, in windows 7

I have a 4K television (and a Steam Controller) and I need to swap between display modes depending on what I am doing with the TV: 4K @60Hz (4:2:2), PC gaming, 4K video playback 4K @30Hz (4:4:4), ...
-1
votes
1answer
74 views

How can I write an Autohotkey script that acts like both mouse buttons are continuously held down, if I hold down one mouse button?

1st time post here. So I have this script so far. CAPSLOCK::Suspend lbutton:: ; { MouseCLick, Left MouseClick, Right } I wanted to have my left click act as if i'm clicking both left click and ...
1
vote
1answer
238 views

How to get current timestamp in VLC player without using gui?

I need to automate vlc player and need to get current timestamp for that. Is there any way to do that?
0
votes
1answer
26 views

AutoHotKey script to toogle CTRL and timer

I can't get this script to stop when I hit F7 #MaxThreadsPerHotkey 2 F7:: SetTimer, Spam, off SendInput, {Ctrl Up} return F8:: SendInput, {Ctrl Down} SetTimer, Spam, 1000 return ...
0
votes
1answer
42 views

Breaking loops in auto hot key?

I am trying to break a loop in the middle of the loop (the loop is quite lengthy). I have a break loop in the equation, but it doesn't work when I need it to stop immediately. Here it is... ^!\:: ...
0
votes
0answers
30 views

Dedicated Button or Input Device to send Ctrl+Alt+Delete

I know it's not possible to send Ctrl+Alt+Del with software-based methods (AutoHotkey, etc), but is there some way to do it hardware wise? Maybe a dedicated "Ctrl+Alt+Delete" USB button, like the ...
0
votes
0answers
16 views

Is there a way to delegate host system keystrokes to VMware virtual machine?

I have my Windows system tuned up with AutoHotKey. There is no AutoHotKey for my VMware Virtual Linux machine, unfortunately. So, the virtual machine simply receives the raw input, bypassing ...
1
vote
1answer
82 views

Autohotkey custom Windows key popping up start menu

I have an autohotkey script like this: RAlt::RWin ; right command to alt RWin::RAlt ; right alt to command (windows key) LWin::LAlt ; left command to alt LAlt::LWin ; left alt to command (windows ...
0
votes
1answer
79 views

How to use autohotkey to run command line programs?

I'm sitting behind corporate proxy, I need to switch proxies of git frequently when doing development. So I want to use autohotkey to create a script to toggle proxy setting of git. But I can't ...
0
votes
1answer
22 views

AHK replaces Alt+Shift+LMB to Alt+Shift+Ctrl+LMB?

I'm newbie in AHK, but i could compose few scripts to one. This: ` !+LButton:: SendInput {MButton down}{RButton down} Loop { Sleep, 10 GetKeyState, state, LButton, P if state = U ...
2
votes
1answer
50 views

Autohotkey: Using a 3 key combination to initiate script?

Basically I want to find a solution to make this code work by initiating it with b+down+right key combination. ~b & Left & Down:: ...
0
votes
0answers
30 views

Why autohotkey key remapping not working in putty?

I'm on a windows laptop and a vim user. I've remapped capslock to escape using autohotkey. I have a putty session, when I press capslock, it's still turning on/off upper case instead of sending ...