Search found 18 matches
- 30 Aug 2023, 16:12
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 106
- Views: 9452
Re: AutoCorrect for v2
Thank you! I've used the autocorrect script for years and figuring out how to port it to 2.0 was beyond my ability. I'm super grateful!
- 03 Jun 2022, 22:24
- Forum: Ask for Help (v1)
- Topic: Error message for accented characters in autocorrect script on Lenovo PC
- Replies: 1
- Views: 215
Error message for accented characters in autocorrect script on Lenovo PC
I've been using AHK on numerous computers for many years without a problem. I recently purchased a Lenovo mini-tower and it's the only computer I've ever had this problem on. I'm running Win10 with all updates installed. I have AHK 1.1.34.02 installed. I am using the autocorrect script that's been o...
- 15 Feb 2022, 09:31
- Forum: Ask for Help (v1)
- Topic: Soundplay won't play audio file Topic is solved
- Replies: 2
- Views: 595
Re: Soundplay won't play audio file Topic is solved
That does it, thank you!
- 14 Feb 2022, 23:32
- Forum: Ask for Help (v1)
- Topic: Soundplay won't play audio file Topic is solved
- Replies: 2
- Views: 595
Soundplay won't play audio file Topic is solved
I'm trying to write a simple script to play an audio file. Here's what I've tried: ^!o:: { SoundPlay, "D:\Dropbox\Sound Recordings\20170206_171622.wav" Sleep,2000 MsgBox "hello" } return I've also tried it with , Wait at the end of the Soundplay command but that doesn't make a difference. The MsgBox...
- 20 Mar 2020, 10:10
- Forum: Scripts and Functions (v1)
- Topic: EitherMouse 0.8 - Multiple mice, individual settings...
- Replies: 392
- Views: 216756
Re: EitherMouse 0.8 - Multiple mice, individual settings...
Hi, I've just discovered your script, and it's something I've needed for a long time. I'd love to get it working. My need is to be able to have a regular mouse on the right side of my keyboard and a trackball on the left side, and have the cursor speeds set differently for them, because their native...
- 21 May 2019, 11:57
- Forum: Ask for Help (v1)
- Topic: Programming a keyboard Key to toggle the left mouse button being held down
- Replies: 1
- Views: 361
Re: Programming a keyboard Key to toggle the left mouse button being held down
I haven't tested this, but the command Click, down looks like it should do the trick.
https://autohotkey.com/docs/commands/Click.htm
https://autohotkey.com/docs/commands/Click.htm
- 21 May 2019, 08:48
- Forum: Ask for Help (v1)
- Topic: Autocorrect script typing first letter twice in OneNote for Windows 10
- Replies: 2
- Views: 480
Autocorrect script typing first letter twice in OneNote for Windows 10
I've used the Autocorrect.ahk script for years in all kinds of applications without ever having a problem. I have just switched from OneNote 2016 to OneNote for Windows 10 because Microsoft is phasing out OneNote 2016, and is only adding new features to OneNote for Windows 10. OneNote for Windows 10...
- 08 Apr 2019, 10:31
- Forum: Ask for Help (v1)
- Topic: Script to move app to other monitor and go full screen—almost working ...
- Replies: 2
- Views: 3244
Re: Script to move app to other monitor and go full screen—almost working ...
HI, Thanks for that suggestion. I tried putting WS_MAXIMIZE := 0x1000000 before, after, and both before and after the WinMaximize command, but it didn't fix the behavior. I'm not sure if that's what you were suggesting, but it's what I gleaned from the link you sent. Would you let me know if I misin...
- 08 Apr 2019, 09:03
- Forum: Ask for Help (v1)
- Topic: Script to move app to other monitor and go full screen—almost working ...
- Replies: 2
- Views: 3244
Script to move app to other monitor and go full screen—almost working ...
Hi, I have two identical monitors running at 3140 x 2160. I often want to take one full screen app and move it to the other monitor in full screen mode. Without AHK this takes several keystrokes. I've attempted to write a script to do this with one key combination. Below is the script for moving fro...
- 25 Feb 2019, 09:09
- Forum: Ask for Help (v1)
- Topic: Having trouble using if Winactive to only run if one of a set of particular windows is active
- Replies: 2
- Views: 606
Re: Having trouble using if Winactive to only run if one of a set of particular windows is active
Perfect, thanks so much!
- 24 Feb 2019, 18:20
- Forum: Ask for Help (v1)
- Topic: Having trouble using if Winactive to only run if one of a set of particular windows is active
- Replies: 2
- Views: 606
Having trouble using if Winactive to only run if one of a set of particular windows is active
I want to assign the right Alt key to execute a "Ctrl+Del" keystroke, but only if Word, OneNote, or Scrivener is running. Otherwise I want to have the right alt key function as it normally does. As written, it executes in all apps, and I can't figure out why. Here's the code: if WinActive(ahk_exe WI...
- 03 Jan 2019, 19:34
- Forum: Ask for Help (v1)
- Topic: Streamdeck interfering with hotstrings and hotkeys
- Replies: 0
- Views: 542
Streamdeck interfering with hotstrings and hotkeys
I just got a Streamdeck and found that if I run an application from Streamdeck (e.g., Word), my hotkeys and hotstrings don't work. If I run the application from Windows directly they work fine. If I load (or reload) the AHK scripts from Streamdeck, the scripts work within applications launched by St...
- 22 Dec 2018, 17:49
- Forum: Ask for Help (v1)
- Topic: ahk_exe reference stopped working with new install of zotero
- Replies: 1
- Views: 578
Re: ahk_exe reference stopped working with new install of zotero
Problem fixed; rebooting PC was all it took.
- 22 Dec 2018, 17:04
- Forum: Ask for Help (v1)
- Topic: ahk_exe reference stopped working with new install of zotero
- Replies: 1
- Views: 578
ahk_exe reference stopped working with new install of zotero
I have a number of scripts that execute only if the open source citation manager Zotero is running. The scripts have worked on all of my computers for years. But today I did a clean install of Zotero on a new computer, and the Zotero-specific scripts don't work. All of my other application-specific ...
- 31 Oct 2018, 10:54
- Forum: Ask for Help (v1)
- Topic: AHK ignoring #IfWinActive Topic is solved
- Replies: 2
- Views: 681
Re: AHK ignoring #IfWinActive Topic is solved
Perfect, thanks! I'd copied the code but wasn't familiar with the specifics of the Hotkey command. Much appreciated!
- 31 Oct 2018, 09:05
- Forum: Ask for Help (v1)
- Topic: AHK ignoring #IfWinActive Topic is solved
- Replies: 2
- Views: 681
AHK ignoring #IfWinActive Topic is solved
The classic autocorrect.ahk file has the following code for converting two consecutive capital letters into one cap followed by a lowercase letter. It works great. However, I'd like to have it only operating in one application—Scrivener, the software I use for writing. For some reason, #IfWinActive ...
- 08 Apr 2016, 16:54
- Forum: Ask for Help (v1)
- Topic: Can you embed a call to a script in a hotstring?
- Replies: 6
- Views: 1411
Re: Can you embed a call to a script in a hotstring?
I wasn't logged in when I sent that last comment - thanks again for the help!
- 07 Apr 2016, 17:12
- Forum: Ask for Help (v1)
- Topic: Can you embed a call to a script in a hotstring?
- Replies: 6
- Views: 1411
Can you embed a call to a script in a hotstring?
I'd like to create a hotstring that formats the text. For example:
::btw::
call script to turn on italics
by the way
call script to turn off italics
Is anything like that possible?
Thanks for any help anyone can provide!
::btw::
call script to turn on italics
by the way
call script to turn off italics
Is anything like that possible?
Thanks for any help anyone can provide!