Search found 21 matches

by JustUs3r
26 Dec 2018, 14:23
Forum: Ask For Help
Topic: Key don't work
Replies: 3
Views: 175

Re: Key don't work

It's Bizhawk.
by JustUs3r
26 Dec 2018, 13:40
Forum: Ask For Help
Topic: Key don't work
Replies: 3
Views: 175

Key don't work

Code: Select all

1::
sendinput,{F}
return
Code don't working when I'm in program. What should I do? I tried other commands like sendplay, send but I got no result. Also running script as a admin didn't help me.
by JustUs3r
14 Aug 2018, 07:50
Forum: Ask For Help
Topic: Rapid Fire on button?
Replies: 0
Views: 123

Rapid Fire on button?

How to do rapid fire on "J" button?

Code: Select all

j::
While GetKeyState("j", "P")
{
Send, {j down}
sleep, 10
Send, {j up}
return
}
Can someone help me to finish this script or rewrite?
by JustUs3r
29 Jul 2018, 16:01
Forum: Ask For Help
Topic: Click on the same pictures
Replies: 4
Views: 217

Re: Click on the same pictures

Guys, all is I want to do is click on buttons (which filled with blue color on the screenshot). All buttons should be pressed. !1:: loop, { ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, C:\Users\Артур\Desktop\Images\Untitled.bmp Mousemove, x, y, 50 Mouseclick, left, x, y } retur...
by JustUs3r
29 Jul 2018, 10:21
Forum: Ask For Help
Topic: Click on the same pictures
Replies: 4
Views: 217

Re: Click on the same pictures

Guys, all is I want to do is click on buttons (which filled with blue color on the screenshot). All buttons should be pressed. !1:: loop, { ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, C:\Users\Артур\Desktop\Images\Untitled.bmp Mousemove, x, y, 50 Mouseclick, left, x, y } retur...
by JustUs3r
27 Jul 2018, 05:40
Forum: Ask For Help
Topic: Click on the same pictures
Replies: 4
Views: 217

Re: Click on the same pictures

What's wrong with my code?
by JustUs3r
27 Jul 2018, 05:39
Forum: Ask For Help
Topic: Click on the same pictures
Replies: 4
Views: 217

Click on the same pictures

Guys, all is I want to do is click on buttons (which filled with blue color on the screenshot). All buttons should be pressed. !1:: loop, { ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, C:\Users\Артур\Desktop\Images\Untitled.bmp Mousemove, x, y, 50 Mouseclick, left, x, y } return...
by JustUs3r
10 Jul 2018, 05:24
Forum: Ask For Help
Topic: Move up mouse after every click? Topic is solved
Replies: 5
Views: 300

Re: Move up mouse after every click? Topic is solved

#SingleInstance, Force MsgBox, Running return *~LButton:: DllCall("mouse_event", uint, 1, int, 0, int, 100) ;x and y return Delete::ExitApp Thanks! But the cursor is moving from top to bottom. And how to make that the cursor moved every 100 pixels? UPD: Changed "int, 100" to "int, 20". But how to d...
by JustUs3r
07 Jul 2018, 11:26
Forum: Ask For Help
Topic: Move up mouse after every click? Topic is solved
Replies: 5
Views: 300

Re: Move up mouse after every click? Topic is solved

#SingleInstance, Force MsgBox, Running return *~LButton:: DllCall("mouse_event", uint, 1, int, 0, int, 100) ;x and y return Delete::ExitApp Thanks! But the cursor is moving from top to bottom. And how to make that the cursor moved every 100 pixels? UPD: Changed "int, 100" to "int, 20". But how to d...
by JustUs3r
07 Jul 2018, 06:57
Forum: Ask For Help
Topic: Move up mouse after every click? Topic is solved
Replies: 5
Views: 300

Move up mouse after every click? Topic is solved

I want to do that:
When I click, the cursor should change its position, for example, to top. (Sorry for my English)
by JustUs3r
24 Apr 2018, 15:11
Forum: Ask For Help
Topic: Find image and click
Replies: 15
Views: 628

Re: Find image and click

unmaintainable untestable undebuggable :thinking: have you replaced PictureX.jpg with, for example, the full path to your image file? barring that it could be due to any number of reasons, including but not limited to: your imagefile cant be located, your imagefile cant be opened, your imagefile do...
by JustUs3r
23 Apr 2018, 15:50
Forum: Ask For Help
Topic: Find image and click
Replies: 15
Views: 628

Re: Find image and click

here u have the super not recommended 1 minute copy-paste unmaintainable untestable undebuggable un-in-2days-from-now-recallable and un-in-the-not-so-distant-future-look-at-able version ; if 1st found, search 2nd and click it ; if 1st not found, search 3rd ; if 3rd found, search 4th and click it ; ...
by JustUs3r
23 Apr 2018, 13:17
Forum: Ask For Help
Topic: Find image and click
Replies: 15
Views: 628

Re: Find image and click

Maybe I should try this? 1:: loop, { ImageSearch, x, y, 0, 0, A_ScreenWidth, A_ScreenHeight, Picture1.jpg If errorlevel = 0 Imagesearch, x, y, 0, 0, A_ScreenWidth, A_ScreenHeight, Picture2.jpg click, %x%, %y% if errorlevel = 1 Imagesearch, x, y, 0, 0, A_ScreenWidth, A_ScreenHeight, Picture3.jpg If e...
by JustUs3r
23 Apr 2018, 07:27
Forum: Ask For Help
Topic: Find image and click
Replies: 15
Views: 628

Re: Find image and click

1:: ImageSearch, x, y, 0, 0, A_ScreenWidth, A_ScreenHeight, Picture1.jpg If errorlevel = 0 Imagesearch, x, y, 0, 0, A_ScreenWidth, A_ScreenHeight, Picture2.jpg click, %x%, %y% if errorlevel = 1 Imagesearch, x, y, 0, 0, A_ScreenWidth, A_ScreenHeight, Picture3.jpg If errorlevel = 0 Imagesearch, x, y, ...
by JustUs3r
23 Apr 2018, 07:22
Forum: Ask For Help
Topic: Find image and click
Replies: 15
Views: 628

Re: Find image and click

you need to perform 2 ImageSearches: one to figure out if Number1.jpg is visible on the screen and whether to proceed with the execution and a second one to find the location of Number2.jpg Yeah, if 1st picture and 2nd picture are found on the screen then click on 2nd. But if 1st picture is not fou...
by JustUs3r
22 Apr 2018, 14:47
Forum: Ask For Help
Topic: Find image and click
Replies: 15
Views: 628

Re: Find image and click

But I need if 1st picture exist on the screen then click on the 2nd picture. How to do it? 2nd picture can be at random position

It's like:
If 1st picture and 2nd found then click on 2nd.
by JustUs3r
22 Apr 2018, 14:15
Forum: Ask For Help
Topic: Find image and click
Replies: 15
Views: 628

Re: Find image and click

by JustUs3r
22 Apr 2018, 14:14
Forum: Ask For Help
Topic: Find image and click
Replies: 15
Views: 628

Re: Find image and click

ImageSearch, x, y, 0, 0, A_ScreenWidth, A_ScreenHeight, Number1.jpg \\ this can be in the same space as the script as Number1.jpg or it can be in a directory elsewhere E:\Pictures\Number1.jpeg MouseClick, left, %x%, %y% Take a full screenshot of that and open up paint or an editor of your choice an...
by JustUs3r
22 Apr 2018, 10:16
Forum: Ask For Help
Topic: Find image and click
Replies: 15
Views: 628

Re: Find image and click

Uh, forget about it. I need to find image with 1 and click on the 2. That's all.
by JustUs3r
22 Apr 2018, 10:11
Forum: Ask For Help
Topic: Find image and click
Replies: 15
Views: 628

Re: Find image and click

Also position of (2) may be changed at random position

Go to advanced search