Search found 25 matches
- 30 May 2018, 09:41
- Forum: Ask for Help (v1)
- Topic: AHK script freezing mouse
- Replies: 16
- Views: 4467
Re: AHK script freezing mouse
1: The objective is to help others, so why didn't you be straight to the point? 2: That contradicts what you just said: How could the script be the problem when you know the mouse is the problem? 3: Let me get this straight, you're saying that by interacting with something it can't be harmed. Ex. I ...
- 30 May 2018, 09:18
- Forum: Ask for Help (v1)
- Topic: AHK script freezing mouse
- Replies: 16
- Views: 4467
Re: AHK script freezing mouse
Okay so that leaves me with two questions: 1: Then why didn't you just say "its your mouse" instead of "So did you or did you not conduct a test without running the script? What happens when you kill the script?"? which leads one to believe that the script could be the problem. 2: You're saying that...
- 30 May 2018, 08:50
- Forum: Ask for Help (v1)
- Topic: AHK script freezing mouse
- Replies: 16
- Views: 4467
Re: AHK script freezing mouse
And its not false information, the script could easily just have taken the drivers or whatnot that extra mile and it finally cut down.
- 30 May 2018, 08:48
- Forum: Ask for Help (v1)
- Topic: AHK script freezing mouse
- Replies: 16
- Views: 4467
Re: AHK script freezing mouse
Okay , you're telling me that if i use an ahk script to delete the drivers, the script didn't "break" the mouse
- 30 May 2018, 08:43
- Forum: Ask for Help (v1)
- Topic: running a program in Program Files directory
- Replies: 5
- Views: 1573
Re: running a program in Program Files directory
You don't have to use a comma when the function is only using one parameter
- 30 May 2018, 08:41
- Forum: Ask for Help (v1)
- Topic: AHK script freezing mouse
- Replies: 16
- Views: 4467
Re: AHK script freezing mouse
In theory, it can. The program is interacting with the position of the cursor, and has a chance to make the mouse more finicky then it already was.
- 30 May 2018, 08:36
- Forum: Ask for Help (v1)
- Topic: AHK script freezing mouse
- Replies: 16
- Views: 4467
Re: AHK script freezing mouse
I think it's your mouse, i would test it but i dont want to spend another $50 if it is the script. if you have another old or crappy mouse lying around, id say try using that and test the script Edit: didnt really think this through, its your mouse; its early in the morning forgive me tl;dr: im tire...
- 30 May 2018, 08:33
- Forum: Ask for Help (v1)
- Topic: adding an extra key
- Replies: 11
- Views: 2388
Re: adding an extra key
what i posted will only run once, if it works. However, if you wanted a toggle, try adding an extra & to be a proper "and"
- 30 May 2018, 08:29
- Forum: Ask for Help (v1)
- Topic: adding an extra key
- Replies: 11
- Views: 2388
Re: adding an extra key
this may work:
Code: Select all
Lbutton && Rbutton::
{
DllCall("mouse_event", uint, 1, int, 0, int, 5, uint, 0, int, 0)
Sleep, 0
DllCall("mouse_event", uint, 1, int, 0, int, 5, uint, 0, int, 0)
Sleep, 5
}
- 29 May 2018, 11:44
- Forum: Ask for Help (v1)
- Topic: keep a script running after hotkey is pressed? Topic is solved
- Replies: 2
- Views: 753
Re: keep a script running after hotkey is pressed? Topic is solved
Hello,
I swore i tried using return and it didnt work, maybe i put it somewhere improper. Either way thanks for helping me. It works!
I swore i tried using return and it didnt work, maybe i put it somewhere improper. Either way thanks for helping me. It works!
- 29 May 2018, 10:54
- Forum: Ask for Help (v1)
- Topic: keep a script running after hotkey is pressed? Topic is solved
- Replies: 2
- Views: 753
keep a script running after hotkey is pressed? Topic is solved
Want to keep the script running after i press F4 so I can press it again to do the same thing.
Code: Select all
F4::
Send {enter}
Sleep 100
Send test
Sleep 350
Send {enter}
F5::ExitApp
- 13 May 2018, 13:58
- Forum: Ask for Help (v1)
- Topic: ImageSearch and errorlevel Topic is solved
- Replies: 7
- Views: 3594
Re: ImageSearch and errorlevel Topic is solved
Oh my lord, thanks for that. I really didn't think that was a problem, i usually am good with brackets when i use them. Thanks guys.
- 13 May 2018, 08:38
- Forum: Ask for Help (v1)
- Topic: ImageSearch and errorlevel Topic is solved
- Replies: 7
- Views: 3594
Re: ImageSearch and errorlevel Topic is solved
Okay i've read this and am able to make sense of it, or believe i am, i had to change the code to a PixelGetColor since an image would be changing. I get the "else with no matching if" at line 19, or the else after "Msgbox, color not found". I'm not seeing a command or case inbetween similar to the ...
- 12 May 2018, 19:26
- Forum: Ask for Help (v1)
- Topic: ImageSearch and errorlevel Topic is solved
- Replies: 7
- Views: 3594
Re: ImageSearch and errorlevel Topic is solved
Thanks for the help!
I got the error with some of the code manipulations that a statement has "no matching if" and i'm not certain on what that means. Also, what would be the purpose of a return.
I'm a noob at coding!
I got the error with some of the code manipulations that a statement has "no matching if" and i'm not certain on what that means. Also, what would be the purpose of a return.
I'm a noob at coding!
- 12 May 2018, 18:39
- Forum: Ask for Help (v1)
- Topic: ImageSearch and errorlevel Topic is solved
- Replies: 7
- Views: 3594
ImageSearch and errorlevel Topic is solved
When I run this, autohotkey says "ELSE with no matching IF" and points to line 13. Tried chaning bits of code here and there, probably something simple im missing, but can't find it. Code: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnin...
- 29 Apr 2018, 13:16
- Forum: Ask for Help (v1)
- Topic: Add to a found value in imagesearch Topic is solved
- Replies: 6
- Views: 1223
Re: Add to a found value in imagesearch Topic is solved
I also created a much simpler version for anyone who finds this code useful. The way that is shown above for my purpose at least, is only if you're trying to be super exact and or want to share with someone else. It also helped me further my knowledge of AHK.
- 29 Apr 2018, 12:05
- Forum: Ask for Help (v1)
- Topic: Add to a found value in imagesearch Topic is solved
- Replies: 6
- Views: 1223
Re: Add to a found value in imagesearch Topic is solved
Okay, thanks again, and im still confused on the legacy and expression. From what im reading, does it just mean legacy is shorthand and expression is longer? Im clearly in a lack of experience as i havent seen or used these expressions before, but i can easily follow them enough to understand what i...
- 29 Apr 2018, 11:14
- Forum: Ask for Help (v1)
- Topic: Add to a found value in imagesearch Topic is solved
- Replies: 6
- Views: 1223
Re: Add to a found value in imagesearch Topic is solved
I tried messing around with the coordmode by changing it to pixel above the imagesearch and changing it to mouse in the else which seemed to have no effect. When i just say click %FoundX2%, %FoundY2% it clicks on that spot, however it needs to be moved more towards the middle. When i run it with a m...
- 29 Apr 2018, 10:57
- Forum: Ask for Help (v1)
- Topic: Add to a found value in imagesearch Topic is solved
- Replies: 6
- Views: 1223
Re: Add to a found value in imagesearch Topic is solved
thanks for helping,
what do you mean by traditional syntax and im not very good at coding so i have no clue what it means by "affects" on the coordmode command nor how to use it
what do you mean by traditional syntax and im not very good at coding so i have no clue what it means by "affects" on the coordmode command nor how to use it
- 29 Apr 2018, 10:11
- Forum: Ask for Help (v1)
- Topic: Add to a found value in imagesearch Topic is solved
- Replies: 6
- Views: 1223
Add to a found value in imagesearch Topic is solved
I want to click closer to the middle of the image, but when i use this code it clicks in the top left of my screen. When i enclose the FoundX2 and FoundY2 in %'s it clicks off the window and makes it slightly smaller Code: ImageSearch, FoundX2, FoundY2, 960, 580, 1360, 650, D:\Users\Devin\Desktop\Ma...