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

How to move a window, or switch, to workspace N using keyboard?

Is there a way to achieve this using Autohotkey if there is no native functionality for it?
0
votes
2answers
14 views

Emulate left mouse button with CapsLock key

I want CapsLock key on my keyboard to act like the left mouse button. I want to be able to perform clicks, double clicks, send mouse down and mouse up events etc. Now I am using AutoHotkey and the ...
-1
votes
0answers
8 views

Open Word weblink with non-default browser

Could someone please help me with a simple Autohotkey code to open the web link in word to open with portable firefox (not default browser) in USB folder. Thanks in advance for help.
0
votes
0answers
10 views

Cannot capture media key press

I am attempting to write an Auto HotKey script involving the media keys of my keyboard, but the key presses, such as Media_Play_Pause, do not seem to correspond to my media keys. While the media keys ...
0
votes
1answer
14 views

AHK script to open specific webpages

I cannot set up a script when trying to use just part of the Window Title of a webpage using Internet Explorer or Chrome SetTitleMatchMode, 2 #IfWinActive, bab.la Italian-English dictionary - ...
0
votes
1answer
15 views

autohotkey's ControlClick,&Set Default not working?

I'm following this awesome AutoHotkeyScript and having difficulty getting the Set Default button to be clicked. off topic: If you want to replicate, I had to change a few commands for detection of ...
0
votes
1answer
24 views

AutoHotKey Ctrl in Caps Lock doesn't work with shift

I don't have big fingers nor can I hit the ctrl key with my palm. Since I use ctrl for so many hotkeys, I had to remap it to the capslock button. I lived with it fine using the registry method for ...
0
votes
0answers
11 views

Matching Window Title of an Internet Explorer webpage

I cannot set up a script when trying to use just part of the Window Title of a webpage using Internet Explorer SetTitleMatchMode, 2 #IfWinActive, bab.la Italian-English dictionary - Internet Explorer ...
1
vote
1answer
36 views

Autohotkey. How will I hit ctrl button just once and not everytime?

shift::SoundSet +1 ctrl::SoundSet -1 .......is the script, problem is I need to press ctrl five times if I want my volume to increase five more. Unlike this: PgUp::SoundSet +3 pgdn::SoundSet -3 ...
0
votes
4answers
57 views

autohotkey press longer for caps

I want to press a key longer to get it pressed with shift Here is what I tried: $a:: KeyWait, a, T0.7 If ErrorLevel ...
-1
votes
0answers
33 views

anyone who knows how to change autohotkey icon to a custom one?

anyone who knows how to change autohotkey icon to a custom one?
0
votes
0answers
11 views

Tooltip should appear after typing two latters of the hotstrings-

This is the working autohotkey script. it generates tootips from hotstrings. I want that tooltip should appear after typing two latters. Please modify the script as I am not able to do so. Loop, ...
0
votes
0answers
22 views

Disable some Win+X hotkeys for Explorer from RegEdit under Windows 8.1

How to disable some of Win+X keys that are registered to Explorer so that they could be used by other software (e.g. disabling Win+I and Win+P and then mapping these keys from within Search Everything ...
0
votes
0answers
15 views

AHK suddenly not working in bluestack. any idea?

I just use AHK for bluestack then suddenly it's not working just this time. It still works in non-bluestack stuffs like open folders etc. but not in bluestack. this is the script: z::lbutton
0
votes
0answers
33 views

Click button on browser using ID programmatically (for Noob)

I am a freelancer, I have to upload images on a website, and I need automation. Taking example of this website, in google chrome, I can open console and enter $('#wmd-image-button').click() And ...
0
votes
0answers
25 views

Disable broken laptop keyboard in Windows 8 [duplicate]

Is it possible to disable the internal Keyboard on my Laptop? I poured Tea over it and now the "M"-key is stuck. I tried a lot and it is far too expensive to replace the keyboard on this old laptop. ...
1
vote
0answers
45 views

Divide the screen in windows 7

I have to work on a debugger in one window and the source code and testing in another 2 windows. I have one large monitor. Doing Alt+Tab frequently is beginning ot hurt my fingers. I was looking for ...
1
vote
2answers
48 views

How to achieve expanded abbreviations on Mac OS X?

On Windows, AutoHotKey enables you to write short scripts to recognize keystrokes and then expand them if they match a shortened abbreviation. For example, if I type 4111 and hit space I can expand ...
0
votes
1answer
38 views

How can I use autohotkey to cycle through Google Chrome windows while filtering by title?

I'm having difficulty writing this because WorkFlowy (a Chrome extension) and Google Chrome have the same ahk_class. Here is a script I use to cycle through Windows Explorer windows in a similar ...
0
votes
0answers
21 views

How can I edit this autohotkey script to target different applications?

This autohotkey script is designed to make vlc unclickable and transparent. I'm trying to re-purpose it to do the same to a chrome window but changing the ID ID := WinExist("VLC media player") to ...
0
votes
1answer
52 views

How can I make a hotkey to play/pause music?

I used to have a laptop that had a function hotkey to play/pause music when you had a music player (iTunes, mediamonkey). I have a new laptop now, but it doesn't have that hotkey anymore. How can I ...
0
votes
0answers
17 views

How to remap direction key in Linux? [duplicate]

I use a simple AutoHotKey script to use vim navigation keys in OS-wide level. It is really useful and makes life a little easier. However, I just migrated to Mint. I am addicted to the vim keys and ...
0
votes
2answers
45 views

AutoHotKey - Esc:: ExitApp not working

I have a long AHK script with lots of simple {tab} and {down} etc... If something goes wrong, I need to terminate the script. Googled, found lots of answers, mostly saying: put esc::ExitApp at the ...
1
vote
2answers
50 views

AutoHotkey - - loop through files and replace whitespace with _

With AutoHotkey, trying to loop through all jpg's in an absolute path and replace all white space with _ . I've been fighting with this for ages, only got this far: #!l:: Loop, ...
1
vote
0answers
20 views

AHK script when screen projected to connected screen

How to create a AHK script where depending on the screen situation (ie, if it is projected onto another screen or not) an application is open at a certain area or at another area
0
votes
1answer
50 views

Autohotkey - need to reload

i am using autohotkey with great pleasure, but for some reason i need to reload the scripts / replace the instance every ~60 minutes. they are still active in my taskbar, but the shortcuts are no ...
-1
votes
1answer
82 views

AutoHotkey: Press a button every x seconds while mouse-button y is pressed down

I'm trying to figure out if it's possible. While I hold mouse-button 4 ( back ) down, it should execute pressing down the combination ctrl+g every 50 ms. I can do it with my Logitech mouse, but I ...
0
votes
0answers
48 views

My AHK script keeps saying invalid hotkey

I'm trying to set up my function keys to adjust volume (like it did on my laptop), but I can't seem to get it to work. It just keeps saying invalid hotkey on line F5. Here's my code: #NoEnv ; ...
1
vote
1answer
79 views

Make Office ribbon to drop-down and hide on hover

How can I make a minimized Office ribbon to drop-down on hover over a tab and disappear after the mouse leaves it? Among other annoyances, one of the worst usability disadvantages of the Office ...
1
vote
1answer
31 views

Autohotkey high priority remapping

I want to make RCtrl+(w/a/s/d) map to (up/left/down/right), I wrote this script: $>^w::Send {Up Down} $>^w Up::Send {Up Up} $>^a::Send {Left Down} $>^a Up::Send {Left Up} $>^s::Send ...
1
vote
0answers
32 views

AutoHotkey sending odd characters

I have this autohotkey script: StringCaseSense, On ^':: { Input, char, L1 if char = a Send á else if char = A Send Á else if char = e Send é else if char = E Send ...
0
votes
0answers
26 views

How do I access the application icon's context menu with AutoHotKey?

I'm afraid I don't really know what this special menu is called, but I'd like to activate one of the menu items here from an AutoHotKey script. I'm trying to get at Clear Scrollback. Again, I ...
1
vote
1answer
20 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
34 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
30 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
249 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
42 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
29 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
70 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
49 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
33 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
76 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
60 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
30 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
35 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
126 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
101 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
291 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 ...
1
vote
1answer
70 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
60 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 ...