我正在使用Imagesearch.au3在outlook上搜索日曆圖片。以下是代碼。通過搜索日曆來點擊Outlook日曆圖片(_ImageSearch)
創建新文件夾 - > ImageSearch.au3,ImageSearchDLL.dll,和日曆的屏幕截圖被放置
#include <ImageSearch.au3>
$x=0
$y=0
start()
while 1
sleep(1000)
WEnd
Func Start()
while 1
$result = _ImageSearch("cal.png",1,$x,$y,0)
if $result=1 Then
ConsoleWrite("Sucesfull")
MouseMove($x,$y,10)
Else
ConsoleWrite("Img not found")
EndIf
WEnd
EndFunc
問題:拋出的錯誤消息 「C:\用戶... \ Desktop \ AutoIT \ New folder \ img \ ImageSearch.au3「(44):==>在不可訪問的變量上使用下標: if $ result [0] =」0「則返回0 如果$ result^ERROR
64位的圖片搜索測試PLZ幫我 – Maheshwari 2015-02-25 07:34:10