Search found 616 matches

by afe
07 Dec 2019, 07:56
Forum: Ask For Help
Topic: How to remove a BOM from a UTF-8 encoded .txt file?
Replies: 1
Views: 2181

How to remove a BOM from a UTF-8 encoded .txt file?

How to remove a BOM from a UTF-8 encoded .txt file Or is it possible to have FileAppend not generate a BOM when saving in UTF-8 encoding?
by afe
18 Nov 2019, 11:39
Forum: Ask For Help
Topic: When the program starts, the button is not enabled as expected.
Replies: 5
Views: 464

Re: When the program starts, the button is not enabled as expected.

For example, when the checkbox is not checked, if the Edit is not empty, the button is enabled, otherwise, if Edit is empty, the button is disabled. My code basically implements it, but when the program starts to f(), GuiControl, Enable, ok fails to work as expected, which seems to conflict with Gui...
by afe
18 Nov 2019, 11:30
Forum: Ask For Help
Topic: When the program starts, the button is not enabled as expected.
Replies: 5
Views: 464

Re: When the program starts, the button is not enabled as expected.

Thanks, but I want the button to be enabled when Edit is not empty.
by afe
18 Nov 2019, 09:28
Forum: Ask For Help
Topic: When the program starts, the button is not enabled as expected.
Replies: 5
Views: 464

When the program starts, the button is not enabled as expected.

Hello, When Checkbox is selected, Edit is disabled and the button is enabled. Conversely, if Edit is empty, the button is disabled, otherwise the button is enabled. But when the program starts, the button is not enabled as expected. Why? Gui, Add, Checkbox, gtest vtest Gui, Add, Edit,gtest2 vtest2, ...
by afe
06 Nov 2019, 09:24
Forum: Ask For Help
Topic: [RegEx]Remove the last string that appeared Topic is solved
Replies: 4
Views: 505

Re: [RegEx]Remove the last string that appeared Topic is solved

Thank you! Where can I find an explanation for \1? Why can't it be $1?
by afe
06 Nov 2019, 08:55
Forum: Ask For Help
Topic: [RegEx]Remove the last string that appeared Topic is solved
Replies: 4
Views: 505

[RegEx]Remove the last string that appeared Topic is solved

Hello,
How to remove the last occurrence of "--m-u "? "mu1", "mu2", "mu3", etc. are arbitrary strings.

Code: Select all

--m-u "mu1" --m-u "mu2" --m-u "mu3"
Expected value

Code: Select all

--m-u "mu1" --m-u "mu2" "mu3"
by afe
28 Oct 2019, 06:30
Forum: Offtopic
Topic: Please delete this post Topic is solved
Replies: 1
Views: 2099

Please delete this post Topic is solved

Please delete this post
by afe
22 Oct 2019, 11:50
Forum: Ask For Help
Topic: What is a byte array and how to call this dll file?
Replies: 10
Views: 1437

Re: What is a byte array and how to call this dll file?

For re-editing posts, I just removed the parts that might be misleading. I don't think there is anything wrong with this.

The script still crashes.
by afe
22 Oct 2019, 08:49
Forum: Ask For Help
Topic: What is a byte array and how to call this dll file?
Replies: 10
Views: 1437

Re: What is a byte array and how to call this dll file?

This is not the documentation page for this dll.

Thanks for your reminder, I have updated the code. But if you use StrGet, how to determine the length of the return value of the dll?Currently only know that the return value has been null ending.
by afe
22 Oct 2019, 04:54
Forum: Ask For Help
Topic: What is a byte array and how to call this dll file?
Replies: 10
Views: 1437

Re: What is a byte array and how to call this dll file?

This dll file was previously available for download at the end of the post. To be exact, there is no documentation. However, I still attach a description of the dll. As for the example, I have also provided an example of C# before. If you want the ahk example, I have already given it, but it is not ...
by afe
21 Oct 2019, 13:56
Forum: Ask For Help
Topic: What is a byte array and how to call this dll file?
Replies: 10
Views: 1437

Re: What is a byte array and how to call this dll file?

I updated the code. The parameter ok here should be the size of the byte array. But I don't know how to get its return value. It is a strange type called text type. I have to read from the memory address, but I don't know how long it is.
by afe
20 Oct 2019, 12:06
Forum: Wish List
Topic: Is there a plan to achieve concurrency?
Replies: 5
Views: 1718

Is there a plan to achieve concurrency?

Hello,

Is there a plan to achieve concurrency? Or can it be compiled into intermediate bytecode, like Java?
by afe
20 Oct 2019, 02:48
Forum: Bug Reports
Topic: 1.1.31.00 Listview G-Label "e" no longer works
Replies: 8
Views: 2346

Re: 1.1.31.00 Listview G-Label "e" no longer works

I updated the code. In this example, when modifying the first column of the ListView, MsgBox, % A_GuiEvent will not be executed in version 0.1.31.00. But the previous version can. Sleep here is to get the current cursor on which control. When the mouse clicks outside of Edit, Edit will restore the d...
by afe
19 Oct 2019, 13:27
Forum: Bug Reports
Topic: 1.1.31.00 Listview G-Label "e" no longer works
Replies: 8
Views: 2346

Re: 1.1.31.00 Listview G-Label "e" no longer works

I found out where the problem is. There is also a ~LButton:: hotkey in my code, and I need Sleep, 1 to capture the current Focus. It is because of this Sleep that the code is not implemented as expected in v0.1.31.00. But I don't understand the exact reason. I need to use Sleep, 1 to determine that ...
by afe
19 Oct 2019, 09:41
Forum: Bug Reports
Topic: 1.1.31.00 Listview G-Label "e" no longer works
Replies: 8
Views: 2346

Re: 1.1.31.00 Listview G-Label "e" no longer works

Thank you for your analysis. My code is the same as this example implementation, except that the former has a lot Menus and right-click context menus and so on. This example works fine on v0.1.31.00, so there is no problem with this g-Label method. I will try to simplify my code again to see if ther...
by afe
19 Oct 2019, 03:51
Forum: Bug Reports
Topic: 1.1.31.00 Listview G-Label "e" no longer works
Replies: 8
Views: 2346

Re: 1.1.31.00 Listview G-Label "e" bug

Since my script is associated with too much content, I have abbreviated it, but the implementation is the same. But what is confusing is that this shorthand script works fine. The original script runs on v1.1.30.3 and v1.1.31.00 respectively, and the result is normal and one is not. I found that in ...
by afe
18 Oct 2019, 11:42
Forum: Bug Reports
Topic: 1.1.31.00 Listview G-Label "e" no longer works
Replies: 8
Views: 2346

1.1.31.00 Listview G-Label "e" no longer works

Hello, When I updated to v1.1.31.00, I found that Listview g-Label "e" no longer works. When I finish editing the first field of a row, I can't use LV_GetText(OutputVar, A_EventInfo) to get the new value. Edit : else if ( A_GuiEvent == "e" ) will not be executed This is a shorthand script, but it wo...
by afe
15 Oct 2019, 14:06
Forum: Other Programming Languages
Topic: Please delete this post
Replies: 1
Views: 3112

Please delete this post

Please delete this post
by afe
15 Oct 2019, 13:00
Forum: Ask For Help
Topic: What is a byte array and how to call this dll file?
Replies: 10
Views: 1437

Re: What is a byte array and how to call this dll file?

Thank you for your guidance, I have to think about it.

Go to advanced search