- Joined
- Jan 27, 2011
- Messages
- 2
- Reaction score
- 0
- Points
- 1
Hello.
I am new to these forums so excuse me for any problems.
I am trying to learn AppleScript a little bit, so I figured I'd start by working on something that would help me with my gaming. I am running this game on Safari/Firefox if it matters.
I kind of want something that will click randomly between 1.00000 and 3.00000 seconds (including the decimals).
I will update you as I figure parts out.
Thanks
This should help me learn a bit about AppleScript =)
My Current Code:
I am new to these forums so excuse me for any problems.
I am trying to learn AppleScript a little bit, so I figured I'd start by working on something that would help me with my gaming. I am running this game on Safari/Firefox if it matters.
I kind of want something that will click randomly between 1.00000 and 3.00000 seconds (including the decimals).
I will update you as I figure parts out.
Thanks
This should help me learn a bit about AppleScript =)
My Current Code:
Code:
tell application "Safari" to activate
repeat 2000 times
set a to random number from 1.0 to 3.0
delay a
tell application "System Events"
tell process "Safari"
click at {1000, 300}
end tell
end tell
end repeat