For 3Dim a,b,cb = 隨機數(3)'Select Case bCase 1:a=ReadUIConfig ("輸入框1", "內容")Case 2:a=ReadUIConfig ("輸入框2", "內容")Case 3:a=ReadUIConfig ("輸入框3", "內容")End SelectInputText aFunction 隨機數(最大隨機數)隨機數 = Int((最大隨機數 - 1 + 1) * Rnd() + 1)End FunctionDelay 1000Dim intX, intYFindPic 0, 0, 0, 0, "Attachment:zz.png", "000000", 2, 0.9, intX, intYIf intX > -1 And intY > -1 Then Tap intX,intYEnd Ifc = ReadUIConfig("輸入框4", "內容")Delay cNext循環三次,可是在Function 隨機數位置報錯了,說next必須放到function前面。
添加回答
舉報
0/150
提交
取消