Última actividad 1726724659

Malin's Avatar Malin revisó este gist 1726724659. Ir a la revisión

1 file changed, 33 insertions

rylsky.script(archivo creado)

@@ -0,0 +1,33 @@
1 + on 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
18 + end performClickSequence
19 +
20 + -- Main loop
21 + set clickCount to 0
22 + repeat 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
33 + end repeat
Siguiente Anterior