Here is a version of Hotstring Helper for use with the _HS() function. https://i.imgur.com/j9vvy1t.png AutoCorrect_HS.zip The zip contains this script: #requires AutoHotkey v2 ; #MaxThreadsPerHotkey needs to be higher than 1, otherwise some hotstrings might get lost ; if their activation strings wer...
Awesome! I'm trying the second one. I think the quote symbols are messing it up though.. I'm getting this error Error: Unexpected "]" Text: hsRegex := "(?Jim)^:(?<Opts>[^:]+)*:(?<Trig>[^:]+)::(?:(?<hs>_HS\((?<Repl>[\w'"-… Line: 253 File: D:\AutoHotkey\MasterScript\AutoCorrect_HS.ahk The program will...
My hotstrings are all in ::trigger::_HS("replacement",% backspaceCount) format. Do you have any recommendations for how to reconcile with the new format? If we want an _HS() version of hh2, we'll need to see if andymbody will make a related version of the big regex for us... Correct me if I am wron...
Okey dokey. Near the top of the HotstringsLib.ahk is this line of code: #Hotstring Z ; The Z causes the end char to be reset after each activation Because of that, and because the CAse FIxer script works via hotstrings, any two capital letters will cause the hotkey recognizer to be reset. In theory,...
Alright... Sorry for the false alarm. It is specific to my AutoCorrect2.ahk script. I changed the accompanying (portable) AutoCorrect.exe to the latest: v2.0.14. If I add the hotstring to my ac2 file, it happens every time. I made a test script though, with nothing but #SingleInstance #Requires Auto...
Strange... I'm getting inconsistent results with v2.0.2. With v2.0.1.0 it happens consistently. That's my main master script with all my stuff in it though... At first I assumed it was the below code, but I totally commented it out, and still saw the error. I'll get the latest AutoHotkey.exe, and tr...
An interesting thing with hotstrings... With an example like this ::biz::wap If you type "xxbiz" then an end char, it doesn't replace. This is because there is no ? in the options :?:biz::wap , thus allowing it to be a word-ending match. However, it appears that if you start with two capitals, like ...
Hi All, Given this 'main' script #SingleInstance #Requires AutoHotkey v2+ #Include "included script.ahk" ; my main file ::;append:: { Funct() FileAppend("new text`n", A_ScriptDir "included script.ahk") SoundBeep } And this included script #SingleInstance #Requires AutoHotkey v2+ ; this file is "incl...
Are you saying that you have a script already that (erroneously) combines the lines of text like that, and you want to fix it? Or do you mean that you have an existing text file formatted like that, and you want to fix that existing file? If you already have code, you should post what you have so far.
....Recently? In this forum or elsewhere? Asking since I haven't noticed such folks here recently... Here's a v1 help thread where I was stumped for a while.. https://www.autohotkey.com/boards/viewtopic.php?f=76&t=119308&p=529417&hilit#p529417 I spent a fair bit of time thinking it was caused by us...
Interesting glitch.... There is a word beginning item for rre --> re it's a pretty high-utility item... Potentially fixes 8199 words (according to a word list of 249k words). See screenshot. https://i.imgur.com/d96HpdW.png Unfortunately, it occasionally changes AutoCorrect --> AutoCorect . I figured...
Big Upgrade to Manual Correction Logger tool. https://github.com/kunkel321/AutoCorrect2 It has been renamed "MCLogger.ahk" and the actual log is now a separate text file called MCLog.txt. After running an analysis of the logged hotstrings, the top most-frequently-occurring items are presented in a r...
A warning in the case of UTF-8 decoding errors might be possible, but in some cases a byte sequence is valid in both UTF-8 and the system ANSI code page. I think the result of the user using the wrong encoding is often a valid sequence of characters which doesn't match what they intend. In such cas...