Customization of the desktop using the AutoHotkey program.

learn more… | top users | synonyms (2)

0
votes
0answers
7 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 ...
3
votes
5answers
1k views

How to toggle the auto-hide status of the Windows taskbar

I use Windows 8 on my desktop. Currently I have to move my mouse over the taskbar, right click, click on properties, click on auto-hide the taskbar, and then click OK. This is a real pain if you want ...
1
vote
3answers
2k views

Autohotkey … modifying the mouse/touchpad pointer speed?

Is there any way (using autohotkey or not) to create a shortcut (two, actually) for modifying the mouse/touchpad pointer speed ? I have two mices, and one touchpad, which I use alternatively ... and ...
1
vote
0answers
17 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
19 views

Bolding for forum posts in AutoHotKey [on hold]

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 ...
0
votes
1answer
25 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 = ...
1
vote
0answers
26 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: ...
3
votes
2answers
2k views

Somehow AutoHotkey doesn't send Alt+keys to a program

I'm using the following AutoHotkey script: Numpad4::Send !f When pressing Numpad4 AutoHotkey is supposed to send "Alt+F" to the program currently opened. Nothing happens however - I've also tried: ...
0
votes
1answer
2k views

Exit loop in AutoHotKey

I have a simple AHK script as follows: Loop, 10 { Click 745,664 SetMouseDelay, 100 Click 345,635 SetMouseDelay, 25 Click 878,471 SetMouseDelay, 25 Click 772,557 ...
8
votes
1answer
6k views

How to combine three keys as a hotkey with Autohotkey?

I want to combine CapsLock Alt k keys in a single hotkey, such as this: CapsLock & !k:: Send !{Up} This doesn't work because Autohotkey doesn't allow the combination of more than two keys ...
0
votes
0answers
75 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
1answer
594 views

What program can I use to keep a window active in Windows XP?

I've heard of a program called 'Caffine' that can stop Windows XP screen saver from activating - but I would like to keep a particular window 'alive' even if the workstation locks.
1
vote
1answer
1k views

How to loop AHK by user input?

Is there a way to loop a certain script using user input with INPUTBOX? The script below runs only once when I click the button for it. Is there any way for the script to popup something where it ...
1
vote
2answers
586 views

How to quickly assign keyboard shortcuts to launch your favorite applications using autohotkey

In Windows (XP, 7, 8) how do you quickly assign keyboard shortcuts to launch your favorite applications using autohotkey when the application is active. In Keyboard utilities, you can launch your ...
4
votes
2answers
220 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
47 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 ...
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
23 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> ...
1
vote
2answers
2k views

Hit one key to hold a second key down, until third is pressed

I'm trying to get the following behavior with AutoHotKey: When the A key is pressed, AHK holds down the S key until the D key is pressed. The following script isn't working as expected: a:: Send ...
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 ...
0
votes
0answers
27 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
1answer
382 views

AutoHotKey key-pressing script for a game

I have a little trouble with game Resident Evil 6 and need help. Well, I want that my script press buttons L and O at the same time whenever I press TAB. I tried to write such a script and the script ...
0
votes
1answer
192 views

Using CapsLock as a Modifier + Standalone Key in Ubuntu

In Windows, you can use AutoHotKey to make Capslock a standalone key (say, binding it to 'escape') as well as a modifier (so that you can bind, say 'CapsLock + k', to launch a browser). I've tried ...
0
votes
1answer
63 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
91 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 ...
2
votes
2answers
90 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
28 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
46 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 ...
4
votes
2answers
905 views

AutoHotkey - Scrolling two PDF documents

I am trying to make a script that scrolls all the opened PDF documents at the same time. The problem is that I can not get it to work unless I specifically name each window that has to be scrolled and ...
0
votes
0answers
46 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
2answers
44 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
36 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 ...
1
vote
3answers
579 views

Can't run telnet in console opened by Autohotkey

I have enabled the telnet client on my Windows 7 64-bit machine and if I open the start menu and launch cmd from there I can run telnet. I normally use the keyboard shortcut Win-C, implemented by ...
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
13 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.
1
vote
3answers
865 views

Why is notepad++ blocking my autohotkey shortcuts?

I have a series of keyboard shortcuts defined in my autohotkey script. Currently, none of them work whenever notepad++ has focus. The script is loaded as usual. The keyboard shortcuts (mostly stuff ...
0
votes
0answers
28 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), ...
1
vote
3answers
234 views

windows 7 - when I open a folder in windows explorer (details view) via autohotkey focus is on the columns header

So when I press enter the list is reordered instead of the highlighted file/folder to open/ run Any workarounds ??? Win7 home Premium if this helps
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
51 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
3answers
1k views

Remapping Win+Tab to Ctrl+Alt+Tab with Autohotkey?

I'm trying to remap Win+Tab to Ctrl+Alt+Tab using Autohotkey, in a way that each time I hit Win+Tab, it would send Ctrl+Alt+Tab instead. I have this so far, but I'm not sure why it isn't working. I ...
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
39 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
125 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
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
61 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
31 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 ...
1
vote
1answer
72 views

How can remapping [ to { and { to [ with AutoHotKey

I want to switch the { key with [, so I don't have to use the Shift anymore to make { and I do have to use Shift key to make [... same question for switching , to < and vice versa. I know only ...
8
votes
7answers
19k views

How can I use Autohotkey to focus on an existing Google Chrome tab, not a “container” window?

How can I use Autohotkey to focus on an existing Google Chrome tab, not a "container" window? Details Google Chrome seems to represent each window with a container window handle, which contains one ...