Search found 580 matches

by afe
11 Jan 2020, 05:07
Forum: Ask For Help
Topic: How to get the total number of processes with the same name? Topic is solved
Replies: 3
Views: 130

How to get the total number of processes with the same name? Topic is solved

How to get the total number of processes with the same name?

I try to use
Process, Exist, PIDOrName
, but it can only return the PID of one process, is there any other way?
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: 2028

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: 195

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: 195

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: 195

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: 302

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: 302

[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: Who can remove the obfuscation of the source code of this apk? Topic is solved
Replies: 1
Views: 1094

Who can remove the obfuscation of the source code of this apk? Topic is solved

Who can remove the obfuscation of the source code of this apk?
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: 878

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: 878

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: 878

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: 878

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: 1129

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, 09:38
Forum: Other Programming Languages
Topic: Can anyone explain how the "sk" variable is generated?
Replies: 3
Views: 970

Re: Can anyone explain this Java function?

I updated the code, this time it's concise, but I don't understand.
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: 1573

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: 1573

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: 1573

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: 1573

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 ...

Go to advanced search