Search found 1091 matches

by kunkel321
Today, 12:25
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 131
Views: 13566

Re: AutoCorrect for v2

andymbody wrote:
Today, 12:11
It's crazy long and very specific, but if it works... :lol:
It works well! FYI, I tried to tag you here:
viewtopic.php?f=83&t=122865&p=571026#p571026
but the tag didn't seem to work.
by kunkel321
Today, 12:22
Forum: Scripts and Functions (v2)
Topic: Buffered hotstrings
Replies: 11
Views: 1372

Re: Buffered hotstrings

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...
by kunkel321
Today, 07:16
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 131
Views: 13566

Re: AutoCorrect for v2

andymbody wrote:
Today, 06:04
Awesome! It's Jim-160. Thank you Good Sir. I'll tag you when this gets posted.
by kunkel321
Yesterday, 20:57
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 131
Views: 13566

Re: AutoCorrect for v2

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...
by kunkel321
Yesterday, 18:56
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 131
Views: 13566

Re: AutoCorrect for v2

andymbody wrote:
Yesterday, 18:21
kunkel321 wrote:
Yesterday, 17:50
if you are up for it/have time....
I assume Par2 is supposed to capture the second parameter ?
Yes, please. Remember that it's optional. letters/numbers/hyphens.
by kunkel321
Yesterday, 17:50
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 131
Views: 13566

Re: AutoCorrect for v2

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...
by kunkel321
Yesterday, 11:31
Forum: Ask for Help (v2)
Topic: Odd hotstring behavior. XXwholeword triggers...
Replies: 4
Views: 215

Re: Odd hotstring behavior. XXwholeword triggers...

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,...
by kunkel321
06 May 2024, 19:49
Forum: Ask for Help (v2)
Topic: Odd hotstring behavior. XXwholeword triggers...
Replies: 4
Views: 215

Re: Odd hotstring behavior. XXwholeword triggers...

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...
by kunkel321
06 May 2024, 19:31
Forum: Ask for Help (v2)
Topic: Odd hotstring behavior. XXwholeword triggers...
Replies: 4
Views: 215

Re: Odd hotstring behavior. XXwholeword triggers...

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...
by kunkel321
06 May 2024, 17:15
Forum: Ask for Help (v2)
Topic: Odd hotstring behavior. XXwholeword triggers...
Replies: 4
Views: 215

Odd hotstring behavior. XXwholeword triggers...

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 ...
by kunkel321
06 May 2024, 11:16
Forum: Ask for Help (v2)
Topic: Append to script that is also #Included? Topic is solved
Replies: 2
Views: 130

Append to script that is also #Included? Topic is solved

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...
by kunkel321
06 May 2024, 08:14
Forum: Ask for Help (v2)
Topic: splice two paragraphs of text into each other
Replies: 6
Views: 321

Re: splice two paragraphs of text into each other

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.
by kunkel321
06 May 2024, 07:54
Forum: Wish List
Topic: Notify if not UTF-8? -- [Update: Not possible, me thinks]
Replies: 15
Views: 894

Re: Notify if not UTF-8? -- [Update: Not possible, me thinks]

....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...
by kunkel321
05 May 2024, 11:45
Forum: Ask for Help (v2)
Topic: optimize code converted from v1.1 Topic is solved
Replies: 15
Views: 519

Re: optimize code converted from v1.1 Topic is solved

Seven0528 wrote:
05 May 2024, 11:24
...When multiple expressions are enclosed in parentheses with commas, they are executed sequentially, ...
Thank you for the explanation. It's too bad we can't "upvote" or "like" individual replies...
by kunkel321
04 May 2024, 15:37
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 131
Views: 13566

Re: AutoCorrect for v2

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...
by kunkel321
04 May 2024, 12:36
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 131
Views: 13566

Re: AutoCorrect for v2

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...
by kunkel321
03 May 2024, 09:49
Forum: Wish List
Topic: Notify if not UTF-8? -- [Update: Not possible, me thinks]
Replies: 15
Views: 894

Re: Notify if not UTF-8?

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...
by kunkel321
03 May 2024, 09:24
Forum: Ask for Help (v2)
Topic: "Up" and "Down" problem with OneNote
Replies: 1
Views: 72

Re: "Up" and "Down" problem with OneNote

Maybe this

Code: Select all

!a::Send "{Down}"

Go to advanced search