Search found 60 matches

by SonGokuBg
06 Jul 2019, 13:02
Forum: Ask For Help
Topic: image
Replies: 19
Views: 1337

Re: image

help :cry: :cry:
by SonGokuBg
05 Jul 2019, 09:12
Forum: Ask For Help
Topic: image
Replies: 19
Views: 1337

Re: image

https://imgur.com/a/TW9Uiau That is the image I am trying
by SonGokuBg
04 Jul 2019, 09:12
Forum: Ask For Help
Topic: image
Replies: 19
Views: 1337

Re: image

I rarely use Imagesearch , but I know that a lossless format like bmp or png is usually better than lossy jpg. Also try to play around with the options, like: *n (variation): Specify for n a number between 0 and 255 (inclusive) to indicate the allowed number of shades of variation in either directi...
by SonGokuBg
03 Jul 2019, 17:23
Forum: Ask For Help
Topic: image
Replies: 19
Views: 1337

Re: image

It work when the image is only black screen
by SonGokuBg
03 Jul 2019, 12:56
Forum: Ask For Help
Topic: image
Replies: 19
Views: 1337

Re: image

p.s the image is black and white
by SonGokuBg
03 Jul 2019, 12:44
Forum: Ask For Help
Topic: image
Replies: 19
Views: 1337

Re: image

I rarely use Imagesearch , but I know that a lossless format like bmp or png is usually better than lossy jpg. Also try to play around with the options, like: *n (variation): Specify for n a number between 0 and 255 (inclusive) to indicate the allowed number of shades of variation in either directi...
by SonGokuBg
03 Jul 2019, 11:03
Forum: Ask For Help
Topic: image
Replies: 19
Views: 1337

Re: image

gregster wrote:
03 Jul 2019, 10:27
Which error? Is the path really correct?
/ is definitely wrong....
Ah, sorry made mistake while trying to fix the script. Now it doesn't give error but still do only 'if (ErrorLevel = 1)
MouseClick, Left, 1819, 837,''
by SonGokuBg
03 Jul 2019, 10:25
Forum: Ask For Help
Topic: image
Replies: 19
Views: 1337

Re: image

gregster wrote:
03 Jul 2019, 09:47
C:\Users\gogit\Desktop/AHKK.JPG
Wrong slash?! --> use \
If I use '\' instead of '/' ig give error
by SonGokuBg
03 Jul 2019, 09:26
Forum: Ask For Help
Topic: image
Replies: 19
Views: 1337

Re: image

This should do the job: CoordMode, Pixel, Screen CoordMode, Mouse, Screen SetWorkingDir %A_ScriptDir% ImageSearch, coordx, coordy, 0, 0, A_ScreenWidth, A_ScreenHeight, image.bmp if (ErrorLevel = 2) msgbox theres something wrong ; script is messed up if (ErrorLevel = 1) msgbox cant see it ; script i...
by SonGokuBg
03 Jul 2019, 07:44
Forum: Ask For Help
Topic: image
Replies: 19
Views: 1337

Re: image

not work with ''return''
by SonGokuBg
03 Jul 2019, 07:18
Forum: Ask For Help
Topic: image
Replies: 19
Views: 1337

Re: image

This should do the job: CoordMode, Pixel, Screen CoordMode, Mouse, Screen SetWorkingDir %A_ScriptDir% ImageSearch, coordx, coordy, 0, 0, A_ScreenWidth, A_ScreenHeight, image.bmp if (ErrorLevel = 2) msgbox theres something wrong ; script is messed up if (ErrorLevel = 1) msgbox cant see it ; script i...
by SonGokuBg
03 Jul 2019, 06:00
Forum: Ask For Help
Topic: image
Replies: 19
Views: 1337

image

Hello,
I am very beginner and can't find the answer in forum and guide.
How to make script to: if detect the chosen image on the screen to do X if not detect it to do Y?
Thanks!
by SonGokuBg
20 May 2019, 11:52
Forum: Ask For Help
Topic: launch
Replies: 18
Views: 1173

Re: launch

Why?? :headwall: :headwall: Perhaps something like this will get you started (assuming you have firefox installed). WinWait, ahk_exe firefox.exe,, 60 ; Wait for 60 seconds until firefox becomes active IfWinExist, ahk_exe firefox.exe { MsgBox, Firefox is active ! } else { run, firefox.exe,, Max WinA...
by SonGokuBg
20 May 2019, 11:00
Forum: Ask For Help
Topic: launch
Replies: 18
Views: 1173

Re: launch

Perhaps something like this will get you started (assuming you have firefox installed). WinWait, ahk_exe firefox.exe,, 60 ; Wait for 60 seconds until firefox becomes active IfWinExist, ahk_exe firefox.exe { MsgBox, Firefox is active ! } else { run, firefox.exe,, Max WinActivate } I use google chrom...
by SonGokuBg
20 May 2019, 09:56
Forum: Ask For Help
Topic: launch
Replies: 18
Views: 1173

Re: launch

Perhaps something like this will get you started (assuming you have firefox installed). WinWait, ahk_exe firefox.exe,, 60 ; Wait for 60 seconds until firefox becomes active IfWinExist, ahk_exe firefox.exe { MsgBox, Firefox is active ! } else { run, firefox.exe,, Max WinActivate } I use google chrom...
by SonGokuBg
20 May 2019, 09:02
Forum: Ask For Help
Topic: launch
Replies: 18
Views: 1173

Re: launch

[Codebox=text file=Untitled.txt#NoEnv Send, Enter Sleep, 3000 Send, (my password) Sleep, 100 Send, Enter Sleep 3000 MouseClick, left, 415, 1057 Sleep, 3000 MouseClick, left, 1902, 56 Sleep, 1000 MouseClick, left, 1885, 170 Sleep, 1000 MouseClick, left, 1600, 215 Sleep, 1500 Run, https://www.facebook...
by SonGokuBg
20 May 2019, 08:23
Forum: Ask For Help
Topic: launch
Replies: 18
Views: 1173

Re: launch

WalkerOfTheDay wrote:
20 May 2019, 08:15
Look, if you can't explain we cannot help...
I know
by SonGokuBg
20 May 2019, 08:00
Forum: Ask For Help
Topic: launch
Replies: 18
Views: 1173

Re: launch

StefOnSteroids wrote:
20 May 2019, 07:07
SonGokuBg wrote:
20 May 2019, 06:59
can't decribe it. open chrone and click on some pixels
Well, like I said, I'd make sure that Chrome is open and has the mouse focus, then start clicking,
Try to use https://autohotkey.com/docs/commands/WinWaitActive.htm before you start clicking.
no , you cant understood
by SonGokuBg
20 May 2019, 06:59
Forum: Ask For Help
Topic: launch
Replies: 18
Views: 1173

Re: launch

I can only speak for my machine: All kind of things fire up after booting, it would be hit or miss to start clicking right away, not making sure the clicks happen on the object I want to focus on BEFORE I start clicking. Your case may be different, ofc. But since your code doesn't work, it may help...
by SonGokuBg
20 May 2019, 06:38
Forum: Ask For Help
Topic: launch
Replies: 18
Views: 1173

Re: launch

StefOnSteroids wrote:
20 May 2019, 06:20
I don't think it's a good idea to just start clicking when your machine comes up.
First you want to make sure that the focus is on the right window.
What are you trying to accomplish with these mouse-clicks?
why not ?

Go to advanced search