Última atividade 1726724659

rylsky.script Bruto
1on performClickSequence()
2 tell application "Sidekick" to activate
3 delay 1
4
5 tell application "System Events"
6 tell process "Sidekick"
7 set frontmost to true
8
9 -- Perform clicks at the specified coordinates
10 do shell script "/usr/local/bin/cliclick c:979,457"
11 delay 0.9
12 do shell script "/usr/local/bin/cliclick c:966,481"
13 delay 2.3
14 do shell script "/usr/local/bin/cliclick c:1671,647"
15 delay 3.2
16 end tell
17 end tell
18end performClickSequence
19
20-- Main loop
21set clickCount to 0
22repeat 500 times
23 performClickSequence()
24 set clickCount to clickCount + 1
25
26 -- Optional: Uncomment the next line if you want to see the current iteration count
27 -- log "Completed iteration " & clickCount
28
29 -- Check if script should stop (you can modify this condition as needed)
30 if clickCount ≥ 500 then
31 exit repeat
32 end if
33end repeat