Search found 1059 matches

by kunkel321
Today, 07:32
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 20
Views: 3360

Re: Class ToolTipOptions - 2024-03-27

If I change the color and title it is not consistent. I use the same text, namely the col[ix] in both the title and in the Tooltip, but if I press NumLock several times the title is not the same as the text every time. Adding static here static ix := random(1, col.Length) seems to lock the text in ...
by kunkel321
Yesterday, 14:34
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 106
Views: 9515

Re: AutoCorrect for v2

Thank you for reporting this, and for the extra information. I'm not sure how I never noticed this! LOL. I did not see the webform effect that you described in #1. Can you post the hotstring you are using? How long is the replacement text? I did see the effect you describe in #2 though. I made these...
by kunkel321
Yesterday, 08:09
Forum: Ask for Help (v2)
Topic: Is it possible to create an on screen fireworks visual effect
Replies: 4
Views: 102

Re: Is it possible to create an on screen fireworks visual effect

Here's a fun thing I found a long time ago... It's all v1 code though. Info in the readme points to this: https://github.com/acorns/Particle-System/tree/master Eh... Sorry, it's too big to zip and attach. Here is the readme though # Particle-System It makes pretties ##Tested with: * AHK 1.1.24.02 32...
by kunkel321
22 Apr 2024, 20:34
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 106
Views: 9515

Re: AutoCorrect for v2

1) when I type something into a box and then tab to the next box, if the thing that I put into the first box is a hotkey then the translation mostly gets put into the second box. I'm not sure I understand what you mean... First I want to make sure you mean "hotkey" such as #h::, rather than "hotstr...
by kunkel321
22 Apr 2024, 20:13
Forum: Scripts and Functions (v2)
Topic: Sequence generator
Replies: 8
Views: 1293

Re: Sequence generator

william_ahk wrote:
22 Apr 2024, 19:21
@kunkel321 I have mentioned this in the post :D
Ah yes, I see that now -- LOL!
And thanks for the extended explanation!
by kunkel321
22 Apr 2024, 16:46
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 106
Views: 9515

Re: AutoCorrect for v2

I think Jasonosaj is the one who suggested scanning the entire code when doing validity checks (rather that just stopping after the first identified duplicate/conflict.) That has been added in the GitHub repo. Interestingly, this created a dilemma... If a user puts a really short 'word-middle' multi...
by kunkel321
22 Apr 2024, 15:04
Forum: Scripts and Functions (v2)
Topic: Sequence generator
Replies: 8
Views: 1293

Re: Sequence generator

Pretty cool thing! I'm playing around with the Template: value... I don't really understand what is happening. I looked in the code, then found my way to this https://www.autohotkey.com/docs/v2/lib/Format.htm I'm just experimenting with some of the values in that ahk docs page... If I set the Stop t...
by kunkel321
21 Apr 2024, 13:30
Forum: Ask for Help (v2)
Topic: How to use Window Spy with multiple monitors
Replies: 21
Views: 225

Re: How to use Window Spy with multiple monitors

How do I use that in the ControlClick syntax? The ControlClick syntax is here: https://www.autohotkey.com/docs/v2/lib/ControlClick.htm Unfortunately, it probably won't matter. If you were able to isolate the control, you'd know, because WinSpy would put a little highlighted rectangle around it and ...
by kunkel321
21 Apr 2024, 10:43
Forum: Ask for Help (v2)
Topic: Split a text file based on a delimiter
Replies: 3
Views: 86

Re: Split a text file based on a delimiter

Try this, makes the SplitArray Building on Banaanae's... #SingleInstance #Requires AutoHotkey v2+ Text := " ( SPLIT LINE HERE text line #1a text line #2a text line #3a text line #4a SPLIT LINE HERE text line #1b text line #2b text line #3b text line #4b SPLIT LINE HERE text line #1c text line #2c t...
by kunkel321
21 Apr 2024, 10:33
Forum: Ask for Help (v2)
Topic: How to use Window Spy with multiple monitors
Replies: 21
Views: 225

Re: How to use Window Spy with multiple monitors

What app has the 'save' buttons? Is it Chrome Browser, or a Windows App? AHK Has "ControlGet" which can sometimes isolate a button for pressing (no coordinates needed). It won't work in Chrome Browser web apps though. Try dragging the WinSpy crosshairs over the button to see if you can capture its i...
by kunkel321
19 Apr 2024, 08:06
Forum: Ask for Help (v2)
Topic: Focus after exiting Program
Replies: 3
Views: 77

Re: Focus after exiting Program

Hi there, I was having trouble understanding your question, so I pasted it into ChatGPT. The response is below. Has ChatGPT correctly understood your question? Bassman has an AutoHotkey script that uses various shortcuts, which is set to run automatically when the computer starts (likely placed in t...
by kunkel321
19 Apr 2024, 07:20
Forum: Scripts and Functions (v2)
Topic: [Function] MsgBoxTBI - Display a MsgBox window with an icon in the title bar
Replies: 14
Views: 553

Re: [Function] MsgBoxTBI - Display a MsgBox window with an icon in the title bar

Yes, thank you! No error messages for me this time. No icon on the first msgbox, but the next three does have them. Final box has: --------------------------- TBI text box icons.ahk --------------------------- 77346937 77348000 SetTitleBarIcon 77348015 HSHELL_WINDOWCREATED 77349000 HSHELL_WINDOWDEST...
by kunkel321
18 Apr 2024, 20:12
Forum: Scripts and Functions (v2)
Topic: [Function] MsgBoxTBI - Display a MsgBox window with an icon in the title bar
Replies: 14
Views: 553

Re: [Function] MsgBoxTBI - Display a MsgBox window with an icon in the title bar

Getting a different error message with AHK v1.0.12 Maybe it's a "run as admin" problem? Error: (5) Access is denied. 054: DetectHiddenWindows(true) 055: WinExist('ahk_class #32770') ▶ 056: SendMessage(WM_SETICON, ICON_SMALL, hIconSmall) 057: SendMessage(WM_SETICON, ICON_BIG, hIconBig) 058: OnMessage...
by kunkel321
18 Apr 2024, 20:06
Forum: Ask for Help (v2)
Topic: How to start a program and hide it immediately?
Replies: 5
Views: 104

Re: How to start a program and hide it immediately?

....To see the differences/lack of differences: #Requires AutoHotkey v2.0 target1 := "C:\Program Files\Google\Chrome\Application\chrome.exe" " https://www.autohotkey.com/docs/v2/lib/Run.htm" target2 := "C:\Program Files\Google\Chrome\Application\chrome.exe https://www.autohotkey.com/docs/v2/lib/Run...
by kunkel321
18 Apr 2024, 16:33
Forum: Ask for Help (v2)
Topic: How to start a program and hide it immediately?
Replies: 5
Views: 104

Re: How to start a program and hide it immediately?

If I'm reading the help docs correctly, this should work:

Code: Select all

#Requires AutoHotkey v2+
;Note space before webpage.
target := "C:\Program Files\Google\Chrome\Application\chrome.exe" " https://www.autohotkey.com/docs/v2/lib/Run.htm"
Run target,, "Min"
It doesn't seem to be starting minimized though....
by kunkel321
18 Apr 2024, 07:58
Forum: Scripts and Functions (v2)
Topic: ApplicationSwitcher for v2
Replies: 5
Views: 367

Re: ApplicationSwitcher for v2

This is really cool -- Thanks for sharing it!
by kunkel321
18 Apr 2024, 07:35
Forum: Scripts and Functions (v2)
Topic: [Function] MsgBoxTBI - Display a MsgBox window with an icon in the title bar
Replies: 14
Views: 553

Re: [Function] MsgBoxTBI - Display a MsgBox window with an icon in the title bar

Cool idea. I'm getting errors though... I'm on Win 10 with RaptorX's AHKToolBox, to test your self contained example. It has AHK v2.0.2. First two message boxes work, but there is no icon... Third msgbox causes error: Error: Expected a Number but got an empty string. 069: If wParam = HSHELL_WINDOWDE...
by kunkel321
17 Apr 2024, 13:31
Forum: Wish List
Topic: Notify if not UTF-8?
Replies: 3
Views: 100

Notify if not UTF-8?

It seems like lots of folks have run into the problem of not having their ahk files encoded as UTF-8. Should AutoHotKey (during validation) detect if there are Unicode characters, then return a warning, if the ahk file is not UTF-8 (??)
by kunkel321
17 Apr 2024, 13:27
Forum: Ask for Help (v2)
Topic: InStr(...) gives error?
Replies: 24
Views: 305

Re: InStr(...) gives error?

Can anyone tell me how I can automatically substitute all "xE9" special character ( and other similar ) with another character I want? I use the SciTE4AutoHotkey editor. Thank you very much. Did these "xE9" characters appear when you changed the file to UTF encoding? If so, see my previous recommen...
by kunkel321
17 Apr 2024, 12:12
Forum: Ask for Help (v2)
Topic: InStr(...) gives error?
Replies: 24
Views: 305

Re: InStr(...) gives error?

Editing it with the UTF-8 encode, shows all characters "è" like "xE9": how I can automatically substitute all chars? My autocorrect tool has a bunch of accented-words. Something I remember running in to, is that, if your characters are already messed up, then changing the formatting to UTF won't fi...

Go to advanced search