05-14-2012, 10:52 AM
Hi everyone.
In the past days I was looking desperately for scripts/bots that automate the process of gaining credits at social-exchange sites like YouLikeHits or Addmefast. As most of you know, some scripts are also on BBHF. The problem which appears is that as soon as they are published, the owner of such a social-exchange site modifies his site a little and your scripts stop working. Personally, I have learned Python for 1 and 1/2 years, but I am a lazy person.
After doing some research, I found a decent way to create a script that will always work. What I am talking about is Project Sikuli.
What's SIKULI?
Sikuli is a visual technology to automate and test graphical user interfaces (GUI) using images (screenshots). Sikuli includes Sikuli Script, a visual scripting API for Jython, and Sikuli IDE, an integrated development environment for writing visual scripts with screenshots easily. Sikuli Script automates anything you see on the screen without internal API's support. You can programmatically control a web page, a Windows/Linux/Mac OS X desktop application, or even an iphone or android application running in a simulator or via VNC.
So basically, Sikuli Scripting is a scripting language for beginners on the basis of both Java and Python. The software makes it very easy to automate processes on a website. Let me show you YouLikeHits as an example:
Step 1:
Download SIKULI and install it(
). After installation, open the Sikuli IDE.
Step 2:
Open your browser, navigate to Youlikehits, click on Facebook Likes and click on the first green "Like" button.
Step 3:
Switch to the IDE. What we need to do is use the click(), sleep() and exists() function. Don't worry, even if you have no idea how to code, this will be very easy. The big advantage that comes with SIKULI(and the reason why it's for beginners) is that inside the brackets, where normally you'd have to specify the button(for example the "Like" button), you can simply put a screenshot of the button. SIKULI will now search the button in the webpage and execute your command.
So the first thing we want SIKULI to do is to click the Like button. Click on Name: 1.PNG Views: 80 Size: 1.0 KB on the left-side of SIKULI IDE. Directly after doing this, you'll have a small box on your screen which allows you to select a small frame. Obviously, you select the Facebook-Like-Box.
If you now run the Script, it will search for the picture of the Like-Box in your currently opened window and will click it.
If you have understood what the whole thing is about, you'll probably now what the next steps are. All you need to do is doing the same thing for the "Confirm Like and Get Points" button.
NOTE: This software will only work if you have the YOULIKEHITS window in the foreground, you cannot do anything else while this script works, so just let it run over night.
Step 4:
Modify your script to avoid errors. Most of the commands that you can use in Python are also available in SIKULI. Also, the syntax is very similar.
Below is a slightly better version that will avoid at least one error. Be creative and improve your scripts and share them in this thread.
That is how my script looks so far:
What you see here is that I have used a simple loop(loops 10 times), an if-clause and a 5-second-sleep(this is important!!). So if the owner of such a site now decides to modify his site, you only change some screenshots in your script and everything will work fine.
Download:
In the past days I was looking desperately for scripts/bots that automate the process of gaining credits at social-exchange sites like YouLikeHits or Addmefast. As most of you know, some scripts are also on BBHF. The problem which appears is that as soon as they are published, the owner of such a social-exchange site modifies his site a little and your scripts stop working. Personally, I have learned Python for 1 and 1/2 years, but I am a lazy person.
After doing some research, I found a decent way to create a script that will always work. What I am talking about is Project Sikuli.
What's SIKULI?
Sikuli is a visual technology to automate and test graphical user interfaces (GUI) using images (screenshots). Sikuli includes Sikuli Script, a visual scripting API for Jython, and Sikuli IDE, an integrated development environment for writing visual scripts with screenshots easily. Sikuli Script automates anything you see on the screen without internal API's support. You can programmatically control a web page, a Windows/Linux/Mac OS X desktop application, or even an iphone or android application running in a simulator or via VNC.
So basically, Sikuli Scripting is a scripting language for beginners on the basis of both Java and Python. The software makes it very easy to automate processes on a website. Let me show you YouLikeHits as an example:
Step 1:
Download SIKULI and install it(
Code:
http://sikuli.org/
Step 2:
Open your browser, navigate to Youlikehits, click on Facebook Likes and click on the first green "Like" button.
Step 3:
Switch to the IDE. What we need to do is use the click(), sleep() and exists() function. Don't worry, even if you have no idea how to code, this will be very easy. The big advantage that comes with SIKULI(and the reason why it's for beginners) is that inside the brackets, where normally you'd have to specify the button(for example the "Like" button), you can simply put a screenshot of the button. SIKULI will now search the button in the webpage and execute your command.
So the first thing we want SIKULI to do is to click the Like button. Click on Name: 1.PNG Views: 80 Size: 1.0 KB on the left-side of SIKULI IDE. Directly after doing this, you'll have a small box on your screen which allows you to select a small frame. Obviously, you select the Facebook-Like-Box.
If you now run the Script, it will search for the picture of the Like-Box in your currently opened window and will click it.
If you have understood what the whole thing is about, you'll probably now what the next steps are. All you need to do is doing the same thing for the "Confirm Like and Get Points" button.
NOTE: This software will only work if you have the YOULIKEHITS window in the foreground, you cannot do anything else while this script works, so just let it run over night.
Step 4:
Modify your script to avoid errors. Most of the commands that you can use in Python are also available in SIKULI. Also, the syntax is very similar.
Below is a slightly better version that will avoid at least one error. Be creative and improve your scripts and share them in this thread.
That is how my script looks so far:
Code:
http://i.imgur.com/Bpt3G.jpg
What you see here is that I have used a simple loop(loops 10 times), an if-clause and a 5-second-sleep(this is important!!). So if the owner of such a site now decides to modify his site, you only change some screenshots in your script and everything will work fine.
Download:
Magic Button :
Code:
http://www.mediafire.com/?g8wcaause1ibhas