Search found 16633 matches
- Today, 09:09
- Forum: Ask for Help (v1)
- Topic: How to make it so that you can go back a bit of lines from a line farther from it?
- Replies: 1
- Views: 42
Re: How to make it so that you can go back a bit of lines from a line farther from it?
sorry, idk how to put in boxes like other people do Like this: add code tags.png Sorry if this is AHK 1, again i am very noob at AHK so i cant tell the difference between AHK 1 and AHK 2, if so, move to AHK1 forums or something Yes it is v1 code, so I moved the thread. Since you are that new to AHK...
- Today, 03:54
- Forum: Ask for Help (v2)
- Topic: winmaximize issue
- Replies: 5
- Views: 53
Re: winmaximize issue
Yes, @marypoppins_1, the links were placed in our posts for a reason. You apparently aren’t even reading them because they immediately answer your questions.
- Yesterday, 23:51
- Forum: Ask for Help (v2)
- Topic: winmaximize issue
- Replies: 5
- Views: 53
Re: winmaximize issue
Which window are you trying to maximize? You haven’t identified any. WinTitle is only an optional parameter if you are counting on the Last Found Window to be used, but what you posted shows no attempt at having found a window. Are you perhaps trying to maximize the currently active window? Then you...
- Yesterday, 21:16
- Forum: Ask for Help
- Topic: can't compile with ahk2exe_h but works fine with normal
- Replies: 14
- Views: 108
Re: can't compile with ahk2exe_h but works fine with normal
Moved from the main part of the forum to the _H section.
- Yesterday, 19:44
- Forum: Ask for Help (v2)
- Topic: Autohotkey 2.0.12 and Smartscreen
- Replies: 3
- Views: 74
Re: Autohotkey 2.0.12 and Smartscreen
I unlocked it in in case anyone wants to commend given lexikos’ insights.
- Yesterday, 11:33
- Forum: Ask for Help (v2)
- Topic: Any AI tool to write AHK code?
- Replies: 3
- Views: 86
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.
- Yesterday, 02:22
- Forum: Ask for Help (v2)
- Topic: Can the language be change Topic is solved
- Replies: 10
- Views: 166
Re: Can the language be change Topic is solved
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.
- 27 Mar 2024, 18:21
- Forum: Ask for Help (v2)
- Topic: Creating Mode Keys - Best Practice
- Replies: 6
- Views: 131
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...
- 27 Mar 2024, 18:07
- Forum: Ask for Help (v1)
- Topic: Assistance with local variables
- Replies: 1
- Views: 32
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 ...
- 27 Mar 2024, 10:22
- Forum: Ask for Help (v2)
- Topic: Would this work as a remap? Topic is solved
- Replies: 5
- Views: 82
Re: Would this work as a remap? Topic is solved
What are you trying to accomplish by mapping a button to itself?
- 27 Mar 2024, 10:20
- Forum: Ask for Help (v1)
- Topic: Assigning Arrow Key Functionality to Alt+[Key] in AutoHotkey Topic is solved
- Replies: 5
- Views: 370
- 27 Mar 2024, 08:56
- Forum: Gaming Help (v1)
- Topic: Macro info
- Replies: 7
- Views: 97
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...
- 27 Mar 2024, 08:47
- Forum: Ask for Help (v2)
- Topic: Autohotkey 2.0.12 and Smartscreen
- Replies: 3
- Views: 74
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...
- 27 Mar 2024, 06:47
- Forum: Ask for Help (v1)
- Topic: Code review
- Replies: 2
- Views: 53
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.
- 27 Mar 2024, 02:42
- Forum: Ask for Help (v2)
- Topic: Sort doesn't work with descend order? Topic is solved
- Replies: 2
- Views: 78
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...
- 26 Mar 2024, 14:51
- Forum: Ask for Help (v2)
- Topic: CheckColor / WaitColor - Color names of HEX color
- Replies: 1
- Views: 62
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...
- 25 Mar 2024, 15:07
- Forum: Ask for Help (v2)
- Topic: Multiple Keys
- Replies: 4
- Views: 89
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...
- 25 Mar 2024, 12:38
- Forum: Ask for Help (v1)
- Topic: Extracting a specified line from a textfile
- Replies: 5
- Views: 94
Re: Extracting a specified line from a textfile
Why not use FileReadLine and read only the line you want directly from the file?
- 25 Mar 2024, 10:33
- Forum: Gaming
- Topic: Pokedex with Neutron and Requests (from AHK)
- Replies: 3
- Views: 87
Re: Pokedex with Neutron and Requests (from AHK)
OK, thanks!
- 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?