Yes, please. Remember that it's optional. letters/numbers/hyphens.
Search found 1087 matches
- 22 minutes ago
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 125
- Views: 13065
- Today, 17:50
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 125
- Views: 13065
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...
- Today, 11:31
- Forum: Ask for Help (v2)
- Topic: Odd hotstring behavior. XXwholeword triggers...
- Replies: 4
- Views: 195
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,...
- Yesterday, 19:49
- Forum: Ask for Help (v2)
- Topic: Odd hotstring behavior. XXwholeword triggers...
- Replies: 4
- Views: 195
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...
- Yesterday, 19:31
- Forum: Ask for Help (v2)
- Topic: Odd hotstring behavior. XXwholeword triggers...
- Replies: 4
- Views: 195
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...
- Yesterday, 17:15
- Forum: Ask for Help (v2)
- Topic: Odd hotstring behavior. XXwholeword triggers...
- Replies: 4
- Views: 195
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 ...
- Yesterday, 11:47
- Forum: Ask for Help (v2)
- Topic: Append to script that is also #Included? Topic is solved
- Replies: 2
- Views: 130
Re: Append to script that is also #Included? Topic is solved
Yep -- that was it. Thanks Russ!
- Yesterday, 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...
- Yesterday, 08:14
- Forum: Ask for Help (v2)
- Topic: splice two paragraphs of text into each other
- Replies: 6
- Views: 305
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.
- Yesterday, 07:54
- Forum: Wish List
- Topic: Notify if not UTF-8? -- [Update: Not possible, me thinks]
- Replies: 15
- Views: 847
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...
- 05 May 2024, 11:45
- Forum: Ask for Help (v2)
- Topic: optimize code converted from v1.1 Topic is solved
- Replies: 15
- Views: 473
- 05 May 2024, 09:29
- Forum: Ask for Help (v2)
- Topic: MsgBox - how to split a long string across lines only at '/'?
- Replies: 10
- Views: 388
Re: MsgBox - how to split a long string across lines only at '/'?
Also, depending on what you are trying to accomplish, this might be helpful.
https://www.autohotkey.com/docs/v2/lib/SplitPath.htm
https://www.autohotkey.com/docs/v2/lib/SplitPath.htm
- 04 May 2024, 15:37
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 125
- Views: 13065
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...
- 04 May 2024, 12:36
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 125
- Views: 13065
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...
- 03 May 2024, 09:49
- Forum: Wish List
- Topic: Notify if not UTF-8? -- [Update: Not possible, me thinks]
- Replies: 15
- Views: 847
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...
- 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}"
- 02 May 2024, 19:41
- Forum: Forum Issues
- Topic: Slow forum
- Replies: 111
- Views: 11235
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...
- 02 May 2024, 15:06
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 125
- Views: 13065
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...
- 02 May 2024, 10:08
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 125
- Views: 13065
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...
- 30 Apr 2024, 20:25
- Forum: Scripts and Functions (v1)
- Topic: Pretty specific text expansion tool. -- WayText
- Replies: 5
- Views: 2307
Re: Pretty specific text expansion tool. -- WayText
This project has been recreated for AHK v2. Information is here:
viewtopic.php?f=83&t=129466
The AHK v1 version here will no longer be updated.
viewtopic.php?f=83&t=129466
The AHK v1 version here will no longer be updated.