# OpenRPA and Autohotkey V2 (AHK)

**URL:** <https://discourse.openiap.io/t/openrpa-and-autohotkey-v2-ahk/1328>\
**Category:** Issues and feature requests\
**Created:** [May 10, 2024, 2:27pm UTC](https://discourse.openiap.io/t/openrpa-and-autohotkey-v2-ahk/1328 "2024-05-10T14:27:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![svogel](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@svogel](https://discourse.openiap.io/u/svogel)\
**Post date:** [May 10, 2024, 2:27pm UTC](https://discourse.openiap.io/t/openrpa-and-autohotkey-v2-ahk/1328/1 "2024-05-10T14:27:29Z")

</div>

To my delight I saw that in the component “Invoke Code” it is possible to insert autohotkey directly.  
That’s really nice. After a bit of fumbling I see that this is Autohotkey Version 1.  
Is it possible to somehow upgrade to Version 2?  
Exchanging the DLL or something?

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [May 11, 2024, 7:15am UTC](https://discourse.openiap.io/t/openrpa-and-autohotkey-v2-ahk/1328/2 "2024-05-11T07:15:15Z")

</div>

I know **a lot** of people are using this, so it’s important that v2 is backward compatible with version 1 … do you know if that is the case ?

If yes, then I’m open for testing out an upgrade. I’m using [GitHub - LucidMethod/sharpAHK: AutoHotkey commands and more in C# / .Net](https://github.com/LucidMethod/sharpAHK) for the integration. It has not been updated for 4 years. If you can wake up the creator, or know of someone who has made an more uptodate package, I’m open for trying to implement it.

I have not seen winterlaite around for a looooong time, not even sure if he’s active any more ?  
It depends on [ahkdll](https://github.com/HotKeyIt/ahkdll/issues/37) that also seem a bit stale.

---

<div class="post-metadata">

**Author:** ![svogel](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@svogel](https://discourse.openiap.io/u/svogel)\
**Post date:** [May 11, 2024, 1:30pm UTC](https://discourse.openiap.io/t/openrpa-and-autohotkey-v2-ahk/1328/3 "2024-05-11T13:30:06Z")

</div>

Autohotkey v2 is completely incompatible with v1.  
There is not really a possibility of an upgrade.  
It is more two different languages, so in the CodeEditor it would rather be VBScript, C#, Python, … Authotkey v1, Autohotkey v2.

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [May 12, 2024, 8:04am UTC](https://discourse.openiap.io/t/openrpa-and-autohotkey-v2-ahk/1328/4 "2024-05-12T08:04:27Z")

</div>

Been reading a little on the forum and searching around.  
Looks nice with the v2 upgrade.  
But i cannot find anyone who made a wrapper fro AutoHotkey\_H to dot net 4.x.  
Once that exists, I’m happy to try and add it into openrpa.script  
I’ll move this this thread to issues/feat requests
