Jump to content

Recommended Posts

Posted (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","Хъюстон - у нас проблема...нету бижи")
      EndIf

Or I can realise it using another function?

I have for example this image on my screen

Posted Image

me need to find all images coords.....

Sorry for my english :rolleyes:

Edited by syche
Posted (edited)

Where does this image come from? What do you want to do with this?

Br, FireFox.

Edited by FireFox
Posted

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((

  • Moderators
Posted

syche,

FireFox is quite right - please read the Forum Rules - particularly the bit about not discussing game automation - before you post again. Thread locked. :naughty:

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

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...