Search found 16628 matches

by boiler
38 minutes ago
Forum: Ask for Help (v2)
Topic: Any AI tool to write AHK code?
Replies: 3
Views: 50

Re: Any AI tool to write AHK code?

Please also note that asking for help with AI-generated code is against the forum rules. You can of course use it as a starting point for yourself, but do not post code generated by ChatGPT and ask the forum to help correct it.
by boiler
Today, 02:22
Forum: Ask for Help (v2)
Topic: Can the language be change
Replies: 2
Views: 57

Re: Can the language be change

You can remove the existing tray menu items using A_TrayMenu.Delete and add your own menu items using any language. If you want it to do those same things, then you would just need to add your own functions that do those same things that those menu items would invoke.
by boiler
Yesterday, 18:21
Forum: Ask for Help (v2)
Topic: Creating Mode Keys - Best Practice
Replies: 6
Views: 121

Re: Creating Mode Keys - Best Practice

Im not sure why Im not getting notifications. You probably are getting notifications for replies to topics to which you are subscribed when you visit the forum. You may not be getting email notifications for those occurrences. You can set those preferences in your "User Control Panel" > "Board pref...
by boiler
Yesterday, 18:07
Forum: Ask for Help (v1)
Topic: Assistance with local variables
Replies: 1
Views: 29

Re: Assistance with local variables

You have no local variables. In v1, hotkey subroutines are not functions. You variable is being updated. You can see for yourself: delaySpeed := 1000 mashSpeed := 15 currentSpeed := 15 x:: toggle:=!toggle if (toggle) currentSpeed := delaySpeed else currentSpeed := mashSpeed return ~LButton:: MsgBox ...
by boiler
Yesterday, 10:22
Forum: Ask for Help (v2)
Topic: Would this work as a remap? Topic is solved
Replies: 5
Views: 79

Re: Would this work as a remap? Topic is solved

What are you trying to accomplish by mapping a button to itself?
by boiler
Yesterday, 10:20
Forum: Ask for Help (v1)
Topic: Assigning Arrow Key Functionality to Alt+[Key] in AutoHotkey Topic is solved
Replies: 5
Views: 367

Re: Assigning Arrow Key Functionality to Alt+[Key] in AutoHotkey Topic is solved

anogoya wrote: Hate to hijack a thread...
Please don't. If your question isn't directly related to the topic of an existing thread, and yours is only very loosely related, then start a new thread.
by boiler
Yesterday, 08:56
Forum: Gaming Help (v1)
Topic: Macro info
Replies: 7
Views: 82

Re: Macro info

Why ban from discord ? What i did ? Apparently, you discussed gaming on the AHK channel, which is not allowed. As I understand it, the rules are very clear about this. Why other people can ask help for gaming purpose and i can't ? Others can't -- not on the AHK channel. If you just won't it in disc...
by boiler
Yesterday, 08:47
Forum: Ask for Help (v2)
Topic: Autohotkey 2.0.12 and Smartscreen
Replies: 1
Views: 41

Re: Autohotkey 2.0.12 and Smartscreen

When I try to run AutoHotkey64.exe (Version 2.0.12) without setup, I get the following error. Windows protected your PC Microsoft Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk. Unknown publisher . How come? Because false positives are a...
by boiler
Yesterday, 06:47
Forum: Ask for Help (v1)
Topic: Code review
Replies: 1
Views: 31

Re: Code review

There are a number of basic errors. It would be best if you ran it yourself, got the error messages, and tried fixing those errors rather than asking the forum to take the time to do basic error checking that AHK performs itself.
by boiler
Yesterday, 02:42
Forum: Ask for Help (v2)
Topic: Sort doesn't work with descend order? Topic is solved
Replies: 2
Views: 69

Re: Sort doesn't work with descend order? Topic is solved

You have a custom function to determine how things are sorted. Specifying some options has no effect. There is no way for AHK to know how to change the results of your custom function just because you specified a couple options. To change the sort order, you have to change the function itself: Conte...
by boiler
26 Mar 2024, 14:51
Forum: Ask for Help (v2)
Topic: CheckColor / WaitColor - Color names of HEX color
Replies: 1
Views: 58

Re: CheckColor / WaitColor - Color names of HEX color

Instead of a bunch of if statements, you can use a Map: Color := 'Red' ; also test with 'WrongColor' or other color names ColorValues := Map('White', 0xFFFFFF, 'Black', 0x000000, 'Red', 0xFF0000, 'DarkRed', 0x800000) Try WaitColor := ColorValues[Color] Catch { MsgBox 'The color "' Color '" is not de...
by boiler
25 Mar 2024, 15:07
Forum: Ask for Help (v2)
Topic: Multiple Keys
Replies: 4
Views: 83

Re: Multiple Keys

So, I should think of a script as running until it exits. It must stay running for the logic to persist. Yes, but it won't continue running when you execute ExitApp. Does that mean that for any given tool I want to use AutoHotKey, I will need an individual script. No, you don't need individual scri...
by boiler
25 Mar 2024, 12:38
Forum: Ask for Help (v1)
Topic: Extracting a specified line from a textfile
Replies: 5
Views: 91

Re: Extracting a specified line from a textfile

Why not use FileReadLine and read only the line you want directly from the file?
by boiler
25 Mar 2024, 07:15
Forum: Ask for Help (v2)
Topic: modify setbatchlines
Replies: 10
Views: 155

Re: modify setbatchlines

Have you checked your CPU usage, regardless of whether an AHK script is running?
by boiler
25 Mar 2024, 06:57
Forum: Ask for Help (v2)
Topic: Problem with Find_Text.ahk ?
Replies: 5
Views: 117

Re: Problem with Find_Text.ahk ?

@pho7271 - So did you have the same solution? If not, post the details of what's different.
by boiler
25 Mar 2024, 06:07
Forum: Ask for Help (v2)
Topic: modify setbatchlines
Replies: 10
Views: 155

Re: modify setbatchlines

You shouldn’t need sleeps for anything before maximizing the Edge window, but I would add them between most lines after that to give the browser a chance to respond to the last action before taking the next. By the way, this construct is creating and managing a variable that is redundant with the re...
by boiler
25 Mar 2024, 05:39
Forum: Ask for Help (v1)
Topic: HWID Read and write
Replies: 1
Views: 41

Re: HWID Read and write

Locking this thread.

@glnklein — This forum is not a place to discuss approaches that serve illegitimate/illegal purposes such as software piracy.
by boiler
24 Mar 2024, 20:42
Forum: Gaming
Topic: Pokedex with Neutron and Requests (from AHK)
Replies: 3
Views: 85

Re: Pokedex with Neutron and Requests (from AHK)

@ositoMalvado — I apologize. In moving the thread to the Gaming section, one of your files was dropped. Could you please attach it again? Sorry for the inconvenience.
by boiler
24 Mar 2024, 20:26
Forum: Ask for Help (v2)
Topic: Multiple Keys
Replies: 4
Views: 83

Re: Multiple Keys

Make sure you don’t have any other scripts or other applications that create hotkeys running.

Also, please use [code][/code] tags when posting code on the forum. Thank you.

Go to advanced search