|
AnkuLua 發表於 Dec 18, 2018 9:42:58 GMT
請將瀏海移到右邊
|
|
coco
New Member
Posts: 4
|
coco 發表於 Dec 24, 2018 9:40:31 GMT
請問要怎麼設置[找到A時,按住B,3秒]?或是[找到A時,按住A,3秒],大約兩分鐘才會需要點擊。 我用[找到A時,按住A,3秒],過了一段時間後,會發生錯誤視窗。 從需要點擊的時間開啟"回放"功能,成功一次後,還未到需要第二次點擊的時間就跑出錯誤視窗。 touchList[index] = {target = "1.png", region = Region(187, 1241, 150, 150), id = "1", action = 'longClick("1.png", 3)'} index = index + 1
|
|
|
AnkuLua 發表於 Dec 24, 2018 10:25:33 GMT
是不是 1.png 會動位置 如果不會請用 touchList[index] = {target = "1.png", region = Region(187, 1241, 150, 150), id = "1", action = 'longClick(matchResult, 3)'}
如果會,請用 touchList[index] = {target = "1.png", region = Region(187, 1241, 150, 150), id = "1", action = 'if (exists("1.png")) then longClick(getLastMatch(), 3) end'}
|
|
coco
New Member
Posts: 4
|
coco 發表於 Dec 24, 2018 13:23:30 GMT
謝謝版主!按壓的沒問題了!
第一步,過一段時間後發現A後點擊,一秒左右以後再點擊一次,循環三次 第二步,過一段時間後發現B按壓四秒
第一步用snapAndPlay.v2.7.0點擊不到第二次,遊戲評語是BAD 看別人的留言版主回答[點一下幾秒後再點一下]要用recordAndPlay,可是用recordAndPlay就沒辦法第二步驟了 把recordAndPlay做出來的參數丟到snapAndPlay做出來的參數裡面,會出現錯誤
------ 1 ----- touchList[index] = {target = "2.png", region = Region(541, 1294, 150, 150), id = "2", action = 'click'}
waitList[index] = 1.000000
touchList[index] = {"click", Location(554, 964)}
index = index + 1
------ 2 ----- touchList[index] = {target = "1.png", region = Region(187, 1241, 150, 150), id = "1", action = 'longClick(matchResult, 4)'}
index = index + 1
|
|
|
AnkuLua 發表於 Dec 24, 2018 13:48:50 GMT
謝謝版主!按壓的沒問題了! 第一步,過一段時間後發現A後點擊,一秒左右以後再點擊一次,循環三次 第二步,過一段時間後發現B按壓四秒 第一步用snapAndPlay.v2.7.0點擊不到第二次,遊戲評語是BAD 看別人的留言版主回答[點一下幾秒後再點一下]要用recordAndPlay,可是用recordAndPlay就沒辦法第二步驟了 把recordAndPlay做出來的參數丟到snapAndPlay做出來的參數裡面,會出現錯誤 ------ 1 ----- touchList[index] = {target = "2.png", region = Region(541, 1294, 150, 150), id = "2", action = 'for i = 1, 3 do click(matchResult); wait(1) end'} waitList[index] = 1.000000 touchList[index] = {"click", Location(554, 964)} index = index + 1 ------ 2 ----- touchList[index] = {target = "1.png", region = Region(187, 1241, 150, 150), id = "1", action = 'longClick(matchResult, 4)'} index = index + 1 請勿將recordAndPlay做出來的參數丟到snapAndPlay做出來的參數裡面 您要的可能是 ------ 1 ----- touchList[index] = {target = "2.png", region = Region(541, 1294, 150, 150), id = "2", action = 'click'} index = index + 1
------ 2 ----- touchList[index] = {target = "1.png", region = Region(187, 1241, 150, 150), id = "1", action = 'longClick(matchResult, 4)'} index = index + 1
|
|
coco
New Member
Posts: 4
|
coco 發表於 Dec 24, 2018 14:25:09 GMT
------ 1 ----- touchList[index] = {target = "2.png", region = Region(541, 1294, 150, 150), id = "2", action = 'click'} index = index + 1
<請問有辦法在這邊再點擊一次嗎?一秒左右>
------ 2 ----- touchList[index] = {target = "1.png", region = Region(187, 1241, 150, 150), id = "1", action = 'longClick(matchResult, 4)'} index = index + 1
==========================================================================================================================================
因為下面的參數會點不到------ 2 -----
------ 1 -----這邊搜圖點擊 touchList[index] = {target = "2.png", region = Region(541, 1294, 150, 150), id = "2", action = 'click'} index = index + 1
------ 2 -----按完1後會立刻出現一個時間條,兩秒內要點擊,一秒左右完美 touchList[index] = {target = "2.png", region = Region(541, 1294, 150, 150), id = "2", action = 'click'} index = index + 1
------ 3 -----這邊搜圖按壓 touchList[index] = {target = "1.png", region = Region(187, 1241, 150, 150), id = "1", action = 'longClick(matchResult, 4)'} index = index + 1
|
|
|
AnkuLua 發表於 Dec 24, 2018 15:13:36 GMT
------ 1 ----- touchList[index] = {target = "2.png", region = Region(541, 1294, 150, 150), id = "2", action = 'click'} index = index + 1 <請問有辦法在這邊再點擊一次嗎?一秒左右> ------ 2 ----- touchList[index] = {target = "1.png", region = Region(187, 1241, 150, 150), id = "1", action = 'longClick(matchResult, 4)'} index = index + 1 ========================================================================================================================================== 因為下面的參數會點不到------ 2 ----- ------ 1 -----這邊搜圖點擊 touchList[index] = {target = "2.png", region = Region(541, 1294, 150, 150), id = "2", action = 'click'} index = index + 1 ------ 2 -----按完1後會立刻出現一個時間條,兩秒內要點擊,一秒左右完美 touchList[index] = {target = "2.png", region = Region(541, 1294, 150, 150), id = "2", action = 'click'} index = index + 1 ------ 3 -----這邊搜圖按壓 touchList[index] = {target = "1.png", region = Region(187, 1241, 150, 150), id = "1", action = 'longClick(matchResult, 4)'} index = index + 1 試試看 ------ 1 ----- touchList[index] = {target = "2.png", region = Region(541, 1294, 150, 150), id = "2", action = 'for i = 1, 3 do click(matchResult); wait(1) end'} -- 調整 for i = 1, 3 裡的3看要點擊幾次,調整wait(1) 裡的1看要等多久點擊下一次 index = index + 1
------ 2 ----- touchList[index] = {target = "1.png", region = Region(187, 1241, 150, 150), id = "1", action = 'longClick(matchResult, 4)'} index = index + 1
|
|
coco
New Member
Posts: 4
|
coco 發表於 Dec 24, 2018 17:18:24 GMT
可以了,真是太謝謝版主了~!!
時間條需要點下去的時機是亂數阿,偶爾才能完美,通常是MISS或GOOD,這應該沒辦法次次完美了。
|
|
|
erlane 發表於 Dec 30, 2018 10:20:22 GMT
|
|
|
AnkuLua 發表於 Dec 30, 2018 12:14:36 GMT
|
|
|
erlane 發表於 Dec 30, 2018 13:10:00 GMT
問題已解決,謝謝版主!!
|
|
|
erlane 發表於 Jan 2, 2019 10:35:52 GMT
|
|
|
AnkuLua 發表於 Jan 2, 2019 11:52:09 GMT
android 7.0以上 的無障礙設定也可以 但模擬器無法用 不支援拖放
|
|
|
erlane 發表於 Jan 2, 2019 13:57:42 GMT
感謝版主解惑!
|
|
|
xxklxx 發表於 Jan 5, 2019 20:41:32 GMT
你好請問snapandplay可以應用swipe的功能嗎 我要執行的是怪物彈珠, 我前面5動都是簡單點選click都ok,但進入遊戲後,要隨意滑動畫面,下了下方指令 也有抓到6.png,但就是沒有滑動,還是有其他指令建議方式? touchList[index] = {target = "6.png", region = Region(800, 1630, 200, 200), id = "6", action = swipe(Location(449, 347), Location(1061, 969))} index = index + 1
|
|