News for hackers. Stuff that matters.
Re:RobotJS – Node.js Desktop Automation by mwagstaff on Thursday July 30, 2015 @06:57AM (#9974162)
Despite its many syntax quirks, AutoHotkey is an amazingly powerful tool for automating Windows keyboard and mouse input - I use it daily at work.

Having an equivalent tool on the Mac would be awesome, as I don't think anything in AutoHotkey's class exists right now...

Re:RobotJS – Node.js Desktop Automation by macobo on Thursday July 30, 2015 @08:29AM (#9974451)
Out of curiosity, have you looked at Sikuli [1]?

[1]: http://www.sikuli.org/

Re:RobotJS – Node.js Desktop Automation by mwagstaff on Thursday July 30, 2015 @08:54AM (#9974538)
I hadn't heard of it before, and it does look potentially very powerful.

My only initial concern from reading the quick start (http://www.sikulix.com/quickstart.html) is the apparent requirements to use the "SikuliX IDE" for scripting...

Re:RobotJS – Node.js Desktop Automation by hugs on Thursday July 30, 2015 @10:43AM (#9975275)
The magic of Sikuli is its use of the OpenCV library under the hood (and Tesseract for OCR). You could skip the Sikuli part and just use OpenCV and Tesseract directly. (Not easy, but theoretically possible.)
Re:RobotJS – Node.js Desktop Automation by skimmas on Thursday July 30, 2015 @11:43AM (#9975751)
I once used sikuli to extract a table from a pdf. Pretty funny way of hacking a fast solution for a problem. It's a pretty powerful tool but not very stable. IDE is also not so exciting but gets the job done. Pretty excited to see how far this project will go.
Re:RobotJS – Node.js Desktop Automation by nacs on Thursday July 30, 2015 @04:50PM (#9977979)
You actually don't need to use their IDE as the scripts it generates are just python scripts.

I've used it a few times in the past and was able to use an external screenshot program (Apple-Shift-4 on Mac) and a text editor to write the scripts.

Re:RobotJS – Node.js Desktop Automation by DonHopkins on Thursday July 30, 2015 @03:16PM (#9977289)
Check out Morgan Dixon's awesome research project Prefab: The Pixel-Based Reverse Engineering Toolkit, which would be great to integrate into RobotJS.

http://homes.cs.washington.edu/~mdixon/research/prefab/

Re:RobotJS – Node.js Desktop Automation by octalmage on Thursday July 30, 2015 @11:58PM (#9979850)
Sikuli is awesome, I've used it a bunch. But developing and distributing cross platform commercial applications with it is a mess. Also interacting with other languages, to make a GUI for example, isn't fun.
Re:RobotJS – Node.js Desktop Automation by Vexs on Thursday July 30, 2015 @11:57AM (#9975863)
Autohotkey is a crazy dense macroing tool; I originally thought it was just move the mouse and type, but it can do so, so much more- interface with spreadsheets, web browsers, heck, there's even a tiling window manager out there that's programmed in ahk script. (bug.n)
Re:RobotJS – Node.js Desktop Automation by octalmage on Thursday July 30, 2015 @11:52PM (#9979832)
Yeah AutoHotkey is amazing. I've written many successful apps in AHK. Like this one:

https://github.com/octalmage/mDesktop

With RobotJS and nw.js I've been able to port many of my apps to JavaScript, and ultimately make them cross platform.

Re:RobotJS – Node.js Desktop Automation by jestar_jokin on Friday July 31, 2015 @01:53AM (#9980150)
As another example, I wrote some scripts (well, hacked together other people's work) to map MIDI CC values to a virtual joystick's Y axis, so I could use my MIDI expression pedal as an accelerator pedal in Euro Truck Simulator 2.
Re:RobotJS – Node.js Desktop Automation by mhd on Thursday July 30, 2015 @10:19AM (#9975106)
I mostly used AHK for keyboard stuff, so TextExpander would be my Mac equivalent, and within its domain it's a lot nicer and maybe even more powerful than AHK. Never done much mouse-scripting on any platform, though...
Re:RobotJS – Node.js Desktop Automation by fweespeech on Thursday July 30, 2015 @09:35AM (#9974830)
Re:RobotJS – Node.js Desktop Automation by auganov on Thursday July 30, 2015 @10:52AM (#9975353)
I love the features! But the language omg. Every time i want to modify my script it feels like such a chore. Would love some js or lisp that compiles to AHK.