Search found 216 matches
- 19 Jun 2018, 15:03
- Forum: Gaming Help (v1)
- Topic: Question about alternate ways of coding. Topic is solved
- Replies: 18
- Views: 4255
Re: Question about alternate ways of coding. Topic is solved
Just commenting to say that What About Bob is a fantastic movie, and it makes me proud to see somebody making ~30 year old movie references.
- 19 Jun 2018, 14:47
- Forum: Ask for Help (v1)
- Topic: I need help fixing a script Topic is solved
- Replies: 2
- Views: 1095
Re: I need help fixing a script Topic is solved
Rottweiler's scripts will work, but you could also try this, and just toggle it on/off with the same key:
Code: Select all
#MaxThreadsPerHotkey, 3
F4::
Toggle := !Toggle
Loop
{
If (!Toggle)
Break
Send j
Sleep 20
}
Return
- 19 Jun 2018, 14:43
- Forum: Ask for Help (v1)
- Topic: script for scaning an image
- Replies: 9
- Views: 2578
Re: script for scaning an image
I almost always need to add a variation to the image search, so the image can be close, but not exactly identical, because some quality is lost when you take a screenshot. Try changing this line ImageSearch,Loc_X, Loc_Y,0,0, A_ScreenWidth, A_ScreenHeight, C:\Users\Peter\Desktop\Tools\Loots1.PNG To t...
- 19 Jun 2018, 14:39
- Forum: Ask for Help (v1)
- Topic: AUTO START AHK SCRIPTS Topic is solved
- Replies: 4
- Views: 1396
Re: AUTO START AHK SCRIPTS Topic is solved
Here's a script I use to automatically run AHK scripts when I need them, and automatically close them when I don't. #Persistent DetectHiddenWindows, On SetTitleMatchMode, 2 SetTimer, Monitor, 1000 Monitor: { ; Example, this will automatically run "Photoshop.ahk" when I open Photoshop. RunScript("ahk...
- 17 Aug 2017, 22:52
- Forum: Gaming Help (v1)
- Topic: goto command
- Replies: 1
- Views: 755
Re: goto command
^z::Goto, Main ?
- 12 Aug 2017, 17:07
- Forum: Ask for Help (v1)
- Topic: Window doesn't refocus after input box closes.
- Replies: 3
- Views: 1321
Re: Window doesn't refocus after input box closes.
I had this problem once, with a different game. I solved it by sending a mouse click to the window after the input box closes.
- 11 Aug 2017, 16:13
- Forum: Gaming Help (v1)
- Topic: Defaulting key when not in a game Topic is solved
- Replies: 1
- Views: 1006
Re: Defaulting key when not in a game Topic is solved
Couple things:
1. #IfWinActive
2. You don't even need the "else" section. You can remove it completely.
1. #IfWinActive
2. You don't even need the "else" section. You can remove it completely.
- 11 Aug 2017, 16:07
- Forum: Ask for Help (v1)
- Topic: how to record mouse movement, regardless of coordinates
- Replies: 3
- Views: 1425
Re: how to record mouse movement, regardless of coordinates
This might work. You can change the speed to make it slower or faster.
Code: Select all
#MaxThreadsPerHotkey, 2
Speed = 10
F12::
While (GetKeyState("F12", "p"))
{
MouseMove, 0, Speed, 0, R
}
Return
- 10 Aug 2017, 19:42
- Forum: Ask for Help (v1)
- Topic: how to record mouse movement, regardless of coordinates
- Replies: 3
- Views: 1425
Re: how to record mouse movement, regardless of coordinates
I don't understand the question. Can you rephrase or elaborate?
- 08 Aug 2017, 15:19
- Forum: Ask for Help (v1)
- Topic: How ImageSearch Works (Difference with PixelSearch?) Topic is solved
- Replies: 8
- Views: 3796
Re: How ImageSearch Works (Difference with PixelSearch?) Topic is solved
How does the sun set? How is a rainbow made? How does the positrac rear-end on a Plymouth work? It just does. The sun sets because the earch rotates. Rainbow is made because of light reflection. Positrac rear-end of a Plymouth will work as the engineer designed. Everything doesn't "just" happen. Al...
- 08 Aug 2017, 15:18
- Forum: Ask for Help (v1)
- Topic: Tricky Image Search with Partial Image Names?
- Replies: 5
- Views: 1695
Re: Tricky Image Search with Partial Image Names?
That's what PixelSearch is for.
- 07 Aug 2017, 22:41
- Forum: Ask for Help (v1)
- Topic: Help with a script
- Replies: 3
- Views: 1186
Re: Help with a script
You need ControlClick and ControlSend to send commands/clicks to a window in the background.
- 07 Aug 2017, 22:36
- Forum: Ask for Help (v1)
- Topic: How ImageSearch Works (Difference with PixelSearch?) Topic is solved
- Replies: 8
- Views: 3796
Re: How ImageSearch Works (Difference with PixelSearch?) Topic is solved
How does the sun set? How is a rainbow made? How does the positrac rear-end on a Plymouth work?
It just does.
It just does.
- 07 Aug 2017, 12:18
- Forum: Gaming Help (v1)
- Topic: How to implement OCR/captcha solver?
- Replies: 6
- Views: 4612
Re: How to implement OCR/captcha solver?
Probably not worth the effort, if it's even possible.
- 07 Aug 2017, 10:44
- Forum: Ask for Help (v1)
- Topic: Tricky Image Search with Partial Image Names?
- Replies: 5
- Views: 1695
Re: Tricky Image Search with Partial Image Names?
You can name your images something like Image1-Image10, and then do something like this so search for all of them:
Code: Select all
Loop 10
{
ImageSearch, x, y, 1, 1, 1920, 1080, *100 C:\AutoHotkey\Image%A_Index%.png
If (ErrorLevel == 0)
Break
}
- 07 Aug 2017, 10:37
- Forum: Ask for Help (v1)
- Topic: strg+c script Topic is solved
- Replies: 2
- Views: 961
Re: strg+c script Topic is solved
Not really sure what you mean. If you're talking about highlighted text, you can do it like this:
Code: Select all
Send ^c ; copy the text to clipboard
Variable = %clipboard% ; use the built-in "clipboard" variable
- 05 Aug 2017, 19:38
- Forum: Ask for Help (v1)
- Topic: Toggle Key Being Held Down
- Replies: 4
- Views: 9589
Re: Toggle Key Being Held Down
Maybe change it to LCtrl instead of Ctrl?
- 05 Aug 2017, 17:09
- Forum: Ask for Help (v1)
- Topic: Toggle Key Being Held Down
- Replies: 4
- Views: 9589
Re: Toggle Key Being Held Down
Hallo,
try:
try:
Code: Select all
PgUp::
Toggle := !Toggle
If (Toggle)
{
Send {Ctrl down}
} Else {
Send {Ctrl up}
}
Return
- 01 Aug 2017, 10:28
- Forum: Gaming Help (v1)
- Topic: How to script this Tekken commands?
- Replies: 4
- Views: 4353
Re: How to script this Tekken commands?
Hallo,
try:
try:
Code: Select all
$e::
Send {a down}{d down}
Sleep 50
Send {a up}
Return
e up::Send {d up}
- 01 Aug 2017, 07:08
- Forum: Gaming Help (v1)
- Topic: How to script this Tekken commands?
- Replies: 4
- Views: 4353
Re: How to script this Tekken commands?
Hallo,
try:
try:
Code: Select all
$e::
Send {a down}{d down}
Sleep 50
Send {a up}
KeyWait, e
Send {d up}
Return