Customization of the desktop using the AutoHotkey program.

learn more… | top users | synonyms (2)

0
votes
1answer
24 views

How to map the Touchscreen Windows Button to right-mouseclick

My Lenovo Yoga 2 Pro has an extra Windows Touch Button next to the touchscreen. Is it possible to remap that button to the right mouse button? This would be very helpful in many games, that are not ...
1
vote
0answers
18 views

AHK Gui button working as a toggle?

I have been searching for a while now on how to make a GUI button work as a toggle for a simple loop. I'm stumped and need help. Here's my code. #NoEnv #SingleInstance force ...
-3
votes
1answer
20 views

Bolding for forum posts in AutoHotKey [closed]

I want to make a script that'll activate the bold forum code ([b]) when pressing CTRL+B on the first time, and that'll deactivate it ([/b]) on the second press. However I can't understand the ...
1
vote
0answers
29 views

How to swap Alt+PgUp and Alt+PgDn inside an mstsc window, with autohotkey?

Context description: As a Windows admin, I often use mstsc.exe from my client machine to connect to Windows server remote desktop. I realize that,when mstsc is the active window on my client machine: ...
0
votes
2answers
51 views

How to press send on 6 browser windows running gmail?

We are doing a blinded trial on email forwarding, to see what kind of messages users will forward to their friends. We need to fire off the emails at once ideally. Is there a way to press send on 6 ...
0
votes
1answer
25 views

Specifying caret position in AutoHotKey

When typing foo I want AutoHotKey insert foo % bar and place caret at %, so I can type something there. Is it possible? What about following: <a src="%placeholder1%"> %placeholder2% </a> ...
0
votes
1answer
27 views

Autohotkey : Unable to map RCtrl + Rshift + Tab : Getting syntax error

I'm a new Autohotkey user. I'm trying to remap keys for use with Outlook. RCtrl & Tab:: WinGet, Active_ID, ID, A WinGet, Active_Process, ProcessName, ahk_id %Active_ID% if (Active_Process = ...
2
votes
0answers
24 views

How to setup a Ubuntu custom shortcut for “goto selection”

On Windows, I set up a Autohotkey shortcut in a way that the selected text was sent to the OS for execution. If it's a http hyperlink, default browser is launched. If it's a file path, file explorer ...
4
votes
2answers
230 views

Detecting touch screen presses in AutoHotkey in Windows 8

I am using a Dell Venue 8 Pro running Windows 8.1 32 bit. I am trying to use AutoHotkey to map certain regions of the screen to certain buttons on the keyboard, in order to be able to use the touch ...
0
votes
1answer
69 views

Any way to keep connection alive in pgAdmin without setting it on the server?

I am using postgres.heroku.com to host my databases. This means that I have no way of changing server settings. Therefore, the answer to this question does not help me. Heroku is not willing to change ...
1
vote
1answer
94 views

What Windows shortcuts should be blocked on a kiosk-mode PC

Assume a normal Windows 7 PC and a custom application running in kiosk mode. It's not possible to quit the application without a password. Now I want to block all Windows 7 key combinations which ...
0
votes
1answer
48 views

How to Remap a Program to lock Windows (Win+L)

I'm trying to remap WinLock to something new. Basiclly i want to remove Win+L to lock Windows and add Win+L to Open a specific program to be opened. Any Help ? Thanks. PS: currently i using #L::Run ...
2
votes
2answers
97 views

How do I create a hotkey for a sequence of inputs while holding Ctrl, e.g. {Ctrl Down}ec{Ctrl Up}?

For example, in Visual Studio Express 2013, many of the formatting shortcuts have been "folded" into Ctrl+E. To comment a selection, one would hold down Ctrl, hit E, hit C, then release Ctrl. ...
0
votes
1answer
30 views

How to nullify key temporarily when another key is pressed in AutoHotKey?

I am playing a rhythm game where you can bind two keys to hit one note (in my case LShift and LControl), however it will only register the note if it is being hit singularly. By that, I mean if I have ...
2
votes
1answer
48 views

How do you open a window and push it to the right from the command line?

I'm using autohotkey on Windows 7, and I bound Ctrl+Alt+T to the command run powershell.exe -noexit -WindowStyle Maximized, which works, but I am partial to using powershell when it is pushed to the ...
0
votes
0answers
51 views

AutoHotkey Script request: Autocharging and Autofire

This is a script request which would work for Mega Man and some other games. An AHK script which enables autocharging and autofire. I'm a newbie with programming so I believe I could use some help. ...
0
votes
0answers
37 views

Keep Windows GUI active when switching user and when closing Remote Desktop

I need to run a GUI script (AutoHotKey, which makes mouse clicks and press keys) on: A different windows user (i.e. I run the script, then switch user while keeping the session active) A remote ...
0
votes
2answers
45 views

autohot key help WIN key and Left/Right Arrows

I'm trying to make a autohotkey scrip that would do the following sequence once I press [Win] + Space: [Win] + E --> To open an explorer window [Win] + [Left] --> to put it on the left of the screen ...
0
votes
0answers
26 views

Autohotkey Prevent GUI from closing after pressing Button

The GUI closes every time I press the "Kitch" button. What I did temporarily is to put "Gui, Show" in order to make the button reappear again. Gui, Add, Button, x2 y0 w110 h60 , Kitch Gui, Show, x127 ...
0
votes
0answers
14 views

Simple suspend script for AutoHotKey

I need a simple script, that change the "calculator" key of my microsoft 600 keyboard to a "Suspend (sleep)" functionality.
0
votes
0answers
30 views

AHK: disabling PgDn & PgUp keys while running script

What I want to do is create a script that allows me to disable the effect of the page down or page up keys while it waits (so it doesn't instantaneously capture the hotkey so there's no override), ...
0
votes
0answers
40 views

Open Power plan window using RunDll32.exe

I am a power user of AutoHotKey. Currently, I want to create a shortcut to open Power plan in windows 7. The window I want to open is in the screenshot below I tried the following commands too but ...
0
votes
2answers
56 views

Replace text string WITH a variable

I'm using an .ahk script for text replacement. So I use ::-h:: Hi, thanks for your mail However, I would now like to include a variable. So I want to try to achieve: Press shk shortcut key (-h) ...
0
votes
1answer
40 views

Auto hot key input based on pressed key

I want to make a script that sends input based answer, For example, The last input is 1:Option1 | 2:option2 | 3:Option3 | 0:Cancel How I can make that If I press on 1 it will send a different ...
0
votes
0answers
81 views

Setting a loop and a key to stop it

I want to change this so it doesn't stop when it reach the number 6 and instead starts over (loops). I also want to stop the loop when I press F10. Is this possible? F9:: WinActivate, Path of Exile ...
0
votes
0answers
27 views

Autohotkey - How do I redefine AltGR + key

I am trying to define a hotkey such that AltGr A does the same as Windows 1 ^a::#1 ; Works <^>!a::#1 <^>!b::msgbox, altgr b pressed ; Works The first line ...
0
votes
0answers
40 views

reverse ctrl+v and shift+ctrl+v

I want to reverse ctrl+v and shift+ctrl+v only when I'm in evernote. I'd prefer to use AHK for this. But I don't know how to do it. The reason for this it that I use evernote, and want paste as plain ...
0
votes
1answer
54 views

RAlt getting stuck on AHK

I have this alphabetical list on a script I've made. RAlt & a::Run, C:\Program Files (x86)\FreeAlarmClock\FreeAlarmClock.exe RAlt & b::Run, C:\Program Files (x86)\Brain ...
0
votes
0answers
63 views

Change file type associations in autohotkey script

I have a Surface Pro 2 running Windows 8.1. I use Zotero for all my academic reading, and depending on whether I'm using the surface as a laptop or as a tablet, I'd like the program used to edit PDFs ...
1
vote
1answer
32 views

Autohotkey - ending a script early

Is there a way to end a script early, i.e. to jump to the bottom of the code? My script is something like: F9:: Goto, F10 sendinput {enter} sendinput Hello! sendinput {enter} Sleep 1000 sendinput ...
0
votes
0answers
28 views

How to set input based answer

I want to make a script that sends input based answer, For example, The last input is 1:Option1 | 2:option2 | 3:Option3 | 0:Cancel ->(exits script) How I can make that If I press on 1 it will ...
0
votes
2answers
37 views

How can I swap a file in and out of a directory, in windows 7?

My brother and I play this game on the same computer, but we have different in-game configs Our in-game key binds and some other settings are different, and the game does not support separate ...
0
votes
1answer
128 views

Internet Explorer 11: Touchpad scroll breaks if loaded from

I am using Internet Explorer 11.0.9600.16476 (Update Versions 11.0.2). What happens is if I load IE by clicking a Desktop or Start Menu icon or a Windows shortcut key (assigned from Properties), it ...
0
votes
0answers
42 views

Script that only works in a specific program

I am trying to create a script which will work only in the portable version of PDF X-Change reader. Googled and tried several versions of program specific autohotkey instruction but failed to work ...
1
vote
1answer
49 views

gvim suddenly starts triggering User Account Control, on Windows 7, breaks AutoHotkey

On Windows 7, my copy of gVim has suddenly triggered the User Account Control popup "Do you want the following program from an unknown publisher to make changes on this computer?" As far as I can ...
0
votes
0answers
97 views

AHK script that can loop sending keys

I'm trying to make AHK scripts but seems I'm inexperienced at this and can't get anything to work. I have 2 windows of Chrome open at same time: one I'm using and other inactive in the background. I ...
1
vote
1answer
114 views

Create a hotkey /keyboard shortcut to close the Notepad++ Find Results window

I have always wished that Notepad++ had a keyboard shortcut for closing the Find Results pane / window that appears when I do one of the following: Find All in All Opened Documents Find All in ...
0
votes
1answer
29 views

Typing U prints 6, I prints 7 and so on. Can be fixed with AutoHotKey script?

My keyboard is misbehaving. When I press U it types 6. I types out 7 and so on until [ and ] keys, which work fine. Interestingly enough numbered keys 6 and so on work perfectly fine. What would be ...
0
votes
1answer
41 views

Autohotkey: How to construct dynamic parameters to call a function

I'd like to Use Win+Alt+<arrow-keys> to move current active window around. So I come up with Autohotkey script: WinMoveRelative(rx, ry) { ; Move current window by a relative rx, ry value. ...
0
votes
1answer
126 views

Remove the frame, shadow and the title bar of the window

How to remove the frame, shadow, and the title bar? From QT Creator. Using AutoHotkey L?
0
votes
0answers
35 views

Grabbing for the process

How to enable these functions to process qtcreator.exe: WinActivate, WinMove, 0, 26, (A_ScreenWidth), (A_ScreenHeight-26-40)
0
votes
1answer
43 views

#IfWinActive not work properly with other shortcuts

I am trying to use the following code in autohotkey. SetTitleMatchMode, 2 ; So that we can partial match window title ; Fix MRU in NetBeans #IfWinActive, NetBeans IDE { ; CTRL+TAB ...
0
votes
1answer
63 views

“Listen to device” Autohotkey need advice to finish

In all honesty I have no idea what I'm doing and I could really use some help I'm trying to turn "Listen to microphone" on and off with the use of the "end" key and have a desktop shortcut. I've done ...
2
votes
2answers
62 views

Is it possible to load Windows Calculator in a particular view?

In Windows 7, Calculator has four different views: Standard Scientific Programmer Statistics When I load the calculator, I know whether I want to do hex arithmatic/conversion (Programmer view) or ...
1
vote
1answer
52 views

Code leaking, latter #If statement not closing former #If

The problem Upon pressing the left mouse button, the hotkey for Win+Z gets triggered with it (or basically any code below the LButton hotkey) What is it? It's an AutoHotkey toggle for a Rainmeter ...
0
votes
1answer
52 views

Curly braces in Autohotkey “Send” command conflicting with hotkey braces

It's pretty hard to explain without showing the code first, so here goes: This is the code: #l:: { SoundGet, mutestate, , MUTE if mutestate = Off Send {Volume_Mute} Sleep 200 ...
0
votes
0answers
14 views

autohot key using Text Box and a button

Need a little help with a text box and a button.. I have been trying to experiment with "text box" and a "button"..but am not able to do it... I need to take the "values" from the "textbox" field and ...
1
vote
1answer
50 views

How can I map Alt+` to Alt+Shift+Tab in Windows with AutoHotKey?

In Mac, it is possible to use Alt+` (aka backquote, backtick) instead of Alt+Shift+Tab to cycle through open apps. I tried creating the same mapping using AutoHotKey but failed. The closest I came ...
1
vote
1answer
86 views

Autohotkey script - Send keystroke on specific Firefox page?

I have a script that sends End key keystroke when i open specific page in Firefox, it scrolls automaticly to the bottom of the page. The problem is that i can't scroll upwards on that page any more. ...
1
vote
1answer
45 views

Close and restart application with autohotkey

I need a autohotkey script that closes and restart a program immediately, for example Screamer Radio, screamer.exe. I use ^#Numpad7::run to run screamer.exe ^#Numpad7::run C:\Programmi\Screamer ...