Image Search and if found send key if not, continuous searching until find
Image Search and if found send key if not, continuous searching until find
i want a script to send the key (E) after this will search a image on the screen until find, if don't find continuous searching until find and when find, send E again. Someone can help please?
Re: Image Search and if found send key if not, continuous searching until find
Hello!
I think you may be capable to do that by your own.
You'll need this command: Send
... and this: ImageSearch.
Here you may find a lot of topics related to ImageSearch implementation: https://www.google.com/search?q=ImageSearch+site%3AAutoHotkey.com
I think you may be capable to do that by your own.
You'll need this command: Send
... and this: ImageSearch.
Here you may find a lot of topics related to ImageSearch implementation: https://www.google.com/search?q=ImageSearch+site%3AAutoHotkey.com
Have found any drawback in my code or approach? Please, point it out. /The moderator ordered to remove the rest of the signature, I had obeyed.
And I really apologize for our russian president. Being a citizen of an aggressor country is very shameful. Personally I tried to avoid this trying to defend elections from fraud being a member of the election commission of one of the precincts but only was subjected to a hooligan attack and right before the vote count was illegally escorted from the polling station and spent the night behind bars (in jail) in a result of illegal actions of corrupt policemen.
And I really apologize for our russian president. Being a citizen of an aggressor country is very shameful. Personally I tried to avoid this trying to defend elections from fraud being a member of the election commission of one of the precincts but only was subjected to a hooligan attack and right before the vote count was illegally escorted from the polling station and spent the night behind bars (in jail) in a result of illegal actions of corrupt policemen.
Re: Image Search and if found send key if not, continuous searching until find
i tried to did some like this
[Mod edit: [code][/code] tags added.]
but isnt work
i want to still looking for the imagem until find
Code: Select all
Send, e
sleep 1000
ImageSearch, FoundX, FoundY, 0, 0, %1600%, %900%, *20 C:\autohotk\a.bmp
if !ErrorLevel
{
Send, e
}
Sleep 100
Esc::ExitApp
but isnt work
i want to still looking for the imagem until find
Last edited by Lucaojj on 24 Feb 2022, 14:28, edited 1 time in total.
Re: Image Search and if found send key if not, continuous searching until find
Try to run this. What do you see?
Code: Select all
MsgBox, %1600%
Have found any drawback in my code or approach? Please, point it out. /The moderator ordered to remove the rest of the signature, I had obeyed.
And I really apologize for our russian president. Being a citizen of an aggressor country is very shameful. Personally I tried to avoid this trying to defend elections from fraud being a member of the election commission of one of the precincts but only was subjected to a hooligan attack and right before the vote count was illegally escorted from the polling station and spent the night behind bars (in jail) in a result of illegal actions of corrupt policemen.
And I really apologize for our russian president. Being a citizen of an aggressor country is very shameful. Personally I tried to avoid this trying to defend elections from fraud being a member of the election commission of one of the precincts but only was subjected to a hooligan attack and right before the vote count was illegally escorted from the polling station and spent the night behind bars (in jail) in a result of illegal actions of corrupt policemen.
Re: Image Search and if found send key if not, continuous searching until find
Once you solve this issue, take a look at this command: Loop.
Have found any drawback in my code or approach? Please, point it out. /The moderator ordered to remove the rest of the signature, I had obeyed.
And I really apologize for our russian president. Being a citizen of an aggressor country is very shameful. Personally I tried to avoid this trying to defend elections from fraud being a member of the election commission of one of the precincts but only was subjected to a hooligan attack and right before the vote count was illegally escorted from the polling station and spent the night behind bars (in jail) in a result of illegal actions of corrupt policemen.
And I really apologize for our russian president. Being a citizen of an aggressor country is very shameful. Personally I tried to avoid this trying to defend elections from fraud being a member of the election commission of one of the precincts but only was subjected to a hooligan attack and right before the vote count was illegally escorted from the polling station and spent the night behind bars (in jail) in a result of illegal actions of corrupt policemen.
Who is online
Users browsing this forum: shipaddicted and 61 guests