Customization of the desktop using the AutoHotkey program.

learn more… | top users | synonyms (2)

1
vote
2answers
65 views

Mapping Ctrl+w to Alt+w sends both Ctrl+Alt+w

I'm using Autohotkey to map Ctrl+w to Alt+w for Cloud9 to close inner tabs with Ctrl+w like usual instead of their Alt+w. I tried to use the following simple mapping ^w::!w But it sends Ctrl+Alt+w ...
0
votes
1answer
55 views

How is it possible to find user's keyboard layout change method?

I've written an AutoHotKey script which changes keyboard layout by pressing CapsLock. Pressing CapsLock simply emulates "LeftAlt down + Left Shift + LeftAlt Up" combination. It's obvious, that my ...
1
vote
2answers
100 views

Keyboard shortcut to jump out of text input box (i.e. to remove input focus)

I use autohotkey to perform a ctrl+home combo when I press my middle mouse button, with the result of jumping to the top of the webpage I'm on. This, however, breaks down if the cursor is inside a ...
0
votes
0answers
29 views

How would I play input from the mic through speaker while a key is pressed?

I like to play games with my headphones on, and it feels really weird to not hear myself when I speak. The V key is what I use to transmit, so is there an AutoHotkey script or other program to listen ...
-1
votes
1answer
28 views

XP Right Click doesn't work for multiple selection

When I right click on a text file and select 'Open' it opens the file in notepad. But when I click multiple text files then select 'Open' nothing happens. Can someone help me on this? If it could be ...
0
votes
1answer
96 views

Copy, alt+tab, paste, alt+tab

I want to do a superpaste and wrote this in AHK. Is my code wrong? I get error on both scripts Script 1 ^!c:: Send Send {Ctrl Down}c{Ctrl Up} Sleep, 100 Send !Tab Sleep, 100 Send Send {Ctrl ...
0
votes
2answers
50 views

Autohotkey - Ctrl combination randomly deletes text as I type

My m key is broken, so I am using an autohotkey script to restore its functionality. m is set as Ctrl + , ^,:: send m Every once and a while, pressing this combination deletes everything that I am ...
0
votes
1answer
130 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 ...
1
vote
1answer
359 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
103 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
51 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
48 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
32 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
2answers
887 views

AutoHotKey - Hold a key down

I have an AutoHotKey script that should hit F3 when I hold down Ctrl, and hit F2 when I release Ctrl. My script currently: $ctrl:: Suspend, On Send, {F3} While (GetKeyState("Ctrl",P)) { } Send, {F2} ...
0
votes
1answer
43 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
38 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 ...
1
vote
3answers
71 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
51 views

replace alt+f4 with ctrl+w

I am using this Remap ALT+F4 to CTRL+W script but it does not work on some programs, such as evernote. I tried to create one myself: ^w:: SetTitleMatchMode 2 IfWinExist Evernote Send !{F4} else ...
0
votes
0answers
112 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
1k 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
184 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
163 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
43 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
33 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
20 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
219 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 ...
-1
votes
1answer
83 views

AutoHotkey - Organizing hotkeys so as to use Several hotkeys optimally

My question is how to structure key combinations in the script below most effectively using AutoHotkey. Having searched for exactly how to do this for hours I figured I should post here so others ...
0
votes
0answers
47 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
105 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
70 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
91 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
49 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
50 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 ...
4
votes
1answer
103 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
58 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
258 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
49 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
32 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
71 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
62 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
120 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
149 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
35 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
960 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
668 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
351 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
146 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
360 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
102 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
56 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 ...