Search found 1136 matches
- 09 May 2024, 07:54
- Forum: Ask for Help (v2)
- Topic: tray icons usage Topic is solved
- Replies: 9
- Views: 513
Re: tray icons usage Topic is solved
Another argument for using .ICO files is that, if your script has any GUIs that appear, Windows will apply your custom icon to the GUI as well. The icon in the top corner will also be 16x16, but probably an icon will appear in the Windows Taskbar at the bottom, while the GUI window is open. The Task...
- 08 May 2024, 19:42
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 136
- Views: 15551
Re: AutoCorrect for v2
Maybe you can make a hotstring! (for mention). That's what I did for the '=' version of links on here (paste link from clipboard). You helped me learn that... thank you btw. :) You are welcome! Can you share your script for adding the links? I've been meaning to make one (since there isn't a toolba...
- 08 May 2024, 19:35
- Forum: Ask for Help (v2)
- Topic: Progressive removal of text in Text Control?
- Replies: 5
- Views: 415
Re: Progressive removal of text in Text Control?
Awesome Thanks! Really trippy how you got it to work. Sorry for "changing the question" mid thread, but I'm trying to use the parts like Lego blocks and rearrange them so that there's a second function that trims the same text control... But right-to-left. It does trim the first word (rather the LA...
- 08 May 2024, 14:21
- Forum: Ask for Help (v2)
- Topic: Progressive removal of text in Text Control?
- Replies: 5
- Views: 415
Progressive removal of text in Text Control?
The code makes a gui with some text. I'd like to (upon keypress) progressively remove the text string, character by character, left-to-right, and have them replaced with space characters. With the below code, the first character works, but then it stops. It seems like each call of the function shoul...
- 08 May 2024, 14:11
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 136
- Views: 15551
- 08 May 2024, 12:25
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 136
- Views: 15551
Re: AutoCorrect for v2
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.
- 08 May 2024, 12:22
- Forum: Scripts and Functions (v2)
- Topic: Buffered hotstrings
- Replies: 11
- Views: 1663
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...
- 08 May 2024, 07:16
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 136
- Views: 15551
- 07 May 2024, 20:57
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 136
- Views: 15551
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...
- 07 May 2024, 18:56
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 136
- Views: 15551
- 07 May 2024, 17:50
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 136
- Views: 15551
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...
- 07 May 2024, 11:31
- Forum: Ask for Help (v2)
- Topic: Odd hotstring behavior. XXwholeword triggers...
- Replies: 4
- Views: 331
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,...
- 06 May 2024, 19:49
- Forum: Ask for Help (v2)
- Topic: Odd hotstring behavior. XXwholeword triggers...
- Replies: 4
- Views: 331
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...
- 06 May 2024, 19:31
- Forum: Ask for Help (v2)
- Topic: Odd hotstring behavior. XXwholeword triggers...
- Replies: 4
- Views: 331
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...
- 06 May 2024, 17:15
- Forum: Ask for Help (v2)
- Topic: Odd hotstring behavior. XXwholeword triggers...
- Replies: 4
- Views: 331
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 ...
- 06 May 2024, 11:47
- Forum: Ask for Help (v2)
- Topic: Append to script that is also #Included? Topic is solved
- Replies: 2
- Views: 207
Re: Append to script that is also #Included? Topic is solved
Yep -- that was it. Thanks Russ!
- 06 May 2024, 11:16
- Forum: Ask for Help (v2)
- Topic: Append to script that is also #Included? Topic is solved
- Replies: 2
- Views: 207
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...
- 06 May 2024, 08:14
- Forum: Ask for Help (v2)
- Topic: splice two paragraphs of text into each other
- Replies: 6
- Views: 480
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.
- 06 May 2024, 07:54
- Forum: Wish List
- Topic: Notify if not UTF-8? -- [Update: Not possible, me thinks]
- Replies: 15
- Views: 1183
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: 719