Customization of the desktop using the AutoHotkey program.

learn more… | top users | synonyms (2)

0
votes
1answer
27 views

Scrolling horizontally in Adobe Reader using AutoHotkey

I want to use AutoHotkey to scroll a document horizontally in Adobe Reader X. Sending wheel messages (0x20e) does not work, nor does sending scroll messages (0x114). The only method I could find is to ...
0
votes
1answer
48 views

Easily type Unicode characters using AutoHotKey?

For example, I want to be able to type → (right arrow) using AutoHotKey's text replacement feature, and this is what my script looks like: ::|rarr::{ASC 2192} So when I type |rarr in my text editor ...
0
votes
2answers
28 views

ahk SetTitleMatchMode stopped working

Problems I had AHK set up on my computer, a few files (programmen.ahk and grammatik.ahk for example) in the same folder /ahk-script I might have installed some program, because the script does not ...
0
votes
1answer
30 views

Autohotkey for letter a + Enter key

I would like to know the script for replacing my Insert Key with the letter a and then Enter key. So if I press Insert, letter a should be typed and then the enter key.
0
votes
1answer
27 views

Get hotkey to type a random number as if I typed it on a keyboard on Windows?

In many cases I need to not just generate a list of random integers (which is easy), but to type random integers into various software. For example, to skip a random number of lines (1 to 100) in ...
1
vote
1answer
11 views

mintty with AutoHotKey

I'm using a simple AHK script to move windows around: NumpadEnd:: WinMove,A,, 50,730,1000,314 return This works great on everything, except mintty. It just completely ignores it. I have ...
0
votes
1answer
38 views

AutoHotKey - Hold a key down

I got a little problem. I want my AHK to do: When i hold down Ctrl i want it to hit F3 one time, and when i release the Ctrl again, i want it to hit F2 one time. I tryed this: $ctrl:: Suspend, On ...
0
votes
1answer
20 views

on AHK how can I combine ALT+E+B into one hot key

Im having trouble creating this hotkey In my program I use, I want to press Alt and e and B in order to do a command but I want to combine all that into one hotkey how would I do that?I just don't ...
0
votes
0answers
21 views

Switching Left Alt with Ctrl and CTRL Tab to Alt Tab

i've the following script to switch the left Alt and Ctrl Buttons on my Keyboard: LAlt::LCtrl LCtrl::LAlt Now I would like to be possible again to use alt / Tab for switching Application, but with ...
0
votes
1answer
36 views

Run a .ahk on stratup

In Windows 7, I used to copy .ahk files to start-up folder to make them to start automatically. But this does not work in Windows 8. Is there any solution?
0
votes
1answer
31 views

replace alt+f4 with ctrl+w

I am using this https://github.com/Drugoy/Autohotkey-scripts-.ahk/blob/master/Remap%20ALT%2BF4%20to%20CTRL%2BW/Remap%20ALT%2BF4%20to%20CTRL%2BW.ahk but it does not work on some programs, such as ...
0
votes
0answers
54 views

How can I release the Win-L key combination to the underlying program?

I'm a Mac user (boo, hiss, I know) who's occasionally working on a Windows 8.1 partition on his Macbook. I've used AutoHotKey to remap several keys, and make my life easier by sharing the same general ...
2
votes
1answer
96 views

Set (Many) Programs' Window Size/Position

I'm looking for a solution similar to this, but for Windows 7 (64-bit), and not just for the terminal. This is also definitely not a duplicate of this question. The Problem Some programs remember ...
1
vote
1answer
45 views

How can I bind scrollwheel to a key in Mac OS X?

I am new to using a Mac, and I have used AutoHotKey applications that rebind the mouse scroll wheel (for example, E = scroll up by 1 mouse wheel "tick" of sorts) to a specific window title, eg. "Game ...
0
votes
0answers
52 views

Remapping Caps Lock and Ctrl in Windows 8.1 on MacBook Pro doesn't work completely

I know there's lots online about swapping Caps Lock and Ctrl, including for Macs running Windows. However, I'm having a problem where, if I do that using AutoHotkey (running a native BootCamp ...
1
vote
0answers
28 views

Why did windows change the elevation requirements of my AutoHotKey script, and how can I prevent such in the future?

I was working on an AutoHotKey (AHK) script to create prefab mouse movements for a very simple model viewer. I worked on it for a good hour. I zipped the script, posted it to a forum, and thought "oh ...
1
vote
0answers
18 views

How to read from an already existing dropdown list and then click on a button using autohotkey?

Please tell me how to read from an already existing dropdown list and then click on OK using AUTOHOTKEY. Thanks.
0
votes
0answers
17 views

Use mouse wheel with numpad using ahk? [duplicate]

I'm on a laptop without a mouse. This means I don't have the middle mouse button/wheel. I tried to use ahk to make my numpad act like a mouse wheel with the middle mouse button. Numpad8::WheelUp ...
3
votes
1answer
27 views

Emulate middle mouse button with AutoHotKey

I would like to write a simple script (one-liner?) to map the left shift + right mouse button to the middle mouse button (I don't actually have a middle mouse button, as it is a trackpad). I have ...
0
votes
1answer
37 views

AutoHotkey - Organizing hotkeys so as to use Several hotkeys optimally

My question is how to structure key combinations in script below most effectively using AutoHotkey. Having searched for exactly how to do this for hours I figured I should post here so others can at ...
0
votes
0answers
33 views

Remapping Alt+Space to Win+S in Autohotkey

I have tried several variations: LAlt & Space::Send #{s} and !Space::Send #{s} and !Space::#s but none of them produce reliable results. The remapping works sometimes, but most of the ...
0
votes
1answer
34 views

AHK separate multiple lines of clipboard

I am trying to make simple AHK macro. What I need is following: User copies multiple lines of numbers e.g 1234 12345 123125 12512 123123 my code needs to read from clipboard and do following ...
0
votes
2answers
50 views

How can I re-map these keys?

I am re-mapping the Qwerty layout to Dvorak using AHK because I can't install custom keyboard layouts on this computer. Most of my remapping just follows a simple pattern, and this works well: ...
0
votes
1answer
54 views

How can I re-map the colon (“shift+period”)?

I am re-mapping the Qwerty layout (Danish) to Dvorak using AHK because I can't install custom keyboard layouts on this computer. So for instance these work fine: :*:n::b ; remap "n" to "b". This ...
0
votes
1answer
33 views

AHK running url as standalone program - workaround needed

I created this program ^+l:: IfWinExist Toggl WinActivate, Toggl else run "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -app=https://www.toggl.com/app/#timer return But the ...
1
vote
0answers
33 views

Paste to text file script

I'd like to use AHK to create the following program: I highlight some text, and hit ctrl+c. I hit the keyboard shortcut, say #c Notepad++ creates a new text file with the content, and promts me to ...
3
votes
1answer
38 views

Open browser hotkey

I want this when I press ctrl+. if chrome is not running, open it up. if chrome is running, open the last window. tried this ^.:: IfWinExist Google Chrome WinActivate, Google Chrome else ...
0
votes
0answers
41 views

Autohotkey - remapping keys doesn't work

I am using Ctrl+Shift to switch between keyboard input language and i want to remap NumpadAdd key to ctrl+shift so i can change the languge with single key press. I tried this: NumpadAdd::^Shift ...
0
votes
1answer
115 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
28 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
29 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
56 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
54 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
38 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
92 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
29 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
473 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
234 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
175 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
82 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
184 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
51 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
52 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
104 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
72 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
63 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
1answer
53 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
21 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
48 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
1answer
64 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 ...