Search found 1144 matches
- 29 minutes ago
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 145
- Views: 16058
Re: AutoCorrect for v2
No, of course not... lol... just being a wise-a**. Hey, I've probably used half of those words! (only as spoken text though, not written text) There are several of the added ones (such as "daren't") that I've never used either... I just googled what all the English words ending in "n't" are, and ad...
- Today, 07:42
- Forum: Ask for Help (v2)
- Topic: Sending output of date selector
- Replies: 2
- Views: 129
Re: Sending output of date selector
Added to Boilers, to make Enter key also enter the date. #SingleInstance #Requires AutoHotkey v2.0 MyGui := Gui(, "Date") MyGui.AddMonthCal("vMonthCalendar") MyGui.Add("Button", "default", "OK").OnEvent("Click", ProcessUserInput) MyGui.OnEvent("Close", ProcessUserInput) !d::MyGui.Show() #HotIf WinAc...
- Today, 07:26
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 145
- Views: 16058
- Yesterday, 15:50
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 145
- Views: 16058
Re: AutoCorrect for v2
FYI I've added these to the dictionary list of comparison words that HH2 compares against.
ain't
aren't
weren't
isn't
wasn't
don't
doesn't
didn't
haven't
hasn't
hadn't
won't
wouldn't
can't
couldn't
shan't
shouldn't
mightn't
oughtn't
mustn't
needn't
daren't
- Yesterday, 14:04
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 145
- Views: 16058
Re: AutoCorrect for v2
Yep... I also found it at the same time you were posting. It looks like you can make it into a "word-ending" item :B0X?:esnt::f("esent") ; Fixes 8 words Then put this in the "Do not sort" section at the beginning of the library :B0X:doesnt::f("doesn't") Then they can coexist. I have seen the issue ...
- Yesterday, 13:57
- Forum: Gaming Help (v1)
- Topic: help me to fix this script please
- Replies: 8
- Views: 298
Re: help me to fix this script please
Sorry, I'm not sure how to make it work....
- Yesterday, 13:43
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 145
- Views: 16058
Re: AutoCorrect for v2
When I get extra (duplicate) characters, I find that it is often because there are two instances of AutoCorrect2.exe running. Check the WinSysTray and see if there are two icons. In theory, this should never happen because the #SingleInstance directive should prevent it. It happens especially often...
- Yesterday, 09:34
- Forum: Gaming Help (v1)
- Topic: help me to fix this script please
- Replies: 8
- Views: 298
Re: help me to fix this script please
Be advised that this
Looks like it might be formatted as v1 code. v2 usually doesn't have a comma right after the name of the function.
Code: Select all
SetBatchLines, -1
SendMode Input
SetKeyDelay, -1, -1
SetMouseDelay, 1
SetDefaultMouseSpeed, 1
SetWinDelay, -1
SetControlDelay, -1
CoordMode, Pixel, Screen
- 22 May 2024, 14:09
- Forum: Other Utilities & Resources
- Topic: Main v2 errors that ChatGPT makes?
- Replies: 7
- Views: 515
Re: Main v2 errors that ChatGPT makes?
I was able to access it by opening Edge, then using the search function from there. With a simple search, it seems to have the same problems... Certainly! Here’s the equivalent AutoHotkey v2 script that displays “Hello, World!” when you press Ctrl + J: ^j:: ; Ctrl + J hotkey SendInput, My First Scri...
- 22 May 2024, 13:48
- Forum: Other Utilities & Resources
- Topic: Main v2 errors that ChatGPT makes?
- Replies: 7
- Views: 515
Re: Main v2 errors that ChatGPT makes?
Have you used Microsoft's CoPilot (https://copilot.microsoft.com) for ahk v1 or v2? I use it for v1 code and am generally pleased. I don't think it's as good at v2 code since there is less training data for v2. How would you compare your utility to CoPilot? CoPilot uses ChatGpt4 and is trained for ...
- 22 May 2024, 13:28
- Forum: Ask for Help (v2)
- Topic: complete beginner needing help
- Replies: 1
- Views: 114
Re: complete beginner needing help
Welcome to the forums! It looks like you are using AHK v1 syntax... Check out the example here.
- 21 May 2024, 14:34
- Forum: Wish List
- Topic: A_Downloads might be a nice thing to have at some point.
- Replies: 15
- Views: 1300
- 21 May 2024, 12:19
- Forum: Ask for Help (v2)
- Topic: Troubleshooting location of ToolTip...
- Replies: 4
- Views: 364
Re: Troubleshooting location of ToolTip...
I haven't tested, but coordMode issue maybe? After a brief glance, I see no reference to coordMode in your code, and this usually messes mine up too. Update: After browsing the rest of the topics, I see you may have been testing this theory already... did it resolve this issue? I think this may hav...
- 20 May 2024, 20:12
- Forum: Other Utilities & Resources
- Topic: Main v2 errors that ChatGPT makes?
- Replies: 7
- Views: 515
Re: Main v2 errors that ChatGPT makes?
Well.... I repurposed the first menu item in the menu... The updated parts of the code are below. First I had only the prompt text from my above post, then I gave the ai some instructions for a simple ahk v2 gui. And (of course) there were have a dozen errors. Everytime I fixed an error, I added it ...
- 20 May 2024, 15:24
- Forum: Other Utilities & Resources
- Topic: Main v2 errors that ChatGPT makes?
- Replies: 7
- Views: 515
Main v2 errors that ChatGPT makes?
I've started using the awesome ChatGPT AutoHotkey Utility script. Since there are several common errors that GPT makes with AHK v2 code, I thought I'd preemptively correct some of them by embedding the corrections in the prompt. Almost always, the problems are because GPT inserts AHK v1 code and syn...
- 20 May 2024, 15:16
- Forum: Ask for Help (v2)
- Topic: CoordMode confusion... Topic is solved
- Replies: 2
- Views: 216
Re: CoordMode confusion... Topic is solved
Yes, of course. It's Caret not CaretGetPos.
- 20 May 2024, 14:43
- Forum: Ask for Help (v2)
- Topic: CoordMode confusion... Topic is solved
- Replies: 2
- Views: 216
CoordMode confusion... Topic is solved
This code #SingleInstance #Requires AutoHotkey v2+ CoordMode 'CaretGetPos', 'Screen' !^q:: { If CaretGetPos(&mbx, &mby) msgbox 'caret Pos ' mbx 'x, ' mby 'y' else MsgBox 'no caret 4 U' } Yields this error: Error: Parameter #1 of CoordMode is invalid. Specifically: CaretGetPos 004: CoordMode('ToolTip...
- 20 May 2024, 07:50
- Forum: Ask for Help (v2)
- Topic: Troubleshooting location of ToolTip...
- Replies: 4
- Views: 364
Re: Troubleshooting location of ToolTip...
Just wondering, could it be that the tool tip is hitting the edges of the screen or taskbar, causing the position to shift? It's a good thought, but no, I'm typically working in about the middle of my screen when it happens. I typically use my secondary monitor for typing, because the lower DPI mak...
- 19 May 2024, 11:52
- Forum: Ask for Help (v2)
- Topic: Troubleshooting location of ToolTip...
- Replies: 4
- Views: 364
Troubleshooting location of ToolTip...
I have this bit of code: If CaretGetPos(&mcx, &mcy) ToolTip "::" newTrig "::" newRepl, mcx-15, mcy+140, 6 ; <--- LOCATION of tooltip is set here. Else ToolTip "::" newTrig "::" newRepl,,, 6 It's about line 207 of the code here . The tooltip is designed to occasionally appear as I'm typing, so I don'...
- 18 May 2024, 11:39
- Forum: Scripts and Functions (v2)
- Topic: Simple tool for putting [URL] tags in AHK Forum posts..
- Replies: 7
- Views: 558
Re: Simple tool for putting [URL] tags in AHK Forum posts..
Interesting side note: At first, I had the code "typing out" the result, but it would occasionally trigger the Windows Notification Pane on the right of the screen. That's why I changed it to save to the clipboard, then type/send ^v. Seems to have fixed the glitch.