Copyable Example Code
You can paste this into the code editor; still verify target image, region, color, text, and timing values in your own device flow.
-- Belirli alanda metne tikla / Click text in region
-- Parametreler: aranan metin, alan koordinatlari
local aramaMetni = "Baslat"
local x, y, w, h = 0, 800, 1080, 400
Snap.screenRefresh()
local region = Region(x, y, w, h)
local param = FindParam.timeout(3000)
local result = region:clickText(aramaMetni, param)
if result then
toast("'" .. aramaMetni .. "' tiklandi")
wait(300)
else
toast("Metin bulunamadi: " .. aramaMetni)
end