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

if A_GuiEvent = K #261

Open
H5820121 opened this issue Jul 17, 2024 · 6 comments
Open

if A_GuiEvent = K #261

H5820121 opened this issue Jul 17, 2024 · 6 comments

Comments

@H5820121
Copy link

H5820121 commented Jul 17, 2024

I have an AHK V1 script I use there, for the ListView GUI ,if the user pressed the DEL key:

if A_GuiEvent = K
{
IF A_EventInfo=46 ;DEL key
{

  }

}
I don't know how to translate it to V2, nor does the converter translate it in a way that works. Can someone please help me with it?

@fade2gray
Copy link
Contributor

Just a hint on how to post code in GitHub comments to make sure it's formatted correctly -

https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#quoting-code

@Banaanae
Copy link
Collaborator

Based off such a small snippet I can't convert, can you send the full script?

@H5820121
Copy link
Author

H5820121 commented Jul 18, 2024 via email

@Banaanae
Copy link
Collaborator

This code is different to the code in the original post, and is written in v2
The problem here is likely that you haven't updated your variable names

Could you please share your v1 script?

@fade2gray
Copy link
Contributor

Looks like it may have come from this thread ...

https://www.autohotkey.com/boards/viewtopic.php?style=19&f=82&t=114432

@H5820121
Copy link
Author

H5820121 commented Jul 19, 2024 via email

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

3 participants