Search found 17187 matches
- 03 Jun 2024, 11:00
- Forum: Pulovers Macro Creator
- Topic: Macro to wait for specific pixel color to change, then click again
- Replies: 14
- Views: 811
Re: Macro to wait for specific pixel color to change, then click again
Please show your code so we can help fix it rather than starting from scratch and leading to a lot of back-and-forth. Use [code][/code] tags around your code.
- 03 Jun 2024, 07:33
- Forum: Gaming
- Topic: Script for different combinations of mouse clicks
- Replies: 11
- Views: 435
Re: Script for different combinations of mouse clicks
Yes, v2 is the way to go, so we'll leave the thread here. Someone will be helping you with this.
- 03 Jun 2024, 05:55
- Forum: Ask for Help (v1)
- Topic: Help implement SetKeyDelay
- Replies: 2
- Views: 284
Re: Help implement SetKeyDelay
@Lim88 — Please note the moderator comments added to you post above. Thank you.
- 03 Jun 2024, 05:45
- Forum: Gaming
- Topic: Script for different combinations of mouse clicks
- Replies: 11
- Views: 435
Re: Script for different combinations of mouse clicks
Before, you posted in this v2 section even though you were using v1. Are you still using v1 or are you now looking to write v2 code?
- 03 Jun 2024, 02:32
- Forum: Off-topic Discussion
- Topic: Is AHK v2 better than v1?
- Replies: 6
- Views: 858
Re: Is AHK v2 better than v1?
@CoffeeChaton — Do not put img tags around attached images. That results in broken image icons. They are used when you have a URL to an image file.
- 03 Jun 2024, 02:27
- Forum: Ask for Help (v1)
- Topic: "Readback_01.ahk" Doesn't work. Why?
- Replies: 4
- Views: 463
Re: "Readback_01.ahk" Doesn't work. Why?
You can have both v1 and v2 installed. If installed correctly, AHK will choose which version to use based on the code, or you can use #Requires to indicate which version to use for that script. It doesn’t matter what your editor is.
- 02 Jun 2024, 20:18
- Forum: Ask for Help (v1)
- Topic: "Readback_01.ahk" Doesn't work. Why?
- Replies: 4
- Views: 463
Re: "Readback_01.ahk" Doesn't work. Why?
@codetrucker — Also note that again we have moved your post from the v2 section because you are posting what would be v1 syntax when corrected. Please post in the appropriate section next time! Thank you.
- 02 Jun 2024, 20:08
- Forum: Ask for Help (v1)
- Topic: "Readback_01.ahk" Doesn't work. Why?
- Replies: 4
- Views: 463
Re: "Readback_01.ahk" Doesn't work. Why?
I don’t see how you would get that error with that script as you’ve posted it. That is not the correct syntax for sending a click. If you just remove the “Send” in each case, they would be correctly formatted Click commands. If you did want to use Send to produce clicks, as the documentation shows, ...
- 02 Jun 2024, 16:29
- Forum: Ask for Help (v2)
- Topic: Typedef in AutoHotkey
- Replies: 4
- Views: 406
Re: Typedef in AutoHotkey
Structures were added to AHK v2.1-alpha.
- 02 Jun 2024, 11:23
- Forum: Ask for Help (v1)
- Topic: Preventing Repeating Commands
- Replies: 8
- Views: 522
Re: Preventing Repeating Commands
Thanks for catching that, mikeyww! I forgot to paste the URL on that one (corrected now).
- 02 Jun 2024, 11:18
- Forum: Ask for Help (v1)
- Topic: Preventing Repeating Commands
- Replies: 8
- Views: 522
Re: Preventing Repeating Commands
Neither the Sleep or the SingleInstance (even if it was actually a command and had something to do with this) will ever execute. That’s not how multi-line hotkeys are formatted. See the Hotkey documentation and Structure of a Script . I can't reproduce the issue with this script: ^WheelLeft::^c ^Whe...
- 01 Jun 2024, 13:25
- Forum: Ask for Help (v2)
- Topic: assiging a list to a variable in AHK2 Topic is solved
- Replies: 4
- Views: 471
Re: assiging a list to a variable in AHK2 Topic is solved
Is this syntax still working in AHK2: … If this syntax has been cancelled in AHK2, is there any alternative to it? What you showed doesn’t work in either version. Even in v1, you’d either have to make the change ntepa showed or use the legacy assignment operator = instead of the expression assignme...
- 01 Jun 2024, 10:46
- Forum: Gaming Help (v1)
- Topic: Script Failure
- Replies: 24
- Views: 1175
Re: Script Failure
I asked you to provide several pieces of information and you provided one of them. To reiterate:
- Which hotkeys are executed incorrectly (answered)
- and in what way? (not answered)
- What was expected to happen (not answered)
- and what happened instead? (not answered)
- 01 Jun 2024, 10:45
- Forum: Ask for Help (v2)
- Topic: Help with an old script
- Replies: 1
- Views: 141
Re: Help with an old script
@xulegos - The code you posted is v1 code. You posted in the main part of the forum which is now dedicated to v2. Are you looking for a v2 solution or should we move this thread to the v1 section of the forum?
- 01 Jun 2024, 10:35
- Forum: Ask for Help (v1)
- Topic: When I execute this script the cursor stays in the search box instead of focusing in the input box how do I fix this?
- Replies: 2
- Views: 325
Re: When I execute this script the cursor stays in the search box instead of focusing in the input box how do I fix this
smogmanus - This has been discussed with you multiple times and you committed to do it correctly and yet still haven't: As a courtesy to your fellow forum members who graciously take the time to respond to your posts and to the volunteer moderating staff, please take the little effort it takes to l...
- 01 Jun 2024, 10:16
- Forum: Gaming Help (v1)
- Topic: Script Failure
- Replies: 24
- Views: 1175
Re: Script Failure
You'll need to provide more information than just to say you need another solution. Which hotkeys are executed incorrectly and in what way? What was expected to happen and what happened instead? We don't have any insight into your game.
- 01 Jun 2024, 08:53
- Forum: Gaming Help (v1)
- Topic: Script Failure
- Replies: 24
- Views: 1175
Re: Script Failure
Try using Send instead of key remaps for those:
Code: Select all
+r::Send, t
+e::Send, o
+w::Send, y
+space::Send, u
+XButton1::Send, j
+XButton2::Send, n
- 01 Jun 2024, 08:36
- Forum: Gaming Help (v1)
- Topic: Script Failure
- Replies: 24
- Views: 1175
Re: Script Failure
@Pianist — Please place [code][/code] tags around your code when posting scripts on the forum. And when posting about scripts for games, please post in the “Gaming” sub-forum, which is where this thread has been moved. Thank you.
- 31 May 2024, 21:00
- Forum: Ask for Help (v1)
- Topic: why don't act pixelsearch with mousegetpos variable? Topic is solved
- Replies: 21
- Views: 1351
Re: why don't act pixelsearch with mousegetpos variable? Topic is solved
The braces here don’t makes sense:
I had them because I was assigning an associative array with an x key and a y key. You apparently didn’t want to do that so the braces don’t belong there.
Code: Select all
MXarr[Index] := {MX}
MYarr[Index] := {MY}
I had them because I was assigning an associative array with an x key and a y key. You apparently didn’t want to do that so the braces don’t belong there.
- 31 May 2024, 15:02
- Forum: Ask for Help (v2)
- Topic: does anyone know how can I take a screenshot of portion of my screen Topic is solved
- Replies: 2
- Views: 257