Posts Tagged ‘Python’

Sikuli – My opinion

Wednesday, February 10th, 2010

“Sikuli is a visual technology to search and automate graphical user interfaces (GUI) using images (screenshots). ”

That is how Sikuli is described in there homepage.

An idea of this system is grate, but I feel disappointed, because it has very limited functions.

Sikuli uses Python, but seems it is old version of Python, what makes many functions hard to program something useful. First thing I didn’t like very much – Sikuli Python doesn’t support goto function. It would be nothing special, if only it would not have problems with “IF / FOR” and own maid functions.

These functions must be written in one line only (don’t know Python much, but haven’t heard about this problem in regular version of Python).

Second thing – in functions I could not add any additional variable, only “self”. It sent me an Error message, when I tried to add picture directly in For function, and it doesn’t.

Next thing I tried – integrate some information source from outside. Only thing I could include was txt files. Tried to read them by line, what was successful , but thing I could not do was SPLIT, because it did split by chars. Had an idea, that it could automatic read, but could not do it, because as I said – For function didn’t work right.

All I said was bit chaos , but hope got the Idea. I’ll publish some of the scripts I started.