This is a simple python script that controls the mouse to add loads of friends on facebook.
[code]
import os, time
def click(x, y):
os.system("xdotool mousemove " + str(x) + " " + str(y))
os.system("xdotool click 1")
x=908
s=0.67
p=0
while 1:
p=p+1
os.system("clear")
if p==30:
p=0
print "sleeping"
time.sleep(5)
click(x, 281)#
time.sleep(s)
click(x, 303)#
time.sleep(s)
click(x, 345)##
time.sleep(s)
click(x, 367)##
time.sleep(s)
click(x, 418)###
time.sleep(s)
click(x, 434)###
time.sleep(s)
click(x, 484)####
time.sleep(s)
click(x, 502)####
time.sleep(s)
click(x, 547)#####
time.sleep(s)
click(x, 569)#####
time.sleep(s)
[/code]
Where it says click(, XXX) you must change this to the position of the "Add friend" button on facebook (see the image)
download
No comments:
Post a Comment