So this morning I saw my sister play a game on her computer. I, kinda naively, told her i could automate the actions she did. The basic idea is that I want safari to click on 5 locations with some time interval. Here is what I wrote;
repeat 10 times
delay 2
tell application "System Events"
tell application process "Safari"
delay 2
click (click at {683, 378})
delay 2
click (click at {683, 378})
delay 2
click (click at {683, 378})
delay 2
click (click at {515, 489})
delay 2
click (click at {665, 417})
end tell
end tell
end repeat
however when I run it; I get no errors but nothing happens within safari.
Anyone can help me on this?
tnx
repeat 10 times
delay 2
tell application "System Events"
tell application process "Safari"
delay 2
click (click at {683, 378})
delay 2
click (click at {683, 378})
delay 2
click (click at {683, 378})
delay 2
click (click at {515, 489})
delay 2
click (click at {665, 417})
end tell
end tell
end repeat
however when I run it; I get no errors but nothing happens within safari.
Anyone can help me on this?
tnx