Search found 975 matches

by kunkel321
34 minutes ago
Forum: Scripts and Functions (v2)
Topic: Buffered hotstrings
Replies: 8
Views: 960

Re: Buffered hotstrings

Descolada (or somebody) I discovered an interesting quirk... Not sure if it's a problem with the IB class, with AHK, with Win 10, or just something I'm doing wrong... Please try the below code, (types into a text field like Notepad) and see if you get the same. When I run it, after it runs, the key...
by kunkel321
Today, 14:14
Forum: Scripts and Functions (v2)
Topic: Buffered hotstrings
Replies: 8
Views: 960

Re: Buffered hotstrings

@kunkel321, if your code uses the static keyword then the variable gets initialized just once (on the first call), so it shouldn't be an issue. And even if you created it multiple times then it shouldn't cause issues, just be a bit less efficient as all the internal mechanisms get created and destr...
by kunkel321
Today, 14:09
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 51
Views: 7786

Re: AutoCorrect for v2

... i like to use AHK to effectively capitalize words, ... Thanks for the kind words. Your situation does pose an interesting conundrum... The reason they aren't getting replaced, is because of the so called "rarification" process, as discuss above (here) https://www.autohotkey.com/boards/viewtopic...
by kunkel321
Today, 12:12
Forum: Scripts and Functions (v2)
Topic: Buffered hotstrings
Replies: 8
Views: 960

Re: Buffered hotstrings

Hi Descolada (or other knowledgeable person), Can you comment on this... I have a tool that reads boilerplate text entries from the keys of an ini [section] then types and/or pastes the text. The setup includes what I've summarized in the below pseudo code... ;PSEUDO CODE. Array := [{key:"paste me",...
by kunkel321
Today, 10:46
Forum: Ask for Help (v2)
Topic: Any Breaks scheduler in AHK?
Replies: 3
Views: 60

Re: Any Breaks scheduler in AHK?

Here's a fun clicker that Hellbent made a long time ago. https://pastebin.com/yCTyiXYx It's AHK v1 code though. Skrommel on the DC site makes some fun things with AHK. I think I recall him making a break timer(?) Again, it will be v1. Also, the page is not loading right now... Not sure why. Link to ...
by kunkel321
Today, 10:10
Forum: Ask for Help (v2)
Topic: Any AI tool to write AHK code?
Replies: 3
Views: 71

Re: Any AI tool to write AHK code?

My experience is the same as Mike has described. I use ChatGPT. I've only used it to generate v2 code. I've been impressed by its ability to interpret my narrative descriptions of complex needs, and build the logic components needed. It seems to always interject v1 code elements though. If I try to ...
by kunkel321
26 Mar 2024, 11:44
Forum: Visual Studio Code
Topic: VSCode doesn't like particular ahk file(?) Topic is solved
Replies: 2
Views: 65

Re: VSCode doesn't like particular ahk file(?) Topic is solved

Thanks RaptorX, Actually, it occurred to me that it was an admin/non-admin problem--which should have been the first thing I checked. LOL. My AHK setup is such that double-clicking an ahk file opens it for editing. Using a normal Run command does the same. To 'launch' the script, I run the same-name...
by kunkel321
25 Mar 2024, 15:22
Forum: Visual Studio Code
Topic: VSCode doesn't like particular ahk file(?) Topic is solved
Replies: 2
Views: 65

VSCode doesn't like particular ahk file(?) Topic is solved

Has anyone else run into this? It's noteworthy that my ahk scripts are all set up as "portable" apps, with the ahk and the exe having the same name, in the same parent folder. I use essentially this same setup for a different script in the same folder and it works fine. One particular ahk file won't...
by kunkel321
23 Mar 2024, 15:38
Forum: Ask for Help (v2)
Topic: Embed comment in menu? Topic is solved
Replies: 1
Views: 61

Embed comment in menu? Topic is solved

I tried embedding a comment in a menu by pointing a fat arrow function to 'nothing.' It seems to work, but is this okay to do?? I don't want to cause a memory leak or some kind of other issue. #SingleInstance #Requires AutoHotkey v2+ Persistent acMenu := A_TrayMenu acMenu.Add('Comment', (*) => ) acM...
by kunkel321
23 Mar 2024, 11:07
Forum: Scripts and Functions (v2)
Topic: Pixel Color
Replies: 3
Views: 154

Re: Pixel Color

Very cool! Thanks for sharing!
by kunkel321
23 Mar 2024, 09:26
Forum: Ask for Help (v2)
Topic: i need a script for only the alphabet
Replies: 13
Views: 301

Strange behavior of "Enter" with inputHooks.

ok i understand, but the enter? Very strange... I tried the code and Enter doesn't work for me either. On a related note: Check out the code here: https://www.autohotkey.com/boards/viewtopic.php?p=564175#p564135 Enter also doesn't work as expected with that inputHook code. It makes me think I'm doi...
by kunkel321
22 Mar 2024, 07:25
Forum: Ask for Help (v2)
Topic: i need a script for only the alphabet
Replies: 13
Views: 301

Re: i need a script for only the alphabet

vanove wrote:
21 Mar 2024, 19:37
the other caracters are working, the enter and the "í" doesnt
Sorry, I don't know why it's not working... I can't test it, because I only have an English setup.
by kunkel321
21 Mar 2024, 16:28
Forum: Ask for Help (v2)
Topic: Dynamic Hotstrings
Replies: 7
Views: 128

Re: Dynamic Hotstrings

Yes -- Good info. Thanks.
by kunkel321
21 Mar 2024, 13:38
Forum: Ask for Help (v2)
Topic: Dynamic Hotstrings
Replies: 7
Views: 128

Re: Dynamic Hotstrings

Okay, a more fun version... Type " dash ," then one of the characters -+#*~+ or x , then a digit, then Space . Another interesting thing... AHK gurus, please note the IF Else statement near the bottom. It seems like the code should work the same with or without the {braces}, yes?? But try this: If y...
by kunkel321
21 Mar 2024, 11:50
Forum: Ask for Help (v2)
Topic: How to make a symbol selector Topic is solved
Replies: 12
Views: 218

Re: How to make a symbol selector Topic is solved

Save with UTF-8 with BOM #Requires AutoHotkey v2.0 SetKeyDelay 0 OnMessage(0x200, WM_MOUSEMOVE) h:= 24, w := 26.5, v := 12 ; height & width for each symbol; v is number of symbols per row. MyArr := ["ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÑÒÓÔŒÕÖØÙÚÛÜßàáâãäåæçèéêëìíîïñòóôœõöøùúûüÿ" ,"≈∝≡≠≤≥×·÷∂′″∇‰°∴ø∈∩∪⊂⊃⊆⊇¬∧∨∃∀⇒⇔→↔↑ℵ∉°...
by kunkel321
21 Mar 2024, 10:16
Forum: Ask for Help (v2)
Topic: Dynamic Hotstrings
Replies: 7
Views: 128

Re: Dynamic Hotstrings

I'm new to inputHook() , so consider this experimental!!! There are probably other ways to set up the inputhook... I just modeled this one after a script created by mikeyww :D I recommend having a hyphen after the word "dash." But if you want you can remove it (from lines 7 and 32). Note that you wo...
by kunkel321
21 Mar 2024, 07:24
Forum: Ask for Help (v2)
Topic: i need a script for only the alphabet
Replies: 13
Views: 301

Re: i need a script for only the alphabet

vanove wrote:
20 Mar 2024, 21:33
and i noticed that the "í" doesnt work, despite the fact that, that is in a script ...
This is odd... Do the other accented characters öüóéáűú work?
by kunkel321
19 Mar 2024, 14:53
Forum: Scripts and Functions (v2)
Topic: Mouse Click Through the Window Pinned On Top / On-screen Display (OSD)
Replies: 3
Views: 836

Re: Mouse Click Through the Window Pinned On Top / On-screen Display (OSD)

Very cool script! I'm definitely going to hold on to this one. Thanks for making and sharing it!!! :D
by kunkel321
17 Mar 2024, 12:35
Forum: Ask for Help (v2)
Topic: How to provide a scroll bar to a CheckBox Group
Replies: 4
Views: 82

Re: How to provide a scroll bar to a CheckBox Group

I don't think AHK can do this "out of the box." I vaguely recall Lexikos posting a "proof of concept" for a scrolling GUI window... Can't find it now though. Anyway, I think it was with AHK v1. If this were for your own use, I'd recommend using a ListBox gui control, which natively scrolls, and can ...
by kunkel321
17 Mar 2024, 12:02
Forum: Ask for Help (v2)
Topic: Show script A gui via script B?
Replies: 3
Views: 96

Re: Show script A gui via script B?

Thanks for the reply, Seven. I'm trying to work out the "onMessage/SendMessage" option. I've never actually used it... (Rather never created anything with it.) I prompted ChatGPT, then went from there... Should this set up work? I keep getting Error: Target window not found. But maybe that is the "p...

Go to advanced search