Cok3 Posted April 1, 2015 Share Posted April 1, 2015 (edited) As the title says I'm wondering if it is possible to let autoit search for 10 pictures at the same time or let is look for 0 then for 1 then for 2 then for 3 and so on. Important is that once it find 3 for example it stops looking for 4 5 6 7 8 and 9 AND THEN writes the number of the picture down somewhere. Then let it check again and write a 2nd diggit and then check again for a 3rd diggit so that in the end the script has a 3diggit number that it can work with. I cant find any tutorials of such processes :/ Is that possible? and how could such a script look like? Edited April 1, 2015 by Cok3 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 1, 2015 Moderators Share Posted April 1, 2015 Can you please be a bit more descriptive? 10 pictures in what? What application are you trying to manipulate? Or are you talking about searching through actual picture files (.bmp, .jpg, etc.)? A screenshot would help immensely. "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 More sharing options...
ViciousXUSMC Posted April 1, 2015 Share Posted April 1, 2015 Something like a Switch/Case in a loop with conditionals determining if the case is met. https://www.autoitscript.com/autoit3/docs/keywords/Switch.htm Assuming you're searching for image samples on screen. Cok3 1 Link to comment Share on other sites More sharing options...
Cok3 Posted April 1, 2015 Author Share Posted April 1, 2015 Can you please be a bit more descriptive? 10 pictures in what? What application are you trying to manipulate? Or are you talking about searching through actual picture files (.bmp, .jpg, etc.)? A screenshot would help immensely. I want autoit to search for numbers in a picture full of 3 diggit numbers listed under each other via .bmp files. The normal imagesearch is working in that picture but i need autoit to check: 0.bmp? if 1 = write down 1 in a message box if = 0 move over to: --> --> 1.bmp? and so on till it checked all 9 pictures. It can only be one of these 10 pictures. So IF for example 6 is the number on that picture, it shall write down 6 and end the whole process to move on to the 2nd number and do the same untill i have all 3 numbers next to each other as 1 three diggit number. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 2, 2015 Moderators Share Posted April 2, 2015 Cok3,I want autoit to search for numbers in a picture full of 3 diggit numbers listed under each otherCan we please see a screenshot so we know exactly how these "numbers" are presented - that will help us enormously. M23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Cok3 Posted April 2, 2015 Author Share Posted April 2, 2015 (edited) Edited April 2, 2015 by Cok3 Link to comment Share on other sites More sharing options...
Bert Posted April 2, 2015 Share Posted April 2, 2015 web based app? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Gianni Posted April 2, 2015 Share Posted April 2, 2015 have a look >here, maybe it can be of use for your goal Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
Cok3 Posted April 2, 2015 Author Share Posted April 2, 2015 web based app? actually its just a selfmade picture Link to comment Share on other sites More sharing options...
Cok3 Posted April 2, 2015 Author Share Posted April 2, 2015 Maybe if I put it that way: I'd like autoit to check which of these 10 pictures (pictures of the numbers 0-9) is the first digit of -example: 332. In this case it'd be the 3, so the script notes -->3 then repeat the process for the 2nd digit. In this case another 3, so note -->3 and then the 3rd digit -->2 in the end it'll copy 332 and work with it. I hope this is easier to understand :/ Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 3, 2015 Moderators Share Posted April 3, 2015 Cok3,actually its just a selfmade pictureAnd therefore useless for the intended purpose - so why bother posting it? If you want help let us see a real screenshot - or else we might as well all stop wasting our time. M23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Cok3 Posted April 3, 2015 Author Share Posted April 3, 2015 (edited) Cok3, And therefore useless for the intended purpose - so why bother posting it? If you want help let us see a real screenshot - or else we might as well all stop wasting our time. M23 There is no "original screenshot". One doesn't have to create a script for a certain use other than just testing and seeing how it works to maybe one day use this one in others. It is just this picture and the question I asked. Edited April 3, 2015 by Cok3 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 3, 2015 Moderators Share Posted April 3, 2015 Cok3,Fine. But do not expect much help for such a "what-if" case - there are enough real problems which need support. M23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now