Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
SikuliX – Automate what you see on a computer monitor (sikulix.com)
111 points by notamy on Feb 12, 2022 | hide | past | favorite | 34 comments


I used to work with SAP a lot and my employer decided to disable macros. I had some extremely tedious work (making and maintaining PN, woes of the MechE life) so I just wrote a script with SikuliX to automate the work by importing an excel sheet. It easily saved me hundreds of hours of work. And of course I followed the golden rule of automating things, never tell your manager.


The golden rule indeed.

My previous job as pharmacist in pharma company has a lot of grunt job that I tried to automate using only word and excel sheets. It possibly saves a lot of man hour.

Why only excel and word? Pretty much because I almost can't install anything in company laptop. excel Macros also prohibited. I was thinking to create a simple js automation app in browser if it gets attention.

I showed my little automation tools to my superior but it failed to get appreciation nor support.

In the end my colleagues asks for help to run the automation but they refuse to learn how to use it themselves. Bah.


> Why only excel and word? Pretty much because I almost can't install anything in company laptop. excel Macros also prohibited. I was thinking to create a simple js automation app in browser if it gets attention

FYI assuming you're on windows from the office suite, python msi installer allows you to install without admin escalation (install just for this user). Definitely a lot easier to automate jobs with python.


> In the end my colleagues asks for help to run the automation but they refuse to learn how to use it themselves. Bah.

Sounds to me like "please do my work for me" kinda ask.


If anybody else is seeing the server dying, the project is on github https://sikulix.github.io/


I used this years ago to setup a UI test automation framework for iOS apps in the very first days of iOS, before any commercial products were available. iOS was run in the emulator with Sikuli driving it.

It was very effective, Sikuli was a pleasure to work with and the ability to record the tests and then edit the scripts and make abstractions was invaluable. It was very effective.


Link seems to be dead... but i found:

https://sikulix.github.io/


Wow, I've been looking for something like this for a long time but all I could find was proprietary stuff or not-that-good free alternatives. I'm not being dramatic when I say I feel this is going to change my life, so thank you!


This is a pretty old project, started long before AI hype. It's still very cool, but I wonder why no one wrote something similar using all the advancements in CV that we have now.


Newer: UI.Vision is newer and I find it easier to use. A key difference is that UI.Vision supports text reading (via OCR) out of the box: https://ui.vision/rpa/x/desktop-automation


So does sikulix, via tesseract, out of the box.


My key point was that there are newer alternatives (the OP asked for that). PyAutoGUI would be another newer alternative. So are Applitools and UIPath, but they are not open-source.

The challenge with Tesseract is that its OCR quality is (too) low for screenshots because screenshots are usually text on colored background. Tesseract is optimized for classical text document OCR. Of course, you can switch OCR engines with Sikuli (I did that before), but this requires touching the source code.


Github for the project: https://github.com/RaiMan/SikuliX1

It seems to have most of the content as the main site (which is down ATM).


Unable to connect ;(

Down right when on HN frontpage?



I have used Sukuli off and on for 9 years, it really is great for quick automation. Thanks to RaiMan for taking it over and improving/supporting it!


I've used this with Jython and I find it very cool and straightforward to use. I think it has potential for automated testing implemented by non-programmers. A potential downside is that I imagine running OpenCL takes a decent bit of GPU power.

It is also more flexible and quicker way to write automation scrips than most of the alternatives. It could be a good alternative to AHK, for instance.


Years ago I used to use SikuliX to automate grinding in MMOs! My first introduction to Python/scripting in general.


Sikuli is quite nostalgic. I remember using it to automate multiple accounts to play those FB games


so do we need to know code to use this? Say, how to automate the grinding of a MMOs if I only go to a fixed place and farm fixed mobs?


Since my gaming days, I have always wondered whether there is software that could exactly track the bit stream of mouse moments at the frequency they are generated.

I was trying to automate complex jump movements in quake 2. Never did figure out how (it was not possible with Sikuli or other popular macro software at the time)


I worked on a government project in which we put a lot of work into making it difficult for automated attacks, after which our automated ui tests were not able to run, I left before a solution was found (if it was) but was arguing that SikuliX was the solution before I left.


Reminds me of a program called SCAR (Shit Compared to AutoRune). It was designed for runescape but was also frequently used for other things.

https://scar-divi.com/oldmanual/


I had great success with SikuliX about a decade ago in automating a native UI.

It worked quite well, though it was processor intensive. The UI for scripting was well done too.

The nice thing about using CV is that the UI can change somewhat and the automation still works.


Yes, using CV/OCR for automation is the future.



I've used it to automate a desktop app in the past, a ruby script in the server side running in multiple windows instances doing GUI things… It was like having robots working for us…


> It was like having robots working for us…

I suppose that's why they call it "robotic process automation".

https://en.m.wikipedia.org/wiki/Robotic_process_automation


Sounds interesting, can you tell more about it?


Looks good. Plenty of RPA companies flogging this type of technology around at the moment under the guise of 'Intelligent Automation' or 'AI powered Automation'.


I know and like this application for a long time, but I wish it worked just in python instead of jython.


I've used AutoHotKey on Windows a while ago and the boss was impressed

Basically copying from Excel into their own system via an interface


I use Keyboard Maestro for similar grunt work on the Mac. It's quite powerful.


niiice, could-a used this in my last job which I just left yesterday




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: