-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AHK v2 compatibility #34
Comments
I would not be surprised if it were compatible now. |
There were some breaking changes to v2 syntax that required some adjustment, but I have managed to get a v2 version partially working against AHK 2.0-a122-f595abc2. It is not thoroughly tested, and I can confirm there is an "interface not supported" error when trying to I haven't converted the monitor (still running that against AHK v1.1.33.10). @evilC you were correct in your assumption that no changes to the C# seemed to be necessary. I did use the CLR for AHK v2.0 lib available here. I don't really have time to create a full proper release PR or write tests or anything, but if it's helpful I'm happy to share the work I did just getting the main |
@wwboynton my guess would be that it's a data type issue. |
I'd personally appreciate seeing your code for the AHKv2 conversion. Is it being done in a way where it's also backwards-compatible, or is that not viable? |
I'll have to look later if it's backwards compatible or not -- I ran it through a syntax converter to start and then just followed the trail for the remaining errors. I haven't tried executing it on v1 yet but I imagine there's probably a way for someone smarter than me to make it so. I haven't ever really used v1, so I'm not an expert in the arcane nuances of its syntax. |
There's a syntax converter? Where at? |
I would doubt that you could make one version of the AHK files that was backwards compatible, but it should be possible to have one DLL which is compatible with v1 and v2 |
AHK v2 is now the default; a stable release came out at the end of December. |
I'm curious if this will be updated to be compatible with AHK v2, which is drawing ever closer to being the primary version.
It is actually possible to be compatible with both v1.1 and v2 if you make sure to use syntax and commands that work with both versions, as seen here: https://github.com/mmikeww/AHKv2-Gdip
The text was updated successfully, but these errors were encountered: