Search found 1088 matches

by kunkel321
Yesterday, 20:57
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 127
Views: 13355

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: 127
Views: 13355

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: 127
Views: 13355

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: 204

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: 204

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: 204

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: 204

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: 308

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: 858

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: 481

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: 127
Views: 13355

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: 127
Views: 13355

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: 858

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: 60

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

Maybe this

Code: Select all

!a::Send "{Down}"
by kunkel321
02 May 2024, 19:41
Forum: Forum Issues
Topic: Slow forum
Replies: 111
Views: 11277

Re: Slow forum

now it is closing in on 3 million (a day) In your list of credits, you forgot to mention that @mikeyww graciously responds to about 2.5 million of those hits each day. :D No joke... I have just over 1,000 posts. I'll bet 800 of those are Mike trying to explain things to me over the last 8 years. :l...
by kunkel321
02 May 2024, 15:06
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 127
Views: 13355

Re: AutoCorrect for v2

If (RegExMatch(endchar , "[!.,;:?!-]")) SendInput("{" endChar "} ") else SendInput(endChar) Very nice. I was also thinking about doing a regex... I think mostly the problematic characters will be !#^+ as discussed here https://www.autohotkey.com/docs/v2/lib/Send.htm#Parameters Edit... Actually, I g...
by kunkel321
02 May 2024, 10:08
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 127
Views: 13355

Re: AutoCorrect for v2

Descolada Thanks for analyzing this and for posting the bug report! I think this :B0X:smith::MsgBox "Hello" and this :OB0X:smith::MsgBox "Hello" might be acting as expected for me. (Unless I'm not understanding the issue.) If I type a pipechar | then press left , so that the cursor is "pushing" the...

Go to advanced search