2016-09-28 56 views
2

有沒有嘗試另一種,趕上在AutoIt的???

我搜索上的AutoIt的幫助文件,但遺憾的wasnt喜歡嘗試和Catch試試並在autoit中找到替代方案?

我想知道是否有某種similiar事情,試圖抓住任何東西! 謝謝並有偉大的一天 :)

回答

3

就我而言,在AutoIt中不存在try-catch-construct。你必須使用@error語句來達到類似的效果。

call your function here 
If @error Then 
do your error stuff 
else 
do your program stuff 
Endif 
+0

非常感謝你!!!! – Jaxtoru

+1

歡迎您:) – jboockmann