Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [autohotkey]

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 ...

4
votes
1answer
560 views

Switch any program to kiosk mode

Sometimes friends or even unknown people visit me and we are doing something on my computer. I often find myself in the situation when I want to leave the computer but I don't completely trust the ...
0
votes
1answer
412 views

Pressing multiple modifier keys using AutoHotkey?

This should be pretty easy to do, but I can't figure it out. To open a link in a new tab and switch to it in Chrome, you press ctrl+shift and click. I want a button on my mouse to map to ctrl+shift. I ...
3
votes
1answer
895 views

Displaying a custom animation at the click location on Windows 10 in response to an event

There are plenty of programs regarding the alternation of the cursor appearance, especially for the Mac OS in which one can change the look of the cursor, on for example mouse events, with beautiful ...
1
vote
1answer
277 views

How to have Sublime Text's Vim mode and AutoHotKey work without conflict?

Sublime Text is by far the best text editor I've ever seen, and AutoHotKey is the scripting program I can't live without, especially the hotstrings feature, which allows me to create abbreviation-...
2
votes
1answer
1k views

AHK is possibe to make this script works in inactive window

Is it possible to make this script work in a specific inactive/minimized window. ? loop { dllcall("keybd_event", int, VK, int, SC, int, 0, int, 0) dllcall("keybd_event", int, VK, int, SC, int,...
2
votes
1answer
971 views

How to bind a mouse click to open task-view in Windows 10

I use the Sketchpad on Windows Ink Space a lot on my tablet and sometimes I wish to switch between applications without closing the Sketchpad and without moving much - ie: quickly swap to task view, ...
0
votes
4answers
2k views

Autohotkey Keywait for either of 2 keys to be released

In Autohotkey, I know you can use "KeyWait" to wait for a key to be pressed or released, but what can I do if I want to be able to wait for either of two keys to be released? I found this on the web, ...
0
votes
1answer
691 views

Autohotkey +LButton SendInput{Shift Up}

I've tried to solve this in Autohotkey with not success In an program (from now on called VP0) there is a hotkey Space Click n Drag to Left/Right to set the tool Maximum Size I would like to have ...
2
votes
2answers
1k views

Windows virtual desktops. Cycle back to first desktop at end

Let's say I have three virtual desktops. I know I can navigate through them using: ctrl + windows + left | right However, is there a way to make it cycle back through to the beginning if I reach the ...
0
votes
1answer
605 views

Running a program with parameters in AutoHotKey

I have the following AutoHotKey script: NumpadPgDn:: Run C:\cygwin64\bin\mintty.exe, B:\Users\User\Desktop - Return The dash at the end of the second line (-) needs to be appended as a parameter/...
1
vote
1answer
284 views

Using 3 or more modifier keys in AutoHotkey to replicate TouchCursor space trigger

I'm trying to replicate TouchCursor keys using AutoHotkey, but I can't get it to work with multiple modifiers. This is what I have so far (from https://autohotkey.com/boards/viewtopic.php?t=6525): ...
0
votes
1answer
238 views

Specific webpage's field fill up with autohotkey based pulover's macro creator

I am fairly new to these, and been trying to make some automation script with help of pulover's macro creator which based on AHK. I am trying to put some IP values on specific device webpages, i ...
0
votes
0answers
103 views

How can I specify Windows Mail in AutoHotKey?

I'm trying to remap a couple keys for Windows Mail, but ahk_exe isn't working. I used Process Explorer to find the name of the executable. Here's my script: #IfWinActive ahk_exe HxMail.exe f7::f9 ; ...
0
votes
1answer
517 views

How can I save several separate text with AutoHotKey?

I don't know if this will be possible at all but here is an example for a better illustration. Let's say we got a little list of words: -house -computer -clothes -human Let's say we can select ...
2
votes
1answer
230 views

Remap of Browser_Home key fails when browser window is not in focus

I have a bluetooth remote with a Browser_Home key, which I'm attempting to remap with AutoHotkey on my Windows 10 machine. By default, pressing Browser_Home does one of two things: If the window in ...
2
votes
1answer
320 views

Autohotkey script not working as intended

I'm trying to use this script in autohotkey to make ctrl+shift+arrow key snap applications to one side of the screen in windows(normally windows key+arrow), but it only randomly works. Please help me ...
1
vote
2answers
88 views

How to replace keyboard hotkeys [closed]

windows: I would like to press CTRL+Z and let the computer understand (the OS) that I pressed CTR+SHIFT+2. So how can I reconfigure hotkeys, or replaces hotkeys?
0
votes
1answer
95 views

How can I disable my Multmedia key on my keyboard

I got a new keyboard and I want to disable the button that opens a music window. I tried to disable it or change it with autohotkey but then it just launches the music player anyways and does what I ...
0
votes
1answer
425 views

AHK - set a subroutine to trigger another subroutine by pressing its hotkey

Is it possible in AHK to set a subroutine to trigger another subroutine by pressing its hotkey (not goSub, or GoTo) I have a script like this... #If (WinActive("ahk_class XXX") || WinActive("...
1
vote
1answer
627 views

Is it possible to use AHK to open a specific tab in Firefox/Chrome for greater than 9 tabs

#SingleInstance, Force #IfWinActive, ahk_exe chrome.exe ^a::Send, ^2 It works but only for less than 10 tabs. I read about winactivate but apparently you would have to start typing the title of the ...
1
vote
2answers
5k views

Where is this “Applications” Directory in Windows located?

How do I open this Applications Directory in Windows? I use this folder to write AutoHotKey shortcuts which work on any one of my computers regardless of where an application has been installed, but ...
15
votes
1answer
2k views

Is there a way to dismiss notifications using a keyboard shortcut in Windows 10?

I'm talking about the notifications that appear in the bottom right corner and disappear by themselves in a few seconds. However, they sometimes can take up a lot of space and get in the way, which is ...
0
votes
1answer
363 views

Using Autohotkey - Reading webpage content source without Control + U

I have a project going where I need to look at the source of any general website, but I usually have to look at the source for key words. I use the shortcut Control + U. Then I proceed with Control + ...
0
votes
1answer
52 views

Autohotkey: Make Windows 10 text scrubbing closer to OS X

How can I get text scrubbing (Alt + Left / Right / Up / Down) to work more like a Mac on Windows 10? I have CTRL and ALT switched already via: LAlt::LCtrl LCtrl::LAlt Now I want to make: Win + Left ...
-1
votes
1answer
56 views

Can AutoHotKey control display states?

Would like to know if AutoHotKey can control: Display On/Screen On Display Off/Screen to black Found this online which was suggested to be able to turn a screen on but it doesn't seem to work: ...
1
vote
0answers
57 views

1-click switch user shortkey

So I'm looking for the most efficient method of switching between one user to another, on Windows 10. What I'm hoping to find is a command wherein I could add username and password (disregarding the ...
1
vote
1answer
1k views

How to record keystrokes and/pr mouse clicks with AutoHotKey?

It is claimed, that AutoHotKey can record with macro recorder. Unfortunately, I can't find any word about it in manual. Serfing leads to Pulover's Macro Creator. Is this what it claimed in AHK page --...
-1
votes
1answer
579 views

Is there an Autohotkey alternative for Raspberry Pi 3?

Bought a Raspberry Pi 3 (Raspbian OS) but sadly, autohotkey cannot be installed on it and .exe files aren't supported either. Is there an alternative to autohotkey that works on Raspberry pi 3 maybe? ...
1
vote
3answers
594 views

How to detect and use unusual mouse buttons?

I have a G300 gaming mouse on Windows 10 and would like to bind actions to the buttons, including the more exotic ones (there are nine buttons and the wheel). How can I discover what the code of a ...
1
vote
2answers
135 views

Mapping a specific set of keypresses to other keypresses using AutoHotkey?

I'm trying to map the 3 finger swipe gesture on my touchpad to Ctrl+Win+Left or Ctrl+Win+Right (switching between virtual desktops). Here are the keys pressed when I swipe left: VK SC Type Up/Dn ...
0
votes
1answer
422 views

Autohotkey - How can Blockinput, MouseMove block the curson move from my wacom (tablet) stylus

I have an AHK script that moves a panel from ArtRage, I use blockinput, mousemove before doing the click and drag, so the mouse can't move the cursor while AHK is doing the click and drag, but since I ...
0
votes
2answers
318 views

Autohotkey - how to override keyboard state

Is there a way to tell an autohotkey action (subroutine) to release the Alt key despite its trigger is Alt + X ?? here is my code... !x:: sleep 100 it does some clicks and drags here (work fine) ...
0
votes
1answer
792 views

autohotkey - problems when using if, else if statements inside Functions

I have problems when using if, else if statements inside Functions they don't recognize my vars, despite I have set them to global at the beginning of the script... global AR4toolCur := global ...
0
votes
0answers
509 views

autohotkey - Coordinates of mouse movement a little off

when switching between full screen mode on an app, the coordinates of the MouseClick, Click, MouseMove are little off (not accurate) I have tried also ControlClick but I just cant get it working, it ...
0
votes
1answer
833 views

AutoHotKey - how to focus on a window again after running some actions

I use AHK 1.1 to set the capslock to be a hotkey to toogle ArtRage full screen mode (workbench mode), I do so, because ArtRage doesn't allow me to set CapsLock as a hotkey, but I'm quite used to use ...
1
vote
2answers
485 views

AutoHotkey - application loosing focus when enabling full screen mode

I use AHK 1.1 to set the CapsLock to be a hotkey to toggle ArtRage full screen mode (workbench mode), I do so because ArtRage doesn't allow me to set CapsLock as a hotkey, but I'm quite used to use ...
1
vote
0answers
285 views

Are there any other modifier keys on Windows?

I'm trying to use the Win key as a modifier key on Windows. So far, the best approach I found is to map it to another key using AutoHotKeys. For example, I can map the left win key to the left control ...
2
votes
2answers
474 views

Autohotkey - remap a solid key

is it possible for AHK to remap a key on the keyboard to another one? I mean not the character that they key prints, but the actual key, e.g. I have an international keyboard, it has an aditional key ...
3
votes
6answers
1k views

Autohotkey: Use Space + Alt + q to trigger actions

I have some actions defined in an Autohotkey script and I want to run it whenever I press SPACE+Alt+Q. How can I do it? I have read that space has some issues, because it is already used by AHK to ...
6
votes
3answers
668 views

Make a shift key behave like an arrow key

I have a Windows 10 laptop with a keyboard designed by idiots. They tried to cram the arrow keys where they don't belong, with the result that the up arrow key is between the right shift key and the / ...
1
vote
1answer
467 views

Some response problems using two “key sequence” scripts in Autohotkey

I have two scripts in AHK, both triggered by "key sequences" (b pressed twice) and (1 pressed twice), here is the code #NoEnv ; Recommended for performance and compatibility with future AutoHotkey ...
1
vote
1answer
279 views

Intercepting logitech media keys

I've bought a logitech bluetooth 'ipad tablet keyboard' for my windows pc, because I like the look of it. The escape button is replaced with a key which opens the default browser search. It also has ...
0
votes
1answer
194 views

Autohotkey `1 key sequence

In MSword I would like to set `1 to be a key sequence to trigger a script but I also have other scripts in MSword with the hotkeys 1 and key sequence 11 ; (one pressed twice fast) the code ...
2
votes
1answer
995 views

Simulate key combination

I have a keyboard with no break key. Is there a means (install software or otherwise) to send a break keypress event to a machine with no break key? I'm fine using AutoHotKey or something. ...
0
votes
2answers
1k views

Autohotkey - set a hotkey to toggle (disabled-enabled a hole autohotkey script)

Hi I used to use at the beginning of my Autohotkey script toggle between totally disable it and totally enable it scrolllock:: Pause but it doesn't work anymore, and I have realize that if I set ...
1
vote
1answer
420 views

Autohotkey - hotkey 1 do something, key sequence 11 do another thing

Im pretty new in AHK, I would like Autohotkey to whenever I press the hotkey "1" in MS Word type HELLOW, but at the same time in the same app (MS Word) I want the key combination "11" (key 1 pressed ...
0
votes
1answer
2k views

Keyboard control of Groove

I'm using Groove, the Windows 10 music player. It's good, I don't want to download another. I use Spotify but for my local music, I use Groove. I was wondering if: It can be minimized to tray I ...
8
votes
2answers
701 views

How to disable only some Windows 10 global shortuts to use them in third-party applications?

1. Briefly I want to disable only some Windows 10 default global hotkeys, to use this hotkeys for run Sublime Text commands. 2. Detail I have Windows 32-bit 10.0.14393. In Windows 10 we have many ...
0
votes
0answers
51 views

How to keep Alt+Shift from inadvertently opening the menu bar of the current app on Windows (or how to make ALT purely a modifier key) [duplicate]

I'm a long-time Linux user, and a non-native speaker. Just like in Windows, Linux supports the Alt+Shift keyboard combination to switch between input languages. However, its behavior is more forgiving ...
1
vote
2answers
819 views

autohotkey - hotkey to toggle between Minimize and Restore for current selected window

I would like to create a single hotkey to toggle between Minimize and Restore for current selected window (explorer window, or program window, or any window), but I need the toggle to min and restore ...