Search found 16925 matches
- Today, 13:58
- Forum: Ask for Help (v1)
- Topic: PixelSearch
- Replies: 1
- Views: 146
Re: PixelSearch
PixelSearch, by default, searches from top left to top right and then goes down one line until the color is successfully found. Actually, unlike ImageSearch, the direction of search depends on whether X1 is greater than X2 and whether Y1 is greater than Y2. Is it possible to start the search from t...
- Today, 12:16
- Forum: Ask for Help (v1)
- Topic: How can we go back to DEFAULT Coordmode mode?
- Replies: 3
- Views: 199
Re: How can we go back to DEFAULT Coordmode mode?
If you want to go back to whatever the previous coord mode was without knowing what it was, you can do this: PrevCoordModeMouse := A_CoordModeMouse CoordMode, Mouse ,Screen MouseGetPos, MX, MY ....SOME CODE...... CoordMode, Mouse, % PrevCoordModeMouse It doesn’t matter if you use a Return or not bec...
- Today, 07:03
- Forum: Gaming
- Topic: take window information
- Replies: 2
- Views: 104
Re: take window information
What you should be checking with Window Spy is whether the chat area of the window has a ClassNN control name. If it does, then try getting the text from that control using ControlGetText.
- Today, 06:10
- Forum: Gaming Help (v1)
- Topic: AHK way too slow, like completely unusable.
- Replies: 1
- Views: 79
Re: AHK way too slow, like completely unusable.
You should try a key remap instead: ]::toggle_1 := !toggle_1 #If WinActive("Roblox") && (toggle_1) u::w h::a j::s k::d #if [::ExitApp And you shouldn’t give up on v2. Go ahead and try translating the above to v2, looking at the v2 documentation . It will be a good exercise, and you can ask for help ...
- Today, 03:06
- Forum: Ask for Help (v1)
- Topic: change color Topic is solved
- Replies: 3
- Views: 241
Re: change colorrr Topic is solved
Create a simple GUI that is invoked by a hotkey and displays nothing but a Picture control of the color grid image (cropped much tighter than the image you attached), a Button control that is set to Default so that it is selected when Enter is pressed (the button can be outside of the visible extent...
- Today, 02:48
- Forum: Ask for Help (v2)
- Topic: How to pass variables into Gui's callback function and how to terminate another function within one function?
- Replies: 1
- Views: 137
Re: How to pass variables into Gui's callback function and how to terminate another function within one function?
Hello everyone. Could you please teach me with simple examples? First question: How to pass variables into Gui's callback function? Example: #Requires AutoHotkey v2.0 bp := 6 MyGui := Gui() MyGui.Add('Button', 'w100 h60', 'Go').OnEvent('Click', MyFunc.Bind(bp)) MyGui.Show MyFunc(val, *) { MsgBox 'T...
- Today, 02:25
- Forum: Gaming Help (v1)
- Topic: Help With script. Topic is solved
- Replies: 16
- Views: 622
Re: Help With script. Topic is solved
and so on... i just want that after i press the F1, F2 or FX button the script press a hotkey on keyboard, like ~ or ` (because its near F1, F2), quick to press. But with the ressalve, that one F1 must not pass the turn (must note have the hotkey associated to pass the turn on the game, just select...
- Yesterday, 22:42
- Forum: Gaming Help (v1)
- Topic: Help With script. Topic is solved
- Replies: 16
- Views: 622
Re: Help With script. Topic is solved
The closest I can come to figuring out what you want is to have a separate hotkey for activating each character’s window. Are you wanting the script to automatically identify the various character windows and create a set of hotkesy for activating each of them? I don’t know why you keep showing that...
- Yesterday, 17:50
- Forum: Ask for Help (v2)
- Topic: Send and the Emoji Panel
- Replies: 7
- Views: 327
Re: Send and the Emoji Panel
I am on Win10, so that is apparently the difference.
- Yesterday, 16:57
- Forum: Ask for Help (v2)
- Topic: Send and the Emoji Panel
- Replies: 7
- Views: 327
Re: Send and the Emoji Panel
Works for me.
- Yesterday, 09:56
- Forum: Scripts and Functions (v2)
- Topic: ADOSQL v6
- Replies: 19
- Views: 1598
Re: ADOSQL v6
the code that caused the error is line 18 in the code one above. I used the "same" code that hisrRB57 provided. hisrRB57’s code has 19 lines total in it, and line 18 is just a blank line followed by one other line of code, not anywhere close to the lines of code the error message you posted from yo...
- Yesterday, 06:01
- Forum: Scripts and Functions (v2)
- Topic: ADOSQL v6
- Replies: 19
- Views: 1598
Re: ADOSQL v6
One last time: Post the code that produced the error.
And it’s starting to look like the issue has nothing to do with the library but just your attempted use of a two-dimensional array, so it’s likely that I’ll move all these posts out of this thread and into its own “Ask for Help (v2)” thread.
And it’s starting to look like the issue has nothing to do with the library but just your attempted use of a two-dimensional array, so it’s likely that I’ll move all these posts out of this thread and into its own “Ask for Help (v2)” thread.
- Yesterday, 02:24
- Forum: Ask for Help (v1)
- Topic: sub script no working
- Replies: 2
- Views: 258
Re: sub script no working
I’m guessing it’s because you have some type of #If directive earlier in the script, preventing this hotkey from being active when you want it to be. Try putting just #If on a line above the #s:: line to prevent any prior directive from affecting this hotkey. It’s also better to use ClipWait rather ...
- Yesterday, 02:07
- Forum: Gaming Help (v1)
- Topic: Script that checks state of pixel, but uses 2 states to determine output
- Replies: 7
- Views: 239
Re: Script that checks state of pixel, but uses 2 states to determine output
wait so what would the combination of ! and 0 do? !0 (meaning “not 0” or “not false”) is 1 or true , and !1 is 0 or false . since 0 is found and ! is not found, this works in the script for what its supposed to do so i am a tad bit confused, No, ! does not mean “not found”, it just means “not”. It ...
- Yesterday, 01:54
- Forum: Ask for Help (v2)
- Topic: Double click when hold down LButton long enough?
- Replies: 7
- Views: 361
Re: Double click when hold down LButton long enough?
If you run a different script, I can’t help troubleshoot it. The script I posted has only 15 lines, not over 150 lines.
- Yesterday, 01:50
- Forum: Scripts and Functions (v2)
- Topic: ADOSQL v6
- Replies: 19
- Views: 1598
Re: ADOSQL v6
Then post your v2 code and the full error message you get when you run it. And use [code][/code] tags when you post your code.
- 05 May 2024, 22:46
- Forum: Scripts and Functions (v2)
- Topic: ADOSQL v6
- Replies: 19
- Views: 1598
Re: ADOSQL v6
@alnz123 — Your code is for AHK v1, and this library is for v2. You cannot mix the two. There is a link to the v1 version in the first post.
- 05 May 2024, 20:57
- Forum: Gaming Help (v1)
- Topic: Help With script. Topic is solved
- Replies: 16
- Views: 622
Re: Help With script. Topic is solved
Still not sure what you’re looking for, but maybe this is close.
Code: Select all
#Requires AutoHotkey v1.1.33.11
F1::
F2:
F3::
F4::
F5::
F6::
F7::
F8::
WinActivate, % "Character " RegExReplace("A_ThisHotkey", "\D")
MouseMove, 0, 0
Send, ``
return
- 05 May 2024, 19:10
- Forum: Gaming Help (v1)
- Topic: Help With script. Topic is solved
- Replies: 16
- Views: 622
- 05 May 2024, 17:42
- Forum: Ask for Help (v1)
- Topic: I need help with this code because I am not a programmer, can anyone add F4 to change the color Topic is solved
- Replies: 3
- Views: 381
Re: I need help with this code because I am not a programmer, can anyone add F4 to change the color Topic is solved
See how you like this. Press F4 and it will flash up the current color as you cycle through them. You can only drag the ends and use the other hotkeys for the color that you're currently in because they're each their own "layer". You can add or subtract as many colors as you'd like by editing the Li...