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

0
votes
0answers
45 views

Make Google Translate extension read selected text automatically

I am using Google Translate extensition on Google Chrome. I already set up to immediately popup of any selected text as below. However, there is no option to make the extension read the selected text ...
1
vote
1answer
75 views

AutoHotKey Format Time

I'm trying to format 24 hour time like this. If I type "1930+" → 19:30 If I type "0630+" → 06:30 Basically when it reads a "+" at the end of a number 0-9 then it adds a " : " two places backwards. ...
0
votes
0answers
87 views

autohotkeys - pastes from clipboard instead of intended hotkey phrase

When I type in a hotkey command (ex. .shave) instead of filling in the intended Autohotkey phrase, it just pasts whatever I copied previously, i.e. what is on my clipboard. I'm using Autohotkeys in ...
0
votes
0answers
22 views

Autohotkey error due to missing IE.ahk

I would like to use this autohotkey for my dictionary. The code requires COM.ahk and IE.ahk. Unfortunately, the IE.ahk was retired and I am not familiar with autohotkey. When I run the code I got the ...
0
votes
1answer
96 views

Disable ALT Functionality after an Application starts using AutoHotKey

I was looking for a way to disable the alt functionality that prepares a mnemonic-capable menu to be used with the keyboard, waiting for a letter to be pressed but, apparently, this isn't possible by ...
0
votes
1answer
131 views

AutoHotkey: create a hotkey with 3 keys

I want to create a hotkey with 3 keys, for example "control + k + l" Let's say I have the following script: ^k&l:: Click, 55, 100 Click, 55, 750 Return This code won't function ...
0
votes
1answer
89 views

Need to send keystrokes into a Citrix window

Client just got a new system. They're connecting to a program through Citrix. I don't know the exact details but basically the call center connects to a VDI, and then opens the application. The ...
0
votes
1answer
69 views

Word 2016 template with jump stops

When making a template which includes the same text except for a few distinct additions that I need to insert, how can I include "jump stops" to signal the cursor to each desired place? I believe ...
0
votes
1answer
77 views

How do I make Auto Hotkey convert “RButton down, Mousewheel action, RButton up” into “MButton down, Mouse moving up & down, MButton up”"

I got a program that zooms when pressing MButton while moving mouse up and down. Because this seems a little bit odd to me, I decided to use AHK to let this program zoom when the mouse wheel is ...
4
votes
0answers
236 views

I Need to Keep a Window Active

I need to keep a browser window active while I use another window. "Keep-on-Top" is not what I'm looking before because when I switch pages, it still goes inactive. I'm trying to keep a page ...
0
votes
0answers
55 views

Opening a window is not working, but clicking is

SetTitleMatchMode, 2 ; approximate match IfWinExist, - Incoming Video Call - Google Chrome { WinActivate, - Incoming Video Call - Google Chrome } MouseClick, Left, 1455, 470, ClickCount 1, Speed ...
0
votes
0answers
100 views

Windows 10: Mac OS like full screen mode

In Mac OS, a full screen window is automatically moved to a new workspace. Is there a way to replicate this behavior in Windows 10? I.e. Poll (or get notified) when a window is fullscreen, create a ...
2
votes
1answer
45 views

Mimic right-click-key found on T420 keyboard

Background I used to have an old Thinkpad (T420?). The keyboard had a right click key on the keyboard, shown below. It was pretty convenient. I could open a folder, scroll down through the files in ...
3
votes
1answer
251 views

Autohotkey for disabling Alt-menu not working on Windows 10

I first discovered Auto Hot Key when I needed to disable the alt-menu option with the script ~LAlt Up:: return It worked back there, but its been a couple of months since I noticed it stopped ...
1
vote
2answers
31 views

Autohotkey go to EOL

In my autohotkey script I've created the following hot keys that I thought would allow me to move my cursor to the end of a line or beginning of a line instead of using Home and End. #NoEnv ; ...
0
votes
0answers
43 views

Remap “Windows key + Ctrl + Left or Right arrow” to “Alt + Ctrl + Left or Right arrow” [duplicate]

How can I, using AutoHotKey, remap the following: Windows+Ctrl+Left/Right arrow (which switches virtual desktops on windows 10) to Alt+Ctrl+Left/Right arrow or to Ctrl+Left/Right arrow Also: ...
0
votes
0answers
188 views

Remap “Windows key + Ctrl + Left or Right arrow” to “Fn key + Ctrl + Left or Right arrow”

How can I, using AutoHotKey, remap the following: Windows+Ctrl+Left/Right arrow (which switches virtual desktops on windows 10) to Fn+Ctrl+Left/Right arrow EDIT: Since this doesn't work, can I ...
0
votes
0answers
111 views

In KMPlayer how can I use mouse XButton1&2 for next/previous tracks

The mouse/keyboard preferences under general don't have the option to assign previous track and next track to the 3rd and 4th mouse buttons. I set up autohotkeys to send PgUp/PgDn which are assigned ...
3
votes
2answers
98 views

AutoHotKey Adding to End of a Number

I'm trying to set up AutoHotKey to do the following: If I type "34c" I want it to change to "34°C" with any number. 17.5c → 17.5°C It's easy to do with a "c" by itself by when it's at the end of a ...
2
votes
2answers
182 views

Disabling the WS_CAPTION flag does not work for chrome apps opened as window anymore

For years I've been using the ahk script below to disable the WS_CAPTION (long 0x00C00000) flag on Windows 10 applications windows in order to make their title bars invisible. The most common case of ...
3
votes
0answers
43 views

How can I recover an autohotkey script that has been over-written

I have an autohotkey script that is continuously running on my computer. I inadvertently saved a blank script over it, but the original is still running in the background. I tried to recover the ...
0
votes
0answers
64 views

Trying to encrypt Hex to base64 via clipboard with AutoHotKey

I got a code that will decode highlighted URL to base64. Now I like to encode a highlighted hexadecimal to base64 but I cannot get it work : / As example, we have hexadecimal: ...
0
votes
1answer
319 views

How to close all running scripts, and restart them later?

In order to update AutoHotkey, all running scripts must be closed. AutoHotkey processes can be killed with a simple script (see below), but I don't know how to restart the same ones at will. Currently ...
0
votes
1answer
104 views

Autohotkey script to launch program on internet reconnection

I'm trying to code a script that monitors the internet, and if it disconnects to run chrome.exe on reconnection. Here is what I have so far; UrlDownloadToVar(URL) { ComObjError(false) WebRequest := ...
0
votes
2answers
685 views

How to bind a key to left mouse button perfectly?

I am very new to AutoHotkey and I want to know if it's possible to bind a keyboard key to mouse left button one to one? Like if I hold down the key assigned to left click it would hold as if I'm ...
0
votes
0answers
19 views

Disable “Draw with Touch” in Powerpoint 2016

I draw a lot of my slides, and use one hand to manipulate objects and the other the use the pen. If I tap a different pen color with my pen, then it changes to that color (as expected). But if I tap a ...
0
votes
0answers
113 views

How can I give AHK priority for device input?

I'm using AHK to remap some keys.  For instance, I have Alt+K remapped to ↓ (down).  This usually works fine. But in a few programs, specifically TexStudio, it appears that AHK doesn't have ...
1
vote
1answer
163 views

Autohotkey script for releasing a key after being pressed in combination with another

Does anyone know what the script would be to release left after I press left and down? I want it so that when I press and hold ← ↓, ← releases but ↓ continues to be pressed.
0
votes
0answers
354 views

Is there any way to type the clipboard to the guest in VMware

Similar to this question for VirtualBox: How do you auto-type the contents of the clipboard from the host into a guest Virtual Box instance? Is there any way to type the contents of the clipboard to ...
0
votes
0answers
48 views

Is there a way to dock an app on the side of screen so other apps maximize to the side of it?

I've seen a few apps (such as instant messaging apps) that will dock to the side of the screen and essentially shrink your total desktop space, meaning that any apps that are maximized on that monitor ...
0
votes
1answer
56 views

windows 10: disable specific hotkeys

I know there are a ton of questions like this, but I'm having a slightly more specific problem... I want to disable a couple specific windows 10 hotkeys (specifically, any hotkeys that are modified ...
0
votes
0answers
15 views

Authotkey ImageSearch Error

I'm developing a script and when I try to search an image and then another one, it doesn't work. My code: F1:: loop { ImageSearch, foundX, foundY, 0, 0, %A_ScreenWidth%, %A_ScreenHeight%, cap1.png ...
0
votes
1answer
343 views

Autohotkey to search images

I'm learning how to use autohotkey and I wanted to create a script which open a game from steam and joins automatically to a specific server. My code so far is: F1:: Run, steam://rungameid/346110 ...
1
vote
2answers
880 views

how to open file in window on set position using autohokey from cmd/batch?

I having a hard time to combine my scripts which work separately... basicly I have a batch script with following in it: START "" "mpc-hc64.exe" "video.avi" this will open my video in mediaplayer. ...
0
votes
1answer
161 views

Autohotkey bug. Workaround?

In windows 10, I switch between a Greek Polytonic keyboard and a normal English QWERTY keyboard. I have an autohotkey script which swaps the left control key with capslock. settitlematchmode, 2 #...
0
votes
1answer
92 views

AutoHotkey XButton1 Simulating Control

I've been at this for an hour now with no luck. I've tried different ways and have yet to figure this out. Basically I'm playing a game, and in that game, in order for you to jump, you have to have ...
0
votes
1answer
50 views

autohotkey script only works if it creates a new notepad file each time

I have very little experience with AHK, but after some trial and error I managed to write a script that saved me tons of time. Somehow, it stopped working, and now that I am trying to troubleshoot it, ...
0
votes
1answer
86 views

CTRL+ENTER on a file in Windows 7 Explorer [duplicate]

The .py files are associated to SublimeText on my Windows 7. Thus, when hitting ENTER when the cursor/selection is on a .py file in the Explorer, SublimeText opens it. I want to keep this. How to ...
0
votes
0answers
91 views

Auto Hotkey - my checkbox stays on 0 untill I double click

I'll try to be as explicit as possible so you can understand my problem. I'm making a GUI with checkboxes which calls functions depends on the checkbox state. Basically my checkboxes are created ...
0
votes
0answers
33 views

Remapping Ctrl+LWin not working

I am trying to remap Ctrl+LWin to Shift+Alt and i tried this but it is not working: ^LWin::!Shift. Any idea why it is not working?
0
votes
2answers
533 views

Set hotkeys using AutoHotkey to control Music

I have a new pc with Windows 10 and three hotkey keys (f2, f9 and f10) are not used. On my old pc I had 3 keys dedicated to music: one paused/play, and the other two were to go to the next or previous ...
2
votes
1answer
2k views

How can I disable "Do you want to open or save this file?” prompt for .mp3 files in IE 11?

I am using IE11 for my AutoHotKey scripts.I want to disable “Do you want to open or save this file?” download prompt. I tried following things. 1-)Find the correct registry value for.mp3 C:\Users\q&...
0
votes
1answer
141 views

AutoHotkey: Syntax For Mapping CapsLock to Alt-Tab?

In AutoHotKey, I would like to map CapsLock to Alt-Tab. What is the syntax to make this work? And must I reboot to see it start working? (I've tried writing CapsLock::AltTab -- is this the wrong ...
0
votes
1answer
121 views

Keyboard Shortcut for Sort by Date Modified

Noob here I'm using autohot key to sorty by date modified whenever im in file explorer. Problem is that in some folders if the order of the columns is different my script doesn't work. Does anyone ...
1
vote
1answer
287 views

Three Key combination for AutoHotkey

I found out how to remap Caps Lock and S to something else: CapsLock &:: ... But how can I have a combination with three keys like CTRL, ALT and S?
0
votes
1answer
67 views

STAR song in spotify through AHK

As per this link: Is there a keyboard shortcut for "Save to Your Library" in Spotify's desktop app? The AHK script doesn't seem to work anymore. any updates/new solution to this please? ...
0
votes
0answers
55 views

AutoHotKeys + Microsoft RDP Client for iOS not registering keys

AutoHotKey doesn't register keystrokes when using the Microsoft RDP client for iOS (iPhone). The same script works fine from the RDP Client for Windows. Can this work?
0
votes
0answers
41 views

How to make a Conditional Test with a pseudo-array?

How to make a Conditional Test with a pseudo-array (dynamically created variable)? This script gets the monitor under the mouse cursor, Notice I created the variable MonWorkAreaRight_tempDyn := Mon%...
0
votes
0answers
55 views

some issues with my AltTab AHK script

I have created the following script to have an experience similar to the Android's "Recent Apps" but i have encountered some glitches; sometimes the Alt button stays "Down" after switching between ...
2
votes
0answers
144 views

Windows 7: Task Scheduler/Engine reduces the Working Set/memory of applications, is there anyway to stop this?

I've been trying to auto-start some Auto-HotKey scripts using the Task Scheduler since it allows the scripts to run with admin privileges without a UAC prompt. Usually, the scripts fail after several ...