syche Posted September 28, 2012 Share Posted September 28, 2012 (edited) Hi all,Maybe someone know how to find all images on screen and return their coords in script using _ImageSearch?Now i have this$result_biza = _ImageSearch("verh.bmp",1,$x1,$y1,100) if $result_biza=1 Then MouseMove($x1,$y1,3) MouseDown("left") sleep(100) MouseUP("left") Else MsgBox(0,"Not Found","Хъюстон - у нас проблема...нету бижи") EndIfOr I can realise it using another function?I have for example this image on my screenme need to find all images coords.....Sorry for my english Edited September 28, 2012 by syche Link to comment Share on other sites More sharing options...
FireFox Posted September 28, 2012 Share Posted September 28, 2012 (edited) Where does this image come from? What do you want to do with this? Br, FireFox. Edited September 28, 2012 by FireFox Link to comment Share on other sites More sharing options...
syche Posted September 28, 2012 Author Share Posted September 28, 2012 Screen come from game "Perfect World" Me need to scan all items in my inventory and find some addons. Items with addons i will keep in inventory, but others will sell. I realized it, but script find only first image and dont find others(( Link to comment Share on other sites More sharing options...
FireFox Posted September 28, 2012 Share Posted September 28, 2012 Please read the forum rules.No one will help you Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 28, 2012 Moderators Share Posted September 28, 2012 syche,FireFox is quite right - please read the Forum Rules - particularly the bit about not discussing game automation - before you post again. Thread locked. 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