Hi, I want this applescript to launch World of Warcraft and keep it Selected while Pressing command and clicking at 527,301 letting go of command then pressing space then letting go of space. I want the bit in bold to repeat forever! Am I doing this correctly? Please point out any glaring errors as I am a applescript “noob”. Here’s the script…
tell application "World of Warcraft" to activate
tell application "System Events"
tell process "World of Warcraft"
repeat
tell application "World of Warcraft" to activate
key down command
delay 5
click at {527, 301}
delay 5
key up command
key down space
delay 120
key up space
end repeat
end tell
end tell
Thanks for looking this over I REALLY APPRECIATE IT! PLEASE point out any stupid errors TY :).