Search found 33 matches

by 6Tom
05 Apr 2024, 02:18
Forum: Ask for Help (v2)
Topic: How to detect context menu in some program?
Replies: 0
Views: 148

How to detect context menu in some program?

Hi dear friends, I am trying to find a way to check if the context menu exists, or wait for the context menu to appear in Microsoft Edge. I found this v1 script, but it doesnot seem to work. So I didnot modify it to v2. (Um, actually I did modify it to v2, but I'm not sure about the usage of NumPut ...
by 6Tom
24 Jan 2024, 06:24
Forum: Scripts and Functions (v2)
Topic: [FUNCTION][Modified from v1.1] Base64 encode/decode a string
Replies: 8
Views: 2312

Re: [FUNCTION][Modified from v1.1] Base64 encode/decode a string

Although I don't understand, they are indeed faster in the experiment. :clap:
by 6Tom
29 Sep 2023, 13:03
Forum: Ask for Help (v2)
Topic: I modified a function from v1.1 (unblock downloaded files). Can any expert help me see if it's correct? Topic is solved
Replies: 2
Views: 482

Re: I modified a function from v1.1 (unblock downloaded files). Can any expert help me see if it's correct? Topic is solved

Thank you very much for this, @lexikos. This is very helpful for beginners like me. I‘ve learned some new knowledge. Have a nice day!
by 6Tom
25 Sep 2023, 06:25
Forum: Ask for Help (v2)
Topic: I modified a function from v1.1 (unblock downloaded files). Can any expert help me see if it's correct? Topic is solved
Replies: 2
Views: 482

I modified a function from v1.1 (unblock downloaded files). Can any expert help me see if it's correct? Topic is solved

Hi dear friends, I currently have no understanding of Com objects. I just made some simple changes based on the documents. It works well on v2. But I actually don't know if there's a problem with it. Can someone take a look? ; Usage Unblock_Downloads("D:\Downloads") /** * Func: Unblock downloaded fi...
by 6Tom
11 May 2023, 07:39
Forum: Ask for Help (v2)
Topic: What if the content of a GUI exceeds one screen? Topic is solved
Replies: 2
Views: 326

Re: What if the content of a GUI exceeds one screen? Topic is solved

@Rohwedder
This is very cool! Thank you for helping me solve the problem and sharing the sources of these functions!
by 6Tom
10 May 2023, 08:07
Forum: Ask for Help (v2)
Topic: What if the content of a GUI exceeds one screen? Topic is solved
Replies: 2
Views: 326

What if the content of a GUI exceeds one screen? Topic is solved

Hi dear friends, I encountered some problems while working on the GUI. For example, in the following code, the added control exceeds the Y capacity of the screen. So I can't see the whole content. After searching through the document, I don't seem to have come up with a solution. Does anyone know ho...
by 6Tom
16 Apr 2023, 20:30
Forum: Ask for Help (v2)
Topic: A RawPath ? No parameters, no variables ? Topic is solved
Replies: 5
Views: 2514

Re: A RawPath ? No parameters, no variables ? Topic is solved

Hi, FredOoo.

I'm new. Although I cannot fully understand the meaning of every sentence in your function, it is very useful and it works very well!

For the latest AutoHotkey 2.0.2, it seems necessary to replace bufferAlloc with buffer, right?

Thank you for sharing!
by 6Tom
23 Jan 2023, 12:14
Forum: Ask for Help (v2)
Topic: MouseGetPos: Why do I only get "ApplicationFrameHost.exe" when the mouse is over "uwp app"? Topic is solved
Replies: 13
Views: 2116

Re: MouseGetPos: Why do I only get "ApplicationFrameHost.exe" when the mouse is over "uwp app"? Topic is solved

just me wrote:
23 Jan 2023, 10:54
This might work too until MicroSoft decides to change the class names or order of the controls used by the ApplicationFrameHost:
Indeed it is. This seems to be very efficient until some big changes.

Thank you, just me.
by 6Tom
23 Jan 2023, 04:40
Forum: Scripts and Functions (v2)
Topic: [FUNCTION][Modified from v1.1] Base64 encode/decode a string
Replies: 8
Views: 2312

Re: [FUNCTION][Modified from v1.1] Base64 encode/decode a string

@iseahound
It seems that you did not call jNizM successfully. I called him again for you. @jNizM
by 6Tom
20 Jan 2023, 09:06
Forum: Ask for Help (v2)
Topic: MouseGetPos: Why do I only get "ApplicationFrameHost.exe" when the mouse is over "uwp app"? Topic is solved
Replies: 13
Views: 2116

Re: MouseGetPos: Why do I only get "ApplicationFrameHost.exe" when the mouse is over "uwp app"? Topic is solved

It's perfect!

Thanks for your warm help again, ntepa.

Without your help, I'm not able to use DllCall to solve this problem at my current level.
by 6Tom
20 Jan 2023, 07:03
Forum: Ask for Help (v2)
Topic: MouseGetPos: Why do I only get "ApplicationFrameHost.exe" when the mouse is over "uwp app"? Topic is solved
Replies: 13
Views: 2116

Re: MouseGetPos: Why do I only get "ApplicationFrameHost.exe" when the mouse is over "uwp app"? Topic is solved

Thanks for helping, swagfag! I tried a few things with your instructions. But because I'm new, I still have some problems that cannot be solved. Please don't mind if I continue to ask. I found that this path can only be obtained by using ProcessGetPath(xxx) . ("xxx" means "the pid of this process I ...
by 6Tom
20 Jan 2023, 03:53
Forum: Ask for Help (v2)
Topic: MouseGetPos: Why do I only get "ApplicationFrameHost.exe" when the mouse is over "uwp app"? Topic is solved
Replies: 13
Views: 2116

MouseGetPos: Why do I only get "ApplicationFrameHost.exe" when the mouse is over "uwp app"? Topic is solved

Hi friends, I've got a problem. Why can't I get the real path of "uwp app"? #Requires AutoHotkey v2.0 #y:: { MouseGetPos( , , &ID_) MsgBox(WinGetProcessPath("ahk_id " ID_)) } For example, for the following uwp applications, I think I should get these paths: Win11 Settings: C:\Windows\ImmersiveContro...
by 6Tom
18 Jan 2023, 04:17
Forum: Scripts and Functions (v2)
Topic: [FUNCTION][Modified from v1.1] Base64 encode/decode a string
Replies: 8
Views: 2312

Re: [FUNCTION][Modified from v1.1] Base64 encode/decode a string

Ah, maybe it's because I'm not familiar with the forum at present. :D I can take this as study and practice. Thank you for doing a great job. I just starred your project "ahk-scripts-v2" in github. I was going to try to modify the functions related to Hash calculation, such as MD5, SHA1, SHA256. But...
by 6Tom
18 Jan 2023, 02:22
Forum: Scripts and Functions (v2)
Topic: [FUNCTION][Modified from v1.1] Base64 encode/decode a string
Replies: 8
Views: 2312

[FUNCTION][Modified from v1.1] Base64 encode/decode a string

Hi friends, I'm new. I have encountered some problems when using AutoHotkey v2, but I have received your warm help on the forum. Although my level is poor, I also want to make some contributions to give back to you as much as possible. I want to find a v2 function for Base64 en-/decoding, but there ...
by 6Tom
16 Jan 2023, 23:53
Forum: Ask for Help (v2)
Topic: MyMenu.Show(X, Y) What if X or Y is an empty string? Topic is solved
Replies: 10
Views: 818

Re: MyMenu.Show(X, Y) What if X or Y is an empty string? Topic is solved

Previously, I really paid little attention to operators in expressions. In the past, I almost only used := .= ! ++ and or I used to think this part of knowledge was somewhat obscure. Now, under your guidance, I will study this part of the document carefully. Thank you again for your warm help! mikey...
by 6Tom
16 Jan 2023, 10:00
Forum: Ask for Help (v2)
Topic: MyMenu.Show(X, Y) What if X or Y is an empty string? Topic is solved
Replies: 10
Views: 818

Re: MyMenu.Show(X, Y) What if X or Y is an empty string? Topic is solved

Wow, what an interesting discussion. Mikeyww you are really meticulous. I didn't realize this thing. Thanks again.

And thank you too, neogna2. I didn't know there was such a way of writing before. This time I learned in advance. It will come in handy on some occasions.

Go to advanced search