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
1answer
12 views

Autohotkey won't execute whole script

Here's my script: ^!m::Send hello Sleep, 500 Send world All it does, is sends "hello". How do I tell autohotkey to move forward?
1
vote
0answers
17 views

How can I list positive and negative values separately in listview box in autohotkey?

Here's my AHK script: Gui, Add, Edit, x77 y15 w100 h30 vMyvar gEdit1 ;first edit box, there can be entered any value. Gui, Add, Edit, x237 y15 w100 h30 vNewvar Disabled, %Newvar% ;second edit box it ...
0
votes
0answers
19 views

How to send the information at different places by this GUI in autohotkey?

I made this simple GUI- Gui, Add, Text, x72 y20 w50 h-10 , Customer Name Gui, Font, S12 CDefault, Verdana Gui, Add, Text, x22 y40 w180 h30 , Customer name Gui, Add, Text, x22 y70 w180 h30 , Contact ...
0
votes
2answers
40 views

Autohotkey for Razer Blackwidow Macro Keys

I'm having extreme difficulty trying to map the M1-M5 macro keys on the Razer Blackwidow keyboard using AutoHotKey. A similar question was previously asked on this forum but no answer or solution ...
0
votes
1answer
29 views

What is the difference between simple imagesearch command and using it with coordmode in Autohotkey?

I want to know the difference between using simple imagesearch command and using it with coordmode. What difference does it really make when we use it with coordmode? Please elaborate and provide a ...
0
votes
1answer
16 views

Automatic and dynamic click script on windows

I'm in the need of creating a dynamic system which may allow me to auto move the mouse on a Windows client automatically. I've found online the program Autohotkey which may fit my needs, but I need ...
0
votes
1answer
30 views

How to activate specific excel window and specific excel sheet using com objects autohotkey?

I am using following script to activate specific excel window- f5:: WinWait, Microsoft Excel - B [Compatibility Mode], IfWinNotActive, Microsoft Excel - B [Compatibility Mode], , WinActivate, ...
0
votes
0answers
23 views

How to automate mouse clicks with conditions in autohotkey?

As i work on excel and i have to keep full screen mode on when i work on excel. for this i have automated mouse click like this- f2:: MouseClick, left, 497, 45 ;clicks on view tab Sleep, 100 ...
0
votes
0answers
23 views

How to use conditions in autohotkey?

Friends I am copying data from excel sheet and pasting it in some online form. There are four fields in that online form like first is customer name, second is father name, third is address and forth ...
0
votes
0answers
26 views

How to activate particular excel sheet and automate mouse click only when particular function is not working in autohotkey?

I have the following autohotkey script- F9:: WinWait, Microsoft Excel - DATAFILE [Compatibility Mode], IfWinNotActive, Microsoft Excel - DATAFILE [Compatibility Mode], , WinActivate, Microsoft ...
0
votes
1answer
31 views

How to paste the data only in blank cells in ms excel from some other program using autohotkey?

Myvar:=5 F1:: xl:=comobjactive("excel.application") xl.range("i"myvar).select() myvar++ Send, {CTRLDOWN}v{CTRLUP} return In the above script, when I press F1 key it selects I5 cell automatically and ...
0
votes
0answers
20 views

AutoHotKey doesn't detect volume knob

Please bear in mind, I'm extremely new to AHK, but Google and Superuser have turned up nothing so far. AHK doesn't seem to detect VOLUME_UP or VOLUME_DOWN when using the volume knob on my keyboard. ...
0
votes
0answers
16 views

Map Home and End to fn+arrow key

Just got a Lenovo ThinkPad x1 carbon generation 3, and although I generally love it, I had gotten quite used to fn+ right arrow and left arrow producing the same effect as home and end. Is there any ...
0
votes
1answer
34 views

how to control copy and paste from excel sheet using autohotkey?

I am copying and pasting some data from ms excel sheet to some other program using the following autohotkey script: f1:: loop 2000 { Send, {CTRLDOWN}c{CTRLUP} sleep 100 send {ALTDOWN}{TAB}{ALTUP} ...
2
votes
0answers
42 views

Display on screen the currently pressed keys (Windows) [closed]

I am looking for a tool that would show on the screen which keys I am currently pressing. It should show all the keys pressed, and as soon as I release a key - it should dissapear. I have tried many ...
0
votes
2answers
95 views

AutoHotkey script for 'right click context menu' command [duplicate]

I am using a Macintosh keyboard on Windows and would like to create a hotkey so that I can turn ctrl and some other other button into the “right click context menu” button of non-mac keyboards. What ...
0
votes
1answer
39 views

How to map “shift” key to “shift” + “capslock” using AutoHotkey?

I’m using Vim, so I”ve remapped capslock to esc. But I still want capslock sometimes. So I’m wondering to remap shift to shift+capslock: When shift is used the normal way: Long press and release, it ...
1
vote
2answers
56 views

Is there a way to automatically quit two programs when battery is below certain level?

I'm setting up a new laptop with Windows 7 and I'm using Rainmeter to display system info in a sidebar (CPU, memory, GPU info etc). This needs MSI Afterburner running in the background to access GPU ...
1
vote
1answer
118 views

ALT + ESC I want to improve upon its functionality

Pressing ALT+TAB is very helping in navigating among open windows in the desktop of my windows 8.1 PC. NOTE 1: The menu that appears gives one the ability to navigate not only between open desktop ...
0
votes
2answers
80 views

How to use AHK to hold down the mouse click as long as I'm holding it?

Here is my code atm.. ; Create hotkey for the 'left' key left:: Click , 53, 486 return ; Create hotkey for the 'down' key down:: Click , 138, 613 return ; Create hotkey for the 'right' key right:: ...
0
votes
0answers
25 views

AutoHotkey Capslock::Ctrl doesn't work in some applications

I have the snippet Capslock::Ctrl in my autohotkey script that runs at system startup and my CapsLock is correctly turned into a Ctrl key, except for a few applications. If regedit or XYplorer are ...
0
votes
0answers
60 views

Seeking FFPLAY command for LIVE Decklink audio input to AVectorScope filters live on screen

My first superuser question. Using FFPlay or FFMPEG I'd like to be able to have visual monitoring of live audio (level meters, vectorscope) real-time on screen from a BlackMagicDesigns Decklink ...
0
votes
0answers
18 views

AHK IfWinActive with partial title

I would like to set a hotkey ONLY at the Contact dialog of Outlook 2013 to access directly to the "Notes" field Can someone help me out to have this script work? SetTitleMatchMode, RegEx ...
0
votes
0answers
30 views

remapping Win P “project to a connected screen”

I use autohotkey and I would like to remap Win-P that actually opens the right bar to select the way to project to a connected screen. Which would be the script to access "duplicate" screen (the ...
1
vote
1answer
24 views

Shift and number key issue

Wanted a simple script where MButton mapped to hitting the number row key 8 then holding RButton until released. $MButton:: SendInput {8} SendInput {RButton Down} return $MButton Up:: SendInput ...
1
vote
1answer
122 views

Select text until character found [duplicate]

I`d like to learn how I can select text like with +^{Left} until a specific character ("-" in this case) has been found. Thank you for your help.
0
votes
1answer
50 views

How to use AutoHotKey to make R-Control function as R-Win

I have a keyboard that doesn't have a R-Win key, but software that I use requires R-Win specifically for some keyboard shortcuts. I'm trying to remap the R-Ctrl key I never use to R-Win using ...
0
votes
1answer
94 views

How to change default browser to custom program/script (http-association) in Windows 8.1?

How do I change the default browser in Windows 8.1 to a custom program or script? I would like to change the association of the http-protocol to an AutoHotKey-Script (AHK), which opens the right ...
0
votes
0answers
51 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
16 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
64 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
30 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
56 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
10 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
27 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
23 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
37 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
130 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
16 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
43 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
45 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
133 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
66 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
29 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
104 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
48 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
593 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
26 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
72 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 ...