Search found 8774 matches

by gregster
Today, 12:19
Forum: Ask for Help (v1)
Topic: Issue with AHK Script - Numpad1 and NumpadDel Conflict
Replies: 8
Views: 121

Re: Issue with AHK Script - Numpad1 and NumpadDel Conflict

Back to the original topic, however, I think (without seeing the OP's code) my original assessment of their problem would probably stand. Didn't Numpad1 & NumpadDel::msgbox with NumLock ON work for you like I described? In that direction, this is also the original Windows behaviour outside of AHK, ...
by gregster
Today, 11:10
Forum: Ask for Help (v1)
Topic: Too few parameters error
Replies: 1
Views: 34

Re: Too few parameters error

But I wan to only disable it on my laptop keyboard and not my attached one. That's not what GetKeySC does - and it would require one non-optional parameter. For details, please have a look at the GetKeySC docs. (But this function won't help here, afaik.) Differentiating multiple keyboards is actual...
by gregster
Today, 10:28
Forum: Ask for Help (v1)
Topic: Issue with AHK Script - Numpad1 and NumpadDel Conflict
Replies: 8
Views: 121

Re: Issue with AHK Script - Numpad1 and NumpadDel Conflict

RussF : Yeah, that sentence looks wrong and has confused me before, I think. NumLock has always been tricky - and the docs quite meager. I just remember from the past that when NumLock is OFF, you need these shifted hotkeys: +numpadend::msgbox % "Shifted Numpad End" +numpaddel::msgbox % "Shifted Nu...
by gregster
Today, 08:03
Forum: Ask for Help (v1)
Topic: Issue with AHK Script - Numpad1 and NumpadDel Conflict
Replies: 8
Views: 121

Re: Issue with AHK Script - Numpad1 and NumpadDel Conflict

It is logically impossible to press Numpad1 and NumpadDel at the same time. It works here :) , although it's not a nice key combo... This code triggers when I press Numpad1 (keeping it pressed down) and then Shift and Numpad , (german layout has a Numpad comma instead of the dot, but it's still Num...
by gregster
Today, 07:28
Forum: Ask for Help (v1)
Topic: Issue with AHK Script - Numpad1 and NumpadDel Conflict
Replies: 8
Views: 121

Re: Issue with AHK Script - Numpad1 and NumpadDel Conflict

If you have a problem with your script, I can only recommend to post it (between code tags please). Generally, your problem description could possibly hint at a missing return at the end of a multi-line hotkey so that code execution falls through to following code. But this is just guesswork without...
by gregster
Yesterday, 22:04
Forum: Gaming
Topic: Script help: combine left click macro with another script which presses the "1" hotkey
Replies: 3
Views: 57

Re: Script help: combine left click macro with another script which presses the "1" hotkey

My original post did include a gif but now it isn't showing. There is really no gif in your first post, not even a broken one. But you shouldn't post your code as a picture anyway, but as plain text between code tags, so that people can easily inspect or copy and paste it from the resulting code bo...
by gregster
13 Apr 2024, 18:43
Forum: Gaming Help (v1)
Topic: click on image text
Replies: 11
Views: 142

Re: click on image text

For games you can post here: https://www.autohotkey.com/boards/viewforum.php?f=18 Sure, new gaming topics should be created there. For already existing discussions like this, it is much more preferable to just move them. (I just did that, although Imagesearch questions are not necessarily limited t...
by gregster
13 Apr 2024, 17:54
Forum: Ask for Help (v2)
Topic: Remap HAT POV
Replies: 2
Views: 43

Re: Remap HAT POV

raoulemilian2 , I merged your two topics which seem closely related. The second one was in the v1 help forum though. Since v1 is deprecated, I assume that you prefer to continue with your v2 topic. Please don't create multiple topics for the same question. Thank you! Here is an example how to check...
by gregster
12 Apr 2024, 07:28
Forum: Ask for Help (v2)
Topic: need help about variable(about assign global and default value) Topic is solved
Replies: 8
Views: 143

Re: need help about variable(about assign global and default value) Topic is solved

@Seven0528
Yeah, the codeboxes still work with v1 syntax and the multi-line comment syntax changed in v2. This can be misleading.
by gregster
12 Apr 2024, 06:23
Forum: Ask for Help (v2)
Topic: Managing glossaries with the DeepL API
Replies: 10
Views: 202

Re: Managing glossaries with the DeepL API

I see. Well, the DeepL docs seem to provide cURL examples.
Iirc, there should be one or two libcurl wrappers for AHK v2. Perhaps this could simplify the web requests.
by gregster
12 Apr 2024, 05:59
Forum: Ask for Help (v2)
Topic: Managing glossaries with the DeepL API
Replies: 10
Views: 202

Re: Managing glossaries with the DeepL API

it may not be as versatile as other languages when it comes to keyboard control, as its name suggests I always thought that AHK is pretty good for keyboard control , but I don't see how this is related to the original request. The request seems to be about using a specific WebAPI via https requests...
by gregster
12 Apr 2024, 03:49
Forum: Ask for Help (v2)
Topic: Managing glossaries with the DeepL API
Replies: 10
Views: 202

Re: Managing glossaries with the DeepL API

Imo, the community offers a great deal of guidance and assistance - and all helpers (including the moderators and admins) are pure volunteers who spend lots of hours to keep these forums running. And it is still there for you, if you decide to use it. But we also have to take into account the motiva...
by gregster
11 Apr 2024, 19:13
Forum: Pulovers Macro Creator
Topic: Is Pause - Random Delay Option broken?
Replies: 7
Views: 1808

Re: Is Pause - Random Delay Option broken?

I did that, that's why i said i believe it does not work properly upon export. But then again, i just started ahk/pulover 3 days ago and i may have done something wrong on export and overall i don't quite know what i am doing. Sure, your fellow Pulover user rockitdontstopit seems to confirm this pr...
by gregster
11 Apr 2024, 11:38
Forum: Pulovers Macro Creator
Topic: Is Pause - Random Delay Option broken?
Replies: 7
Views: 1808

Re: Is Pause - Random Delay Option broken?

Crazy idea from a non-Pulover (but AutoHotkey) user: If you export it to AHK v1 code anyway, the Random command (or a related user-defined function ) should be easy to test and debug with a few AHK basics. I even heard that there is an official AHK support forum somewhere nearby. You could start wit...
by gregster
11 Apr 2024, 10:59
Forum: Ask for Help (v2)
Topic: Managing glossaries with the DeepL API
Replies: 10
Views: 202

Re: Managing glossaries with the DeepL API

Please don't post broken AI code - which is not allowed according to the forum rules . The code you posted contained, for example, larger parts of v1 code mixed with v2 code. Current AI systems are simply not capable of writing complex v2 scripts and are usually not a good starting point but a waste...
by gregster
10 Apr 2024, 15:28
Forum: Ask for Help (v1)
Topic: Hotstring Key delay
Replies: 6
Views: 64

Re: Hotstring Key delay

So, something similar to example #7 in the KeyWait docs? This will only react to capital L s (although your hotstring above would also react to small l s as long as you don't use the C hotstring option.) ~+l:: if (A_PriorHotkey != "~+l" or A_TimeSincePriorHotkey > 250) { ; Too much time between pres...
by gregster
10 Apr 2024, 14:55
Forum: Ask for Help (v1)
Topic: Hotstring Key delay
Replies: 6
Views: 64

Re: Hotstring Key delay

I don't understand the problem. Do you want to get different results based on the time passed between the manual typing of the first and the second L ?
by gregster
10 Apr 2024, 14:49
Forum: Ask for Help (v1)
Topic: Hotstring Key delay
Replies: 6
Views: 64

Re: Hotstring Key delay

Just type slower ;) Or who is doing the typing on your computer?
The output could be slowed down by the Kn option, of course.

Go to advanced search