Skip to content
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

How to run the code in AHK2.0 version? #1

Open
yzqiang opened this issue Aug 27, 2024 · 1 comment
Open

How to run the code in AHK2.0 version? #1

yzqiang opened this issue Aug 27, 2024 · 1 comment

Comments

@yzqiang
Copy link

yzqiang commented Aug 27, 2024

For some reason, I can't upgrade to AHK2.0.2 version. I am using AHK2.0 version to run the RichEdit library.
When I run the script, I got something wrong such as below:

This operator's right operand must not be unset.

I can't find which feature or code incompatible with AHK2.0.
Could you tell me what are the incompatibilities of AHK2.0.2 please?

@OvercastBTC
Copy link

OvercastBTC commented Sep 3, 2024

You don't need to be on AHK v2.0.2. That's the version of AHK v2 it was written under. Just update to the latest AHK v2 version available.

Put the following at the top of every script, and issues like this will show themselves; it's very unlikely it's in his code:

#Requires AutoHotkey v2+

I also suggest using VS Code, and ensuring you have thqby's AutoHotkey v2 Langauage Support extension. I would also get GroggyOtter's definition file update, among other extensions.

At the very least, with thqby's addon, the error will be shown. My expectation is it's in your code, not his.

I do have a class version of this I'm pretty much done with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants