[HOW-TO] Create always-working scripts for YouLikeHits/Addmefast and similar

Hey OP. Im playing with sikuli quick question tho.. in the example you gave, how would you make that loop 5 times then click another image, wait 5 and start the script all over again?

I am not sure whether I understood you correctly, but I guess what you need is two loops.

Just like this:
Code:
for i in range(10):
          for x in range(5):
                    click(abc)
          click(xyz)
 
It doesn't work for me, it closing when I try to capture the picture. I'm on windows xp.
 
It doesn't work for me, it closing when I try to capture the picture. I'm on windows xp.

Well it's supposed to close. Just try making a box with the mouse when you try to capture the picture. It's similar to how you do it on your Windows Desktop.

Cheers
 
Well it's supposed to close. Just try making a box with the mouse when you try to capture the picture. It's similar to how you do it on your Windows Desktop.

Cheers
You didn't get it. Application is closing, not a window.
 
You didn't get it. Application is closing, not a window.

You're talking about Sikuli IDE right? If so, it's correct.
If you're talking bout anything else closing, I'd recommend to get some help at Sikuli Forums/Community, I can't solve technical problems like these as I am not the creator of that software.
 
With youlikehits and addmefast stopping fb likes i have a feeling claimfans is going to get real big then eventually shutdown fb likes too lol.. either way i just made a working sikuli script for claimfans (special thanks to OP for introducing me to Sikuli). I never uploaded anything so I got no clue on how to do the whole virus total thing but if someones interested, let me know and maybe a tip on how to quickly do virus total, and ill post it up!
 
With youlikehits and addmefast stopping fb likes i have a feeling claimfans is going to get real big then eventually shutdown fb likes too lol.. either way i just made a working sikuli script for claimfans (special thanks to OP for introducing me to Sikuli). I never uploaded anything so I got no clue on how to do the whole virus total thing but if someones interested, let me know and maybe a tip on how to quickly do virus total, and ill post it up!

Save the sikuli project, zip it and post it here. Upload the .py file to virustotal.com and post the results here:)

Madmx
 
I don't know about you, but it took me all of 25 minutes to create my first imacros script for youlikehits, then another 2 hours to modify it for all aspects of the site. I can create infinite points now.
Dunno why you would want to over complicate things with such a project when a simple solution is readily available.
 
I don't know about you, but it took me all of 25 minutes to create my first imacros script for youlikehits, then another 2 hours to modify it for all aspects of the site. I can create infinite points now.
Dunno why you would want to over complicate things with such a project when a simple solution is readily available.

Mind sharing your imacros script?
 
Good share with a couple cavaets. One, relying on the graphical rendering of a website is just as brittle as relying on its source or DOM. Two, Sikuli's a nearly-dead, narrow project, there's many more mature alternatives for browser emulation and automation with java and python APIs.
 
Dunno why you would want to over complicate things with such a project when a simple solution is readily available.
How exactly is it "over complicating things" when using Sikuli?

Good share with a couple cavaets. One, relying on the graphical rendering of a website is just as brittle as relying on its source or DOM. Two, Sikuli's a nearly-dead, narrow project, there's many more mature alternatives for browser emulation and automation with java and python APIs.
1) True that
2) There are certainly more advanced alternatives, but what makes you think they're dying already? Afaik the project is running for a bit more than half a year and there are still people working on it.
 
thanks for sharing the script,finally something basic i can do :)
 
Btw, how do you make sikuli stop? It's looping under "while True" condition and can't make it stop. Please advise.
 
Btw, how do you make sikuli stop? It's looping under "while True" condition and can't make it stop. Please advise.

To abort the execution of a Sikuli-script, press:
On Windows: ALT-SHIFT-C
On Mac: CMD-SHIFT-C

Cheers
 
Hey, Its very nice.... Thanks for sharing such a good information... Anyways, I have modified this script a little bit... It covers almost every error, and a little bit faster..

Here it is:

Untitled.png

Please If you find any error, then notify me....

Thank you All....
 
Hey, Its very nice.... Thanks for sharing such a good information... Anyways, I have modified this script a little bit... It covers almost every error, and a little bit faster..

Here it is:

View attachment 12509

Please If you find any error, then notify me.... This is my first and ever post/reply in this forum, please appreciate me if you find this good....

Thank you All....
 
Back
Top