From: Ron on
OK, here's an idea. I used to do screen scraping scripts and run them
as CGI scripts with an HTMl user interface. Why not run Sikuli on
Jython on a JVM running on my server, so that I can do my screen
scraping with Sikuli? I can take user inputs by using CGI forms from a
web client, process the requests using a Sikuli script on the server,
and send the results back to the web client.

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.
From: Jean-Michel Pichavant on
Terry Reedy wrote:
> On 1/25/2010 9:14 AM, Javier Collado wrote:
>
>> 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.
>
I confirmed it now works.
The demo is pretty impressive.

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
From: CM on
On Jan 24, 10:18 pm, Ron <ursusmaxi...(a)gmail.com> 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 athttp://sikuli.csail.mit.edu/I also did this
> podcast about Sikulihttp://media.libsyn.com/media/awaretek/Python411_20100124_Sikuli.mp3

How is this preferable to a macro recorder?
From: Ron on
On Jan 26, 10:59 am, CM <cmpyt...(a)gmail.com> wrote:
> On Jan 24, 10:18 pm, Ron <ursusmaxi...(a)gmail.com> wrote:
>
> > Sikuli is the coolest Python project I have ever seen in my ten year
> > hobbyist career. An MIT open source project, Sikuli uses Python to
> > automate GUI tasks (in any GUI or GUI based app that runs the JVM) by
> > simply drag and dropping GUI elements into Python scripts as function
> > Arguments. Download athttp://sikuli.csail.mit.edu/Ialso did this
> > podcast about Sikulihttp://media.libsyn.com/media/awaretek/Python411_20100124_Sikuli.mp3
>
> 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
From: Terry Reedy on
On 1/26/2010 1:59 PM, CM wrote:
> On Jan 24, 10:18 pm, Ron<ursusmaxi...(a)gmail.com> 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 athttp://sikuli.csail.mit.edu/I also did this
>> podcast about Sikulihttp://media.libsyn.com/media/awaretek/Python411_20100124_Sikuli.mp3
>
> How is this preferable to a macro recorder?

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.

First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4
Prev: easy_install error ...
Next: [ANN] Pyspread 0.0.14 released