Customization of the desktop using the AutoHotkey program.

learn more… | top users | synonyms (2)

0
votes
1answer
7 views

AHK export txt to pdf

In notepad++ I want a way, using AHK, to quickly export it using pandoc from a txt to a pdf. I'm halfway though the code. It does not work. What I want to do is Go to Edit>Copy To ...
0
votes
0answers
17 views

How to remove focus from UI component that accepts text input?

Is there a shortcut that will remove focus of the windows pointer from a text editor ? This shortcut does not seem to be available ? Reason for this is that I'm using autohotkey and for some ...
0
votes
1answer
40 views

Adjust brightness with Autohotkey using micrsoft codes for HID

I know there are similar questions but I have done some investigation and have noticed that AutoHotkey works perfectly with Volume_Up and Volume_Down but I am surprised there is no similar command for ...
0
votes
1answer
44 views

How to make backspace key in Windows 8 Explorer get me to parent folder instead of going back in history? [revamped] [duplicate]

Posting the same question from another user, but for windows 8 instead. In Windows XP, Backspace (aka ←) key leads you to the parent folder, but in Windows 8 it just goes back in history. How do I ...
-1
votes
0answers
52 views

How is it possible to emulate mouse wheel scrolling using the touch screen on Windows 8.1? I.e. remapping touch gestures to mouse events

I recently bought the Surface Pro 3 and noticed a very annoying problem concerning all applications that do not yet support touch input. For example: The note taking application "Evernote" does ...
1
vote
2answers
64 views

Autohotkey Having Hotkeys & Hotstrings

How do I allow the Hotstrings to be triggered by remapped hotkeys so they work in Autohotkey? r::Send e ::ee::by the way So that when I press rr on the keyboard it prints "by the way". Currently ...
0
votes
1answer
25 views

Modify hotkey to only fire when text area not in focus

Below script fires sublime text program when user types "sub" : :*:sub:: ; Run "C:\Program Files\Sublime Text 3\sublime_text.exe" return The issue is that it also fires as im typing text into a ...
1
vote
1answer
36 views

AutoHotkey: Bind one key to two modifier keys

My issue is deceivingly simple. I have this combination in my .ahk file: Capslock::Shift This works. If I hold down Capslock, it doesn't activate, but it does whatever Shift has to do, which is ...
0
votes
1answer
36 views

AutoHotkey to map Right Winkey and TAB to LWin and t

I changed keyboards. Now I have a right windows key but not left. Left work(ed)s for my simple script of #TAB send #t return this cycles through the windows on my taskbar. but it doesn't work ...
0
votes
0answers
32 views

AutoHotkey, don't get the solution

I really need your help. I trying to program an AutoHotkey script but I not quite getting a working solution. My current AutoHotkey script is: #IfWinActive Guild Wars 2 shift & 1:: Send, 1 sleep ...
0
votes
0answers
17 views

Hotkeyed speech-to-text in Windows?

I'm trying to create a hotkey that loads up speech to text like my phone. It would be incredibly convenient, I think. Any ideas, please?
0
votes
1answer
50 views

ssh login with key can't connect although go an ssh key

I have my 2 servers that I want to connect one to another with ssh. I am the user --> userA in serverA, and I have this config file in .ssh folder Host git HostName git.OURSITE.com ...
1
vote
1answer
52 views

Autohotkey use CapsLock key as modifier key

How might I use the CapsLock key as a modifier type key in autohotkey? For example currently I am currently doing the following: t=0 CapsLock::t:=!t #If t y::6 u::7 Ideally I would like to ...
0
votes
0answers
24 views

Disable Backspace as Nav in Chrome using AutoHotKey

I'm trying to use AutoHotKey to fix the backspace key in Chrome. My first attempt utilized the following solution from this question: #IfWinActive, ahk_class Chrome_WidgetWin_1 BackSpace::Send, ...
0
votes
1answer
24 views

Creating a keyboard command with AHK, no *else* statement

I want to have the same shortcut for tabs in my pdf reader as in my browser. With AHK I wrote: ^PgUp:: IfWinActive Foxit Reader Send {Ctrl down} Send {Shift down} Send Tab else return ...
0
votes
1answer
26 views

Autohotkey Directives

I get the following error when trying to create the following autohotkey. #If test Error: This line does not contain a recognized action. Why can't I use #If directives in autohotkey ...
0
votes
1answer
25 views

Autohotkey on a win8 tablet: three clicks for an action

I would love to use three clicks on my tablet to perform an action such as ^w (closing chrome windows). I have tried with "RapidHotkey" script but to no avail. I would greatly appreciate your help. ...
0
votes
0answers
18 views

Autohotkey - How to overwrite an existing hotkey, while remapping the original hotkey

I want to do a seemingly simple action but I'm having trouble figuring out how. I want to remap Ctrl-F - which natively opens a 'find' window in the program I'm using - but I want to create a new ...
0
votes
0answers
30 views

how can i edit this AHK script to make it toggle?

So I have this script (thanks is due to whoever): lctrl:: { toggle:=!toggle } [color=red]~[/color]lbutton:: { if toggle When holding Ctrl, it prevents the scripts from working. How do I ...
1
vote
2answers
35 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
45 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
64 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
21 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
18 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
54 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
37 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
69 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
153 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
60 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
40 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
35 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
25 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
198 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
35 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
33 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
60 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
44 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
83 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
417 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
98 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
116 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
36 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
25 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
64 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
65 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
37 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
65 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
57 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
77 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 ...