| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Thu Nov 19, 2009 2:27 pm Post subject: can we compare images |
|
|
| can we compare two images and if the two images are same then only to proceed???? |
|
| Back to top |
|
 |
Carcophan
Joined: 24 Dec 2008 Posts: 768 Location: :noitacoL
|
|
| Back to top |
|
 |
doyle
Joined: 14 Nov 2007 Posts: 279 Location: London, England
|
Posted: Thu Nov 19, 2009 3:01 pm Post subject: |
|
|
I dont actually think thats very helpful. |
|
| Back to top |
|
 |
Carcophan
Joined: 24 Dec 2008 Posts: 768 Location: :noitacoL
|
Posted: Thu Nov 19, 2009 3:12 pm Post subject: |
|
|
| doyle wrote: |
I dont actually think thats very helpful. |
If/else information, image search info, how to make things variables...
Search for the image at a set location, IF the image is the same or different, THEN do something. How was this not helpful?
How was your answer helpful? _________________ "Unfortunately a "COM for Dummies" book would be a little like "Neurosurgery for Dummies," in the end you're just gonna have to learn" ~Tank |
|
| Back to top |
|
 |
Cyber
Joined: 10 Mar 2009 Posts: 82 Location: Nsw/Syd/Kiama
|
Posted: Thu Nov 19, 2009 3:16 pm Post subject: |
|
|
it is very helpfull..
read through it have a crack at it and post us what you ahve done so far. from there we can help you. were not going to throw out easy answers tho =)
imagesearch - obviously helpful
else command - if the two images arnt the same then do nothing
ifequal2 - then procead...
variables - picture 1 is variable one, and picture 2 is variable 2
if var1 is equal to var2 then procead.
al of those link are very helpful.
just do your best and report back=)
theres nothing more ahk likes to see then people giving there best shot.
~Cyber _________________ ---{+.-}--- |
|
| Back to top |
|
 |
Jasdeep
Joined: 09 Nov 2009 Posts: 178
|
|
| Back to top |
|
 |
hugov
Joined: 27 May 2007 Posts: 2181
|
Posted: Thu Nov 19, 2009 3:22 pm Post subject: |
|
|
I think the OP means if you have image1.gif and image2.gif how can you tell if they are the same? Of course you could have an application show image1.gif and then use imagesearch to see if you can find image2.gif but that is a bit of a kludge in that case.
If the OP means how he can find an image that is already on the screen and compare it to another the answer is helpful.
Edit: oh no not jasdeep again  _________________ Tut 4 Newbies
TF : Text file & string lib, TF Forum |
|
| Back to top |
|
 |
Jasdeep
Joined: 09 Nov 2009 Posts: 178
|
Posted: Thu Nov 19, 2009 3:24 pm Post subject: |
|
|
| brother i tried with imagesearch also but in this case it didnt worked |
|
| Back to top |
|
 |
|