Page 1 of 1

AHK to Javascript Converter

Posted: 13 Aug 2018, 15:31
by TigerYT
Is there an AHK to JavaScript converter? I'm obviously not looking for something specifically for windows or something. I mean something like this:

Code: Select all

@::
    Send, @gmail.com
Return
and the convert this to javascript

Code: Select all

; Obviously not actually Javascript

When key: "@" is pressed {
    type in #id @gmail.com
}

; Or even jQuery

When key: "@" is pressed {
    $('#id').type("@gmail.com");
}

I'm looking for something little like that.

Re: AHK to Javascript Converter

Posted: 13 Aug 2018, 18:54
by Alibaba
There is no converter that I know of, but there is a library that allows to write AHK inside your JS. (Part of AHK, not all features)
https://github.com/Aurelain/Exo

Re: AHK to Javascript Converter

Posted: 14 Aug 2018, 03:13
by TigerYT
Alibaba wrote:There is no converter that I know of, but there is a library that allows to write AHK inside your JS. (Part of AHK, not all features)
https://github.com/Aurelain/Exo
I know about that, Exo is unfortunately everywhere... I'm looking for AHK to JavaScript or AHK in JavaScript not the other way around.

Re: AHK to Javascript Converter

Posted: 14 Aug 2018, 10:18
by Alibaba
I never used Exo, but I think it is “AHK in JavaScript” ..?