Search found 1108 matches

by kunkel321
Yesterday, 07:30
Forum: Ask for Help (v2)
Topic: Hotkeys to switch betwen labels v2 Topic is solved
Replies: 3
Views: 201

Re: Hotkeys to switch betwen labels v2 Topic is solved

Not sure if this will help, but you can have a hotkey activate a named function. With this example, myFunction runs at start up, because myFunction() calls it. Also though, you can run it by pressing Alt+Ctrl+1. #SingleInstance #Requires AutoHotkey v2+ myFunction() !^1:: myFunction(*) { soundbeep }
by kunkel321
12 May 2024, 10:30
Forum: Ask for Help (v2)
Topic: How to Send text as one string?
Replies: 6
Views: 382

Re: How to Send text as one string?

I would use ClipWait . Yeah, good call. I guess it's also worth mentioning that if you are pasting multiple paragraphs, you can have the variable assignment with a multiline continuation section . This takes more lines of code, but it is easier to understand. A_Clipboard := " ( I was playing with t...
by kunkel321
12 May 2024, 09:23
Forum: Ask for Help (v2)
Topic: How to Send text as one string?
Replies: 6
Views: 382

Re: How to Send text as one string?

#SingleInstance #Requires AutoHotkey v2+ ^+p:: ; Ctrl+Shift+P, save to clipboard, then simulate paste. { A_Clipboard := "I was playing with the Send command.`nIt seems it can only send text character by character, like typing.`nI was wondering if it is possible to send a text as a whole string?`n`n...
by kunkel321
11 May 2024, 17:00
Forum: Ask for Help (v2)
Topic: Array items not "popping" ?? Topic is solved
Replies: 3
Views: 227

Re: Array items not "popping" ?? Topic is solved

Okey dokey. Here is the proof of concept working as desired. Thanks Just me, RussF, and Teadrinker, for the help. #SingleInstance #Requires AutoHotkey v2+ ; text experiment guiTitle := 'Trimulator (trim simulator)' str := 'left and right arrows will visually simulate trims' str := ' ' str ' ' delL :...
by kunkel321
11 May 2024, 16:37
Forum: Ask for Help (v2)
Topic: Array items not "popping" ?? Topic is solved
Replies: 3
Views: 227

Re: Array items not "popping" ?? Topic is solved

What you are describing certainly matches what I'm seeing... But I'm having a hard time understanding why this happens (and therefore how to fix it). Here is a simpler version of the effect. Interestingly, with this version, at least the arr.len appears to decrement as expected, but the value of del...
by kunkel321
11 May 2024, 08:56
Forum: Ask for Help (v2)
Topic: Array items not "popping" ?? Topic is solved
Replies: 3
Views: 227

Array items not "popping" ?? Topic is solved

I'm working on this "proof of concept" code. The different conditions: left/right/undo all share the same function. I did that so that they would all have access to the same static variables (assigned at the top of the function). With the msgbox at the bottom of the function, you can see that the st...
by kunkel321
11 May 2024, 07:48
Forum: Scripts and Functions (v2)
Topic: Msgbox2 - customizable msgbox - 2021/07/25 - beta.1
Replies: 8
Views: 2753

Re: Msgbox2 - customizable msgbox - 2021/07/25 - beta.1

This is awesome -- Thanks for sharing!
by kunkel321
09 May 2024, 14:06
Forum: Ask for Help (v2)
Topic: Progressive removal of text in Text Control?
Replies: 5
Views: 345

Re: Progressive removal of text in Text Control?

Teadrinker pointed out that, for the right-to-left trimming, the spaces don't really need to be added back. Keeping that in mind, I came up with the below... It's not as elegant as the Teadrinker regex solution, and probably not as efficient/fast, but it is easier to understand -- LOL. I made the GU...
by kunkel321
09 May 2024, 12:18
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14476

Re: AutoCorrect for v2

andymbody wrote:
09 May 2024, 06:24
Very nice! Hotstrings can indeed be 'context specific' with #HotIf.
by kunkel321
09 May 2024, 12:02
Forum: Ask for Help (v2)
Topic: Progressive removal of text in Text Control?
Replies: 5
Views: 345

Re: Progressive removal of text in Text Control?

teadrinker wrote:
08 May 2024, 22:15
Thanks for this, Teadrinker! It works well. Very enigmatic though.
by kunkel321
09 May 2024, 12:00
Forum: Ask for Help (v2)
Topic: tray icons usage Topic is solved
Replies: 9
Views: 418

Re: tray icons usage Topic is solved

what do you mean? after making them in svg, i scale them to let's say 256x256 png then convert png to ico. and pretty sure then windows downscales it to 16x16 or whatever scale it needs for the taskbar. works for me Yep -- Again, same here. I think the downscaling that Windows does is probably the ...
by kunkel321
09 May 2024, 11:32
Forum: Ask for Help (v2)
Topic: tray icons usage Topic is solved
Replies: 9
Views: 418

Re: tray icons usage Topic is solved

marypoppins_1 wrote:
09 May 2024, 08:28
yeah okay thank you. i'm currently working on making my own icons too but in svg then i can make them any size without losing quality and convert to .ico
Yeah, I always make mine as SVGs too. Converting them to ICO always "rasterizes" them though.
by kunkel321
09 May 2024, 07:54
Forum: Ask for Help (v2)
Topic: tray icons usage Topic is solved
Replies: 9
Views: 418

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...
by kunkel321
08 May 2024, 19:42
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14476

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...
by kunkel321
08 May 2024, 19:35
Forum: Ask for Help (v2)
Topic: Progressive removal of text in Text Control?
Replies: 5
Views: 345

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...
by kunkel321
08 May 2024, 14:21
Forum: Ask for Help (v2)
Topic: Progressive removal of text in Text Control?
Replies: 5
Views: 345

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...
by kunkel321
08 May 2024, 14:11
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14476

Re: AutoCorrect for v2

gregster wrote:
08 May 2024, 12:36
@kunkel321, for a real mention, you need mention-tags around the user name. ..
Yeah, usually I just type the @fistletters and the popup up appears (though there is often a long delay). It didn't occur to me to just manualy add the code. :lol:
EDIT: There we go! :D
by kunkel321
08 May 2024, 12:25
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14476

Re: AutoCorrect for v2

andymbody wrote:
08 May 2024, 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
08 May 2024, 12:22
Forum: Scripts and Functions (v2)
Topic: Buffered hotstrings
Replies: 11
Views: 1505

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
08 May 2024, 07:16
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14476

Re: AutoCorrect for v2

andymbody wrote:
08 May 2024, 06:04
Awesome! It's Jim-160. Thank you Good Sir. I'll tag you when this gets posted.

Go to advanced search