We need a "like" or "upvote" button for these kinds of things.
Search found 1133 matches
- Yesterday, 14:34
- Forum: Wish List
- Topic: A_Downloads might be a nice thing to have at some point.
- Replies: 15
- Views: 1194
- Yesterday, 12:19
- Forum: Ask for Help (v2)
- Topic: Troubleshooting location of ToolTip...
- Replies: 4
- Views: 329
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: 3
- Views: 253
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: 3
- Views: 253
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: 191
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: 191
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: 329
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: 329
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: 499
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.
- 18 May 2024, 11:34
- Forum: Scripts and Functions (v2)
- Topic: Simple tool for putting [URL] tags in AHK Forum posts..
- Replies: 7
- Views: 499
Re: Simple tool for putting [URL] tags in AHK Forum posts..
Cool tip with embedding the chr(93) !! I've updated the top post. Thanks for the tip! I added a couple more image hosting sites too. I guess those could be made into a single RegExMatch . Also the big regex for matching urls might be overkill... We don't really need to ensure that the url is valid,...
- 18 May 2024, 08:20
- Forum: Scripts and Functions (v2)
- Topic: Simple tool for putting [URL] tags in AHK Forum posts..
- Replies: 7
- Views: 499
Simple tool for putting [URL] tags in AHK Forum posts..
Super simple, but I thought I'd share. This was inspired by the discussion with Andymbody , in the post here . EDIT: Might as well add support for ahk code blocks too... EDIT 3: The chr(93) allows us to share the below code block, but also will paste the tag appropriately. Cool tip Andy! ;==========...
- 17 May 2024, 12:29
- Forum: Ask for Help (v2)
- Topic: Making Gui Pic not visible leaves white rectange... Topic is solved
- Replies: 2
- Views: 177
Re: Making Gui Pic not visible leaves white rectange... Topic is solved
Yep, that was it. Thanks.
- 17 May 2024, 11:05
- Forum: Ask for Help (v2)
- Topic: Making Gui Pic not visible leaves white rectange... Topic is solved
- Replies: 2
- Views: 177
Making Gui Pic not visible leaves white rectange... Topic is solved
The finger image follows the cursor. Pressing Shift toggles between the left/right images. As seen in the screencast at the bottom, the code works well, except that when Visible := False , there is a white rectangle... Any ideas how to fix? #SingleInstance force #Requires Autohotkey v2.0-beta.1+ ; S...
- 17 May 2024, 07:37
- Forum: Ask for Help (v2)
- Topic: Read, write and alert script
- Replies: 5
- Views: 295
Re: Read, write and alert script
Removed by author due to concerns indicated in next reply.
- 16 May 2024, 07:24
- Forum: Ask for Help (v2)
- Topic: Read, write and alert script
- Replies: 5
- Views: 295
Re: Read, write and alert script
Welcome to the forums!
When you say, "2 parts of the screen" what do you mean? Is it like 2 parts of the same webpage? If the text that is being read can be copied to variables, it will probably be easier.
When you say, "2 parts of the screen" what do you mean? Is it like 2 parts of the same webpage? If the text that is being read can be copied to variables, it will probably be easier.
- 15 May 2024, 13:36
- Forum: Ask for Help (v2)
- Topic: Assign a function to a double middle click press? Topic is solved
- Replies: 19
- Views: 783
Re: Assign a function to a double middle click press? Topic is solved
Argh... but using this script disables my StrokeIt mouse gestures software, which uses the middle mouse button for drawing (dragging) the gestures... 😔🤦🏻 That was the problem that I found as well. I think that putting a dollar sign before the hotkey $MButton:: is "supposed" to prevent the script fr...
- 15 May 2024, 10:12
- Forum: Ask for Help (v2)
- Topic: Assign a function to a double middle click press? Topic is solved
- Replies: 19
- Views: 783
Re: Assign a function to a double middle click press? Topic is solved
I was going to suggest this:
I think Seven's is probably better though. Mine prevents the MButton from being used for normal actions.
Code: Select all
#SingleInstance
#Requires AutoHotkey v2+
MButton::
{ IF (A_PriorHotkey = "MButton") and (A_TimeSincePriorHotkey < 200)
msgbox 'mbutton double click detected'
}
- 14 May 2024, 17:51
- Forum: Scripts and Functions (v2)
- Topic: Simple Default Printer Viewer/Changer
- Replies: 2
- Views: 378
- 14 May 2024, 17:45
- Forum: Scripts and Functions (v1)
- Topic: Default Printer Viewer/Changer -- Feedback welcome
- Replies: 9
- Views: 1046
Re: Default Printer Viewer/Changer -- Feedback welcome
A version of this printer tool, for AHKv2, is here:
viewtopic.php?f=83&p=571743#p571743
viewtopic.php?f=83&p=571743#p571743
- 14 May 2024, 17:26
- Forum: Scripts and Functions (v2)
- Topic: Simple Default Printer Viewer/Changer
- Replies: 2
- Views: 378
Simple Default Printer Viewer/Changer
This is nothing groundbreaking. It's just a simple gui to list your installed printers as a radio group. The one that is selected by default is the current Default Printer. Select another and press the button to Change Default. Select a printer and right-click for the context menu of additional opti...