|
Post by whatever on May 16, 2019 1:00:03 GMT
I tried to check what's the current screen that I'm in by those scripts:
1/
snapshot() if (exists("1.png")) then return true end usePreviousSnap(false) 2/
if (Region(100,200,300,400):exists("1.png")) then return true end
I thought that #2 should faster than #1 because it checked for smaller region instead of fullscreen but actually it's very slow. Can anyone suggest what's the best way here?
|
|
|
Post by AnkuLua on May 16, 2019 6:13:25 GMT
For both, you should assign how long to check. For example, just check for one time. exists ("1.png", 0) Or Region (100,200,300,400):exists ("1.png", 0)
|
|
|
Post by whatever on May 16, 2019 7:10:40 GMT
Thank master!
|
|