Skip to main content

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 a full-fledged scripting language.

1 vote
1 answer
1k views

How can I combine two AutoHotkey scripts into one?

I want to combine the following two scripts into one: How to replace spaces with dashes? What is the windows keyboard shortcut for changing case in selected text? How can I do this? Note that ...
metal gear solid's user avatar
1 vote
1 answer
2k views

How to make AutoHotkey recognize the active window?

I remapped my wheel mouse for Windows Media Player. The remap works unless I change to full screen mode. Then AutoHotkey does not recognize it as the active window, and the remaps don't work. How ...
Phenom's user avatar
  • 6,657
1 vote
1 answer
3k views

Autohotkey Script to log into Gmail

I am trying to create a hotkey combination that opens up my browser and logs me into Gmail if I'm not already logged in. Does someone have a script for this?
eqzx's user avatar
  • 2,468
5 votes
5 answers
4k views

Conditional hotkey or include in AutoHotKey

Is there a way to define a Hotkey conditionally in AutoHotKey? I want to do different keyboard mappings for different machines with different physical keyboards. This is what I want to do: RegRead,...
Bowen's user avatar
  • 53
60 votes
5 answers
73k views

"Select to Copy and Middle Click to Paste" in Windows

Is there any application to mimic the "Select to Copy and Middle Click to Paste" behaviour in Windows? I was hoping to find an AutoHotkey script for this, but I couldn't. Maybe someone here could ...
swamplord's user avatar
  • 1,068
8 votes
2 answers
10k views

Logitech SetPoint software button remapping

My Logitech G5 Laser mouse has 9 buttons but it's SetPoint software only allows 5 of them to be used as "mouse buttons" and the remaining 4 can only be assigned special windows functions (Forward, ...
user avatar
0 votes
1 answer
154 views

How to specify "##" at beginning of line in autohotkey script?

I have this script: :r0*:vidrevph:: ( [[ ##intro - ]] ) but when it runs, it leaves out the ##: [[ intro - ]] How can I make it include the ##?
Edward Tanguay's user avatar
1 vote
4 answers
2k views

How can I tell AutoHotKey to ignore the key (space bar) the executes the script?

I have the following autohotkey script: ::aaim::==aim{ENTER}int{ENTER}{ENTER}12{UP}{HOME} which produces this: ==aim int 12 however, to execute it I have to type aaimSPACE which then puts a space ...
Edward Tanguay's user avatar
3 votes
3 answers
3k 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 ...
Rook's user avatar
  • 24k
1 vote
1 answer
294 views

Why does AutoHotKey not execute a {Left} after the () section?

I want this AutoHotKey script: ::aaim:: ( ==aim 2010 2 ){Left}{Up} to output this: ==aim 2010 | 2 but it outputs this instead: ==aim 2010 2{Left}{Up} }| (where "|" is the cursor) How can I ...
Edward Tanguay's user avatar
12 votes
1 answer
6k views

How can I make multi-line AutoHotKey scripts more readable?

I want to create an AutoHotKey script that generates this text: ==videoReview aspnetmvc IDCODE TITLE DESC 10:00 viewable online [[ ]] 3 english extras::$url=nnn;$reason= Using a similar tool called ...
Edward Tanguay's user avatar
7 votes
2 answers
8k views

How can I define the cursor position in a AutoHotKey script?

I wrote a AutoHotKey script to print out these four lines: ==quote web 12 but I want the cursor to be blinking between the line "web" and the line "12", I would think I could include the word "...
Edward Tanguay's user avatar
20 votes
8 answers
109k views

Super key to pause, mute mic, and mute speakers in windows

EDIT:Just rephrasing the question: Does anyone know how to mute the mic using autohotkey? Here's why I need it: Whenever someone walks in my office I have to pause the media player. Sometimes, when ...
Malabarba's user avatar
  • 8,788
2 votes
1 answer
2k views

Modifier with multiple keys syntax in AutoHotKey

I'm trying to insert a Unicode character in AutoHotKey using the keyboard shortcut like 'Alt-down' + a 9 'Alt-up' i.e. pressing the keys + a 9 while holding down the Alt key. I'm probably missing ...
pelms's user avatar
  • 9,321
3 votes
3 answers
408 views

Automate dull task

Like this question: Automate GUI tasks? I'm asking for a way to automate GUI tasks. I understand that those 2 apps are what's used for that sort of stuff, but those 2 apps are hard to use. OK, here'...
Ben's user avatar
  • 247

15 30 50 per page