Clicks ( as many as needed in 10 seconds)

Joined
Jul 11, 2010
Messages
1
Reaction score
0
hey, im sara,

im new to macs thanks to my brother :)

i got one cause im into photography and they work well.

ok, so i am on facebook and my friend has this thing called " Clickaholic "
I am trying to beat my brothers girlfriend who got 400 clicks in 10 seconds I know she cheater and i cant get more then 70 in 10 seconds.

this is what it records me doing. I cant figure out how to speed it up so if someone can help me / show me how.

ta


on run {input, parameters}
-- Click the “Clickaholic on Facebook” button.
delay 3.419836
set timeoutSeconds to 2.000000
set uiScript to "click UI Element \"Clickaholic on Facebook\" of group 4 of window \"Clickaholic on Facebook\" of application process \"Safari\""
my doWithTimeout( uiScript, timeoutSeconds )

-- Click the “Click” button.
delay 1.772636
set timeoutSeconds to 2.000000
set uiScript to "click UI Element \"Click\" of group 9 of UI Element 1 of scroll area 1 of group 3 of window \"Clickaholic on Facebook\" of application process \"Safari\""
my doWithTimeout( uiScript, timeoutSeconds )

-- Click the “Click” button.
delay 0.035514
set timeoutSeconds to 2.000000
set uiScript to "click UI Element \"Click\" of group 9 of UI Element 1 of scroll area 1 of group 3 of window \"Clickaholic on Facebook\" of application process \"Safari\""
my doWithTimeout( uiScript, timeoutSeconds )
return input
end run

on doWithTimeout(uiScript, timeoutSeconds)
set endDate to (current date) + timeoutSeconds
repeat
try
run script "tell application \"System Events\"
" & uiScript & "
end tell"
exit repeat
on error errorMessage
if ((current date) > endDate) then
error "Can not " & uiScript
end if
end try
end repeat
end doWithTimeout
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top