Many people have found Sikuli useful for automating daily maintenance tasks such as clearing the content of the recycle bin and making backups, especially for those people who only know how to perform these tasks by clicking through the UI. Using Sikuli, it is quite easy and intuitive to create a script to automate tedious tasks like these.
The script we would like to showcase today is created by Jon Atkinson. The purpose of this script is to run system clean. The script launches a scanner application, starts scanning, waits for the scanning to complete, and presses the remove button to confirm the removal of unwanted files. The details of the script is shown below:

I’ve been wondering, how do you access “right click” instead of just “click”????
I cannot find this anywhere and need that step to automate ‘paste’ or ‘copy’ using the menu items (some apps do not accept Ctrl-c/Ctrl-v
Any feedback on this?
http://sikuli.org/documentation.shtml#doc/pythondoc-python.edu.mit.csail.uid.Sikuli.html
You can call “rightClick” to do right click.