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
32 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
31 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
17 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
86 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 key)...
0
votes
1answer
97 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
26 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
51 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
37 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 ...
1
vote
0answers
147 views

Passing control hotkeys to VirtualBox with AutoHotKey

I use VirtualBox on Windows 10 host, and my guest OS is linux openSUSE. Since I still need many windows control hotkeys, I do not use Auto Capture Keyboard in VirtualBox. As a drawback, I can't use ...
0
votes
5answers
110 views

Easiest way to re-order answer key (list of correct answers)

I have a lot of answer keys that look like this: 1.A;8.C;15.E;22.B 2.B;9.D;16.A;23.C 3.C;10.E;17.B;24.D 4.D;11.A;18.C;25.E 5.E;12.B;19.D;26.A 6.A;13.C;20.E;27.B 7.B;14.D;21.A;28.C I'm trying to ...
0
votes
1answer
32 views

Send {%A_ThisHotKey%} don't work always

I am trying to use Send {%A_ThisHotKey%} into one my AHK script. Problem is it doesn't always works. Example: !Tab::Send {%A_ThisHotKey%} How can I make this work in all cases?
-2
votes
2answers
54 views

Why can't I find a tool that lowers the priority of background processes in Windows? [closed]

Since I have started using Windows 10, I contantly have lots of applications open on different desktops. I for example, often have a dozen WinSCP instances open. Each of these take up a few percent of ...
1
vote
1answer
50 views

AutoHotKey Problems

I have an autohotkey script that has two parts, and it seems one part is causing the other to stop working. One part is responsible for whenever I edit the script, it reloads it on c-s. Second part, ...
0
votes
0answers
48 views

Automatically toggle and maximize a window with AHK

How can I use AHK to toogle to certain window and maximize it at certain time. I am trying to use winset (e.g. below) but the problem is that my window name is not fixed. The window name is always ...
0
votes
1answer
55 views

Disable faulty right arrow key using autohotkey

I spoiled some water over my keyboard, and now periodically the right arrow key is activated without me pressing it (e.g. PDFs jump one page ahead, YouTube skips 5s, etc). I used an online keylogger (...
0
votes
1answer
523 views

Remapping Ctrl-Alt-Arrow in Windows 10 using AutoHotkey

I am trying to remap Ctrl-Alt-Right and Ctrl-Alt-Left to imitate Ctrl-Win-Right and Ctrl-Win-Left, respectively. I followed the instructions given in this post, and succeeded in mapping Ctrl-Arrow to ...
0
votes
1answer
44 views

How can I map a key combination to a character or modifier key in Windows 8?

I need to map Alt+e to é or to ´ (spanish accent). I read AutoHotKey may work but don't understand how.
0
votes
2answers
624 views

Bluetooth media controls not working windows 10

I have bluetooth headphones synced and playing music from my windows 10 laptop without any problems. How can I make it possible to pause/play, skip track, previous track controls on the headphones ...
3
votes
0answers
86 views

Get value for `Position` property from a Delphi TProgressBar class instance using AutoHotkey (ahk)

I would like to obtain the current Position (progress) property value from TProgressBar1, which is a child of TProgressFrame1 and grandchild of TPanel1 within a particular TProgressDlg Window. ...
1
vote
2answers
116 views

how to send keyboard to the right host when sharing a keyboard among several hosts

I have two hosts (windows-7) running side by side. I use Mouse without Borders to use a single mouse/keyboard (using Synergy I have the same issue, so all here applies too). In each host I am ...
0
votes
2answers
73 views

How to use single script in stead of two simultaneous scripts in autohotkey?

friends, I have two scripts. first script has some hotkeys and hotstrings and the second script contains some timer command to activate the specific window when certain time passes. when i paste the ...
0
votes
1answer
47 views

How do I react to a window losing/gaining focus in AHK?

I play Guild Wars 2 and there's a function to show the names of items that can be interacted with, but the key has to be held down. I'm making it into a toggle, but I'd like for it to work even after ...
0
votes
1answer
123 views

Swapping mouse buttons for select applications under Mac OS X

I am in need of a solution to swap the Middle and Right mouse buttons on Mac OSX. The middle mouse button in X-window and Mac Terminal is used for pasting. But it is too hard to click on my mouse (...
0
votes
1answer
35 views

In Autohotkey , how would I delete the .java part of my command line?

I am frequently using command-line to compile my java code . And I often need to delete the whole .class or .java part. Thus , if the command line current shows : MyTestClass.java I want to use ...
0
votes
0answers
58 views

How to determine classsNN of a control by its color or by its location in autohotkey?

Friends I want to retrieve the text from a control using controlgettext command. I tried to use classNN of the specific control to retrieve its text but the classNN keeps changing so it caused problem....
1
vote
1answer
107 views

Need a simple GUI in AutoHotkey script

I am very new to programming and I have a very simple code that I made for a game to not let me go afk (yes, I know there are easier ways). If anyone would be kind enough I would like a VERY simple ...
0
votes
1answer
42 views

How to activate specific window when certain amount of time passes without any activity only in that specific window?

Friends I want that when a specific window is idle for 10 minutes then it should first activate that window and then send f4 key. I work on some online software and it logs out when that software is ...
1
vote
0answers
25 views

Command for switching desktops in Windows 10 [duplicate]

Is there a command to switch to a specific desktop in Windows 10 (or alternatively open an application on a specific desktop which achieves kind of the same effect since windows will automatically ...
0
votes
2answers
161 views

AutoHotKey remap page down to (ctrl + win + left)

How do I remap page down to (ctrl + win + left) for windows 10 desktop switch. and same for page up to (ctrl + win + right)
0
votes
1answer
13 views

Need help fixing titlebar removing script (AutoHotkey)

I made a script that removes the title-bar: http://pastebin.com/yBTp5QML But it doesn't work properly. I want it so that it opens automatically without a title-bar and then able to press Left Windows ...
0
votes
2answers
41 views

How to use Shift+CapsLock+L to select text

I used the following code to remap some key combinations. However, they do not work when pressed by other modifiers. For example, I want to select text using CapsLock+Shift+L (just as Shift+Right ...
0
votes
1answer
69 views

How to add some value in an excel sheet without opening and closing it using com object in autohotkey?

I am trying to use these codes to add some values in a cell without opening an excel sheet and closing it- f1:: Xl := ComObjCreate("Excel.Application") Xl.Workbooks.Open("c:\Users\Manoj Aggarwal\...
0
votes
1answer
108 views

AutoHotKey: Pressing two keys simultaneously without repeats

Is there a way to press two keys simultaneously and bind it to a macro key (for example, pressing "s" and "d" simultaneously and then bind it to "a" key) without it having the "s" repeat multiple ...
1
vote
1answer
45 views

AHK (Binding keys)

I'm trying to bind the following keys. I want to be able to use Shift+LeftArrow to navigate between two windows. Since I mainly use these two windows in one monitor It would be great to move ...
0
votes
1answer
148 views

How can I make AutoHotkey scripts work on computers without AutoHotkey installed?

Normally to open a .ahk file you will need to have installed AutoHotkey and then it will appear in the taskbar. However recently I found a .exe file that was actually an auto hotkey script and it ...
0
votes
1answer
56 views

autohotkey help-#inputlevel but not overwrite key combination?

[help] #inputlevel but not overwrite key combination ? i have 2 ahk script ,both remap "k" ,but script 1 has "scrolllock & k" script1.ahk k::msgbox script1 scrolllock & k::click script2....
0
votes
1answer
42 views

How to insert Time in a range of excel sheet which should not update automatically using com object in autohotkey?

Friends I want to insert time in a range which should not get updated automatically. For example if there is any value in cell no k5 then the current time should automatically be inserted in cell no ...
-1
votes
1answer
51 views

How to send line by line data using autohotkey?

I am trying to send data line by line using this script f1:: send {65465 546454 54654654 54564654 54654 54654 87987 9825659 8985 5598 87446 78569 12586 114855 58511 } return but it is not working. I ...
0
votes
1answer
31 views

Is it possible to copy (retrieve) the names of a control of a specific window/application using Autohotkey?

I want to if it possible to copy (retrieve) the names of a control of a specific window or application using AutoHotkey? For example calculator is opened on my screen and now I want that: when I ...
0
votes
2answers
89 views

Remap Ctrl to Alt and keep Alt+Tab and Ctrl+Tab

I'm using autohotkey to swap Ctrl and Alt LAlt::LCtrl LCtrl::LAlt This works great, but on top of this i want to keep Alt+Tab and Ctrl+Tab where they originally were. I've tried already a lot of ...
1
vote
1answer
63 views

Both #IfWinActive “something” and #If True at once

I want multiple hotkeys to work only if certain window is active and if a variable is equal 1. Something like #IfWinActive Game #if var==1 ; assuming it doesn't close ... #if Is it possible to ...
1
vote
1answer
214 views

How to get Window Switcher functionality in Windows 10

In Windows 8 and previous, there was a shortcut in the C:\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch directory called "Switch Between Windows". Executing this shortcut ...
2
votes
1answer
104 views

Can I map CAPSLOCK to AltGr with AutoHotkey?

I am running Windows 7 and would like to use the CAPSLOCK key as Alt Gr, because I don't use it anyway and shortcuts like Alt Gr + 7 ({on the German keyboard) hurt the fingers. I tried the following ...
0
votes
1answer
133 views

AutoHotkey (EU keyboard): how to remap LCtrl while keeping AltGr

I searched past questions, but I haven't found a solution to switch LAlt with LCtrl (or CapsLock with LCtrl) while preserving completely AltGr, that corresponds to Ctrl+Alt (or maybe LCtrl+RAlt?). ...
1
vote
1answer
97 views

AHK keymapping and Joysticks

I've been trying to make a AHK script work with my Logitech F310 gamepad. There is 11 buttons on the controller total, however it doesn't recognise the 11th button being an actual button, even Windows ...
2
votes
1answer
72 views

AHK script is unstable while running

I am working in a External HDD manufacturing company. I have requirement to upgrade the FW for thousands of HDDs. I have to upload two files in sequence to get the upload completed. To do manual ...
1
vote
1answer
63 views

Autohotkey to change editor font?

I've just downloaded Autohotkey, installed the 64-bit version, and start with the tutorial. How can I change editor font?
0
votes
1answer
28 views

Cannot send the input correctly in AHK

I try to send the input of a file name in the AHK script but I cannot get the right input. The AHK is not sending the whole text that I want it to send. Here is my code. SendInput, 867_CCM.xls But ...
2
votes
1answer
236 views

AutoHotKey – ellegant way of waiting until a system dialog box becomes able to accept keystrokes?

Standard system Print dialog or Save dialog is swallowing keys sent immediately after opening. Is there a way how to send keys successfully as soon as possible? Details: Let's have some simple use ...