← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #136146]: Automatic script generation?

 

Question #136146 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/136146

parker young posted a new comment:
@RaiMain Every thread, someone proposes to make a recorder... So I
leveraged AutoHotKeys recorder to generate AHK scripts, which are then
converted to SikuliX.  This is my "lazy mans" solution.  Just
instantiate the converter, and run the `convert` method on your AHK
script and it will print out the SikuliX script in the SikuliX debugger.

https://gist.github.com/Wykleph/aad5b6b9b1eccd962caf3ca39399d525

I'll keep it updated to the best of my ability, and I'll add a small
example to the comments.  So far it only clicks and does keyboard
events.  It doesn't handle any logic or anything like that.  Just a very
simple AHK to SikuliX script.

Also, I don't have all the AHK keyboard bindings mapped to the SikuliX
bindings yet, but you can add them on the fly.

Cheers!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.