Jump to content

Alot of the same images , only 1 need to be clicked .


Recommended Posts

  • Moderators

We try not to be overly suspicious of folks, but after looking at your posted screenshot it dawned on me I have seen that exact same graphic for depicting books in a video game when using RPG Maker VX:

 

post-54985-0-22918100-1394473535_thumb.p

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

  • Moderators

As I said, not attempting to state it is one thing or another, just how it can be misconstrued. My attempt was to respond to your question in post #15 as to why you had been asked several times for clarification; you can see how not providing specific details can lead to misunderstanding.

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Is this a web page your dealing with? If yes, then run this in IE, and use the IE.au3 commands. You should be able to get a collection and get the names in that collection. That way you can take the collection and put it in an array, delete the dups and get what you need.

Link to comment
Share on other sites

One other thing - seeing also you did NOT give us a screen shot of the application as we asked but instead simply repeated the icon in a word doc, we are left to guess. We are at the point of really NOT knowing what you are working with. We know you want to look at picture. With WHAT we still do not know. Is it a web page? app? We still have no clue. So, you wonder why we haven't helped you?

 Go to the webpage or app and just screenshot the damn thing. At least TELL US THE NAME OF THE BLOODY APPLICATION.

Ths is getting annoying. Help us help you.

Edited by MBALZESHARI
Link to comment
Share on other sites

There is no MAIN app , it would be used for many tasks , from SPRITE DELETION from bmp pictures , after that even simple cleaning of bad coded spreadsheet in excel . I want it to be automated i dont need speed , and as i said I AM LEARNING autoit THATS WHY I AM LOOKING AT IMGSEARCH because its dont work for me . THERE IS NO MAIN APP , and the copied images into word are good example of tasks i want to run thanks to the script when it will run /// Thats why it needs to be imgsearch as it can be used not only for single aplication . 
As you can see in this word document i need it to look for duplicate , right click it , then click in popup window with left button destroy , then confirm with left button , and start from begining,  In the photoshop it will look for the duplciate sprites , right click it end delete it too . I dont need it for webbrowser 

Edited by Driveskull
Link to comment
Share on other sites

There is no MAIN app , it would be used for many tasks , from SPRITE DELETION from bmp pictures , after that even simple cleaning of bad coded spreadsheet in excel . I want it to be automated i dont need speed , and as i said I AM LEARNING autoit THATS WHY I AM LOOKING AT IMGSEARCH because its dont work for me . THERE IS NO MAIN APP , and the copied images into word are good example of tasks i want to run thanks to the script when it will run /// Thats why it needs to be imgsearch as it can be used not only for single aplication . 

As you can see in this word document i need it to look for duplicate , right click it , then click in popup window with left button destroy , then confirm with left button , and start from begining,  In the photoshop it will look for the duplciate sprites , right click it end delete it too . I dont need it for webbrowser 

Let me explain this to you so you get it:

Depending ON THE APPLICATION you are using to do what you need, the approach WILL BE DIFFERENT for each.

 Take AutoIt 1,2,3, look at the Wiki and Youtube and learn how to use AutoIt.  The reason nobody has helped you is your request is extremely vague and you basically want one small tool to be a complete solution. It doesn't work like that.

  In just about all instances YOU DO NOT WANT TO USE PIXELSEARCH. For example what I said if you are working with IE, use IE.au3. In Excel you can use the Excel commands. In Word you use the Word commands. In a application that has standard Microsoft Windows controls, you use the standard AutoIt commands to hook into the controls. If you are working with arrays, use the array tools. Again, it depends on the application you are working with. In many cases you work with controls or objects, not pixelsearch.

As a good rule to follow: Never use pixelsearch as the first approach. It is notoriously unstable and will frequently fail. Do everything you can to hook into the controls or the objects on the screen (yes pictures can be controls or objects) first. Only use pixelsearch if there is no other choice in solving the problem. Even then, try to avoid pixelsearch.

In your case you have other choices. LOTS of other choices. Again - for each task you have to do different things, not use the same piece of code to do it all.

Edited by MBALZESHARI
Link to comment
Share on other sites

Yes i understand all , that but for my needs i need only image search , everything is image related , everything is unrelated to the web browsing , 

For me its simpler to use snipping tool and get a 50x50 bmp/png for the script too look than wrote a very difficult and not easy for me script for every tool i use . 

The only problem is that the imagesearch script i posted above dont finish the task it only starts and is going from 1 duplicate image to another when it should only find first duplicate then right click it then click delete on popup then click yes on another popup. 

I know its possible because with help i wrote a script which first look for the main image ( non changeable without duplicates) and after that left click found image from database of 160* 

So the problem lies on : i dont know how to make a script use 2 folders for image detection , 2 . i dont know how to make first part of the code use all the images inside ( it only uses first one in the folder ) 3. I dont know how to write it so when duplicate image found then it would right click it . 

Link to comment
Share on other sites

Yes i understand all , that but for my needs i need only image search , everything is image related , everything is unrelated to the web browsing , 

For me its simpler to use snipping tool and get a 50x50 bmp/png for the script too look than wrote a very difficult and not easy for me script for every tool i use .

 

Let me explain this to you so you get it:

Depending ON THE APPLICATION you are using to do what you need, the approach WILL BE DIFFERENT for each.

.....

In your case you have other choices. LOTS of other choices. Again - for each task you have to do different things, not use the same piece of code to do it all.

 

Just because everything is image related it doesn't mean that imagesearch is the fastest/easiest/best way to do it, you have been posting in this topic for how long now? I'm sure if you used even half that time to work on what you called (a very difficult and not easy for me script) that script would've been done by now and ready to use, and how did you judge that it will be very difficult and not easy? try to do one, if you run into a problem or something you can't solve, simply ask in the forums, and I guarantee you'll get a lot more help than the help you are getting here because there you will be giving a specific application name, everyone can help you, but trying to do something "in general" won't get you any help from the forums, they don't just roll the dice and give you magical answers to work with everything, wish it was that simlple, but it isn't, so good luck.

Link to comment
Share on other sites

I asked and no one can solve why it dont do what i want , no one even said what is wrong with my code ... 
AND YES i am WORKING all the time , AND i am LEARNING, i can just abandon image search  ,if i do that i will not learn anything at all ... Want to do that in this aproach . still for time being i didnt get any good or helpfull answer 

From what i know imagesearch doesnt not require specific functions for famous apps , its just pixel detection so it works everywhere . And for my problem , as i said i dont have specific app . 

Edited by Driveskull
Link to comment
Share on other sites

Whats wrong with your code: you can't have a simple tool to do what you want.

Solution - do what we told you.

We have told you what to do and you refuse to do what we tell you for you keep insisting on a type of solution that is the WORST way to do it and in fact in the long run will not work..

You are new to this. Some of us have been he going on a decade.

Link to comment
Share on other sites

  • Moderators

Driveskull,

 

And for my problem , as i said i dont have specific app

Well, when you do - and there is a specific problem to solve - feel free to open a new thread and ask about it. But until then this has gone on long enough. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...