Wow , It look likes like better than autoIt !!
Very impressed.
Nice, thanks for the link. Very happy to see people using Python for
cool stuff like this, also to see the alternate implementations in
use.
And it couldn't come at a better time for me as I am trying to figure
out how to automate some GUI-only program I am forced to use at work.
Carl Banks
It looks really nice, but the screenhost-taking did not work on my
computer (Win7). Innovative yet simple idea this mix-visual-and-code.
JM
http://www.youtube.com/watch?v=FxDOlhysFcM
--
Robin Becker
--V
I think the site is under maintenance. I tried a couple of hours ago
and it worked fine.
As an alternative, I found that this link also worked:
http://www.sikuli.org/
Unfortunately, it seems it's not working right now.
Best regards,
Javier
2010/1/25 Virgil Stokes <v...@it.uu.se>:
> On 25-Jan-2010 04:18, Ron wrote:
>>
>> Sikuli is the coolest Python project I have ever seen in my ten year
>> hobbyist career. An MIT oepn source project, Sikuli uses Python to
>> automate GUI tasks (in any GUI or GUI baed app that runs the JVM) by
>> simply drag and dropping GUI elements into Python scripts as function
>> arguments. Download at http://sikuli.csail.mit.edu/ I also did this
>>
>
> This link is broken!
>
> --V
>
Well, those of you who find it underwhelming are in good company. See
the blog post at Lambda the Ultimate
http://lambda-the-ultimate.org/node/3783
I was impressed though by the application to notify you when your bus
gets close to the pickup point, using Google maps, and by the app to
automatically chart a course to Houston from LA on I-10, again using
Google maps. And perhaps most of all, the app to notify you when your
sleeping baby wakes up, from a picture on a digital camera.
Hey, most of life is non-deterministic. I am in the analog engineering
world and simple, deterministic black and white situations are all
fine and useful, but I can see this very easy to use and simple
technology being useful also ;-))
All of the above apps are but a few lines of code.
Ron
> I think the site is under maintenance. I tried a couple of hours ago
> and it worked fine.
>
> As an alternative, I found that this link also worked:
> http://www.sikuli.org/
This just redirects to the link below
>>> http://sikuli.csail.mit.edu/ I also did this
>> This link is broken!
Worked for me both yesterday and now.
This sounds like fun to me, and easier to highlight and capture the
appropriate screen information on targeted web sites using Sikuli than
to hand code location information or even using Beautiful Soup.
However one should not be the kind of guy changing its desktop theme on
a regular basis. If I got it well, all is based on bitmap recognition
(with some tolerance though). I'll still give it a try.
JM
How is this preferable to a macro recorder?
Well, the pattern recognition engine allows you to recognize partial
matches to any image, to any desired degree of accuracy. In other
words, you can specify to take action only when an exact match is
found, or else when a 50% match is found. This allows applications
like the baby monitor (to tell you when your sleeping baby wakes up,
and the imminent bus arrival monitor (to tell you when your bus is
within one mile or any distance you want), and the route mapper from
one city to another on a digital map.
Another thing, Sikuli works with web pages. In other words, you can
automate interaction with web sites as well as with desktop
applications.
You can also automate the entry of text.
And it works (theoretically) on any graphical platform (Mac, Linux,
Window, smartphones, etc).
Probably other advantages. Those are just the ones I see off the top
of my head.
Good question.
Ron
One can add program logic to the interaction. For instance, one of the
demos on YouTube uses sikuli to read a Bejeweled (game) board. Program
logic then calculates a move.
Macro recorders work by measuring mouse motion and capturing click
locations, or by recording the control IDs of the clicked windows. The
former is sensitive to changing window locations, the latter to application
updates.
Sikuli works by using image analysis to locate the regions on the screen to
be tickled. It's a novel idea, although others have correctly pointed out
that it's not the most efficient way to automate applications.
--
Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.
Sikuli doesn't seem that much different from Python in this way: it
may not be the most efficient use of the computer's time, but I dare
say it's significantly less demanding on the end user's.
I can see Sikuli easily progressing to a full visual programming
interface, replacing the 'click' keyword et al with iconic
representations.
Simple "script-less" GUI macro-ing for the masses? Fantastic.