Hi ich habe mir auch die imagesearch demo angesehen werde aber nicht schlau^^.
Also ich habe diesen code:
habe das bild exit_default.png sichtbar aufm desktop. doch imemr kommt die meldung:
"You need to have the should have recycle bin, and preferably, an IE icon, a PDF icon and folder icon for the demo to go nicely. All of them should be visible on the desktop")
(ich habe ein anderes bild genommen als die die dort stehen dürft aber doch kein problem sein.)
Und wie kann ich es machen das wenn das bild exit_default.png wenn es das in einem spiel findet das er dann den script einfach stoppt?
Danke euch schonmal.
Also ich habe diesen code:
PHP Code:
#include <ImageSearch.au3>
;
; Demo on the functions of ImageSearch
; Assumes that you have a Recycle Bin icon at the top left of your screen
; Assumes that you have IE6 or 7 icon visible
; Please make the icon visible or we won't be able to find it
;
MsgBox(0,"MSG","You need to have the should have recycle bin, and preferably, an IE icon, a PDF icon and folder icon for the demo to go nicely. All of them should be visible on the desktop")
$x1=0
$y1=0
; find recycle bin and move to the center of it
$result = _ImageSearch("exit_default.png",0,$x1,$y1,0)
if $result=1 Then
MouseMove($x1,$y1,3)
MsgBox(1,"Found","Found a empty recycle bin here... cursor move to top left of image")
EndIf
"You need to have the should have recycle bin, and preferably, an IE icon, a PDF icon and folder icon for the demo to go nicely. All of them should be visible on the desktop")
(ich habe ein anderes bild genommen als die die dort stehen dürft aber doch kein problem sein.)
Und wie kann ich es machen das wenn das bild exit_default.png wenn es das in einem spiel findet das er dann den script einfach stoppt?
Danke euch schonmal.