Search found 119 matches

by bapl
15 Apr 2023, 20:07
Forum: Ask for Help (v1)
Topic: Convert the numbers on the screen to a text view
Replies: 3
Views: 346

Convert the numbers on the screen to a text view

Hello! I have an array of data with the following values: Array := {"A1":"300","A2":"90","A3":"150"} I need to sort them so that the key with the lowest value is output first, that is, something like this should turn out: Array := {"A2":"90","A3":"150","A1":"300"} This is only the first moment. Ther...
by bapl
07 Apr 2023, 15:00
Forum: Ask for Help (v1)
Topic: WinSet does not apply to windows launched by another user.
Replies: 3
Views: 281

Re: WinSet does not apply to windows launched by another user.

The issue you linked to was fixed a long time ago. However, this still doesn't solve the problem. The same thing happens if I open the Script as Super Administrator and the application is run as a normal user. It's like he can't apply WinSet to an application if the script that's running and the app...
by bapl
07 Apr 2023, 09:40
Forum: Ask for Help (v1)
Topic: WinSet does not apply to windows launched by another user.
Replies: 3
Views: 281

WinSet does not apply to windows launched by another user.

Hello everyone, I have a script called ScriptTest.ahk: #SingleInstance, Force SetPrivilege("SeDebugPrivilege", 1) Run, cmd /c chcp 1251 & psexec -i -d -h -u Administrator -p 111111q "CMD" F1:: ; Get the window identifier WinGet, hWnd, ID, A ; Make the window transparent (set alpha value to 128) WinS...
by bapl
03 Feb 2023, 18:02
Forum: Ask for Help (v2)
Topic: How can I see the Handles of a process?
Replies: 5
Views: 877

Re: How can I see the Handles of a process?

yes it works!
Thank you!
by bapl
13 Jan 2023, 11:24
Forum: Ask for Help (v2)
Topic: How can I see the Handles of a process?
Replies: 5
Views: 877

Re: How can I see the Handles of a process?

@jNizM
Indeed, I can't find Device/Afd and many other Handles.
by bapl
08 Jan 2023, 23:50
Forum: Ask for Help (v2)
Topic: How can I see the Handles of a process?
Replies: 5
Views: 877

How can I see the Handles of a process?

How can I see the Handles of a process?
Is there a simple command for AHK V2 so that I can find a Handle named "DiscordHook"?
by bapl
05 Jan 2023, 00:58
Forum: Ask for Help (v1)
Topic: Determine the desired Handle and close it
Replies: 1
Views: 245

Determine the desired Handle and close it

Hello! I want to write a script that will determine the Handle I need and close it. I didn’t think of anything better than how to run the "Process Hacker 2" program, find the process and open properties -> Handles. Then he scrolls to the very end and scrolls up with the mouse wheel until he finds a ...
by bapl
03 Jan 2023, 23:39
Forum: Ask for Help (v1)
Topic: Unable to set transparency for windows System.
Replies: 11
Views: 778

Re: Unable to set transparency for windows System.

Transparency of Notepad can be set directly, of course. #Requires AutoHotkey v1.1.33 WinGet hwnd, ID, ahk_exe notepad.exe WinActivate ahk_id %hwnd% WinSet Transparent, 100, ahk_id %hwnd% You did not actually show that you can activate your target window as created via PsExec. That is the point. Unf...
by bapl
03 Jan 2023, 21:24
Forum: Ask for Help (v1)
Topic: Unable to set transparency for windows System.
Replies: 11
Views: 778

Re: Unable to set transparency for windows System.

OK! You can try running as admin. I would use Window Spy to verify the window title, class, or exe, and then see if you can WinActivate the window successfully, as a first step. Others may have some better ideas. Это работает: Winget, hwnd, ID, ahk_exe Notepad.exe WinActivate, ahk_id %hwnd% Однако ...
by bapl
03 Jan 2023, 21:18
Forum: Ask for Help (v1)
Topic: Unable to set transparency for windows System.
Replies: 11
Views: 778

Re: Unable to set transparency for windows System.

OK! You can try running as admin. Others may have some better ideas. PsTools I downloaded from here: https://learn.microsoft.com/en-us/sysinternals/downloads/pstools I hope you didn't see anything rude in my sentences? Sorry if that's the case. I just use google translate to communicate with you. R...
by bapl
03 Jan 2023, 21:10
Forum: Ask for Help (v1)
Topic: Unable to set transparency for windows System.
Replies: 11
Views: 778

Re: Unable to set transparency for windows System.

I have pasted the instructions from the documentation page. That's about all that I can offer on this one, because I do not use the program that you are using (PsExec). Enable the Add 'Run with UI Access' to context menus option in AutoHotkey Setup. This option can be enabled or disabled without re...
by bapl
03 Jan 2023, 20:49
Forum: Ask for Help (v1)
Topic: Unable to set transparency for windows System.
Replies: 11
Views: 778

Re: Unable to set transparency for windows System.

If you run as a system user, then the window is probably elevated, so you could try UI Access. https://www.autohotkey.com/docs/v1/FAQ.htm#uac Running as admin could be a second choice. I'm sorry, but I don't quite understand what I need to do. The fact is that the slider is initially set in the low...
by bapl
03 Jan 2023, 15:01
Forum: Ask for Help (v1)
Topic: Unable to set transparency for windows System.
Replies: 11
Views: 778

Unable to set transparency for windows System.

Using this command: run, psexec -i -d -s Notepad.exe I'm running notepad as username "System". After I try to apply Transparent to the Notepad window: WinGet, active_id, ID, A Msgbox %active_id% WinSet, Transparent, 25, ahk_id %active_id% The problem is that the ID is found but the transparency is n...
by bapl
19 Dec 2022, 18:09
Forum: Ask for Help (v2)
Topic: gdip_imagesearch v2? or ImagePut? output multiple matches?
Replies: 6
Views: 1020

Re: gdip_imagesearch v2? or ImagePut? output multiple matches?

@iseahound
Looks delicious, thanks for your hard work!
It would also be nice to be able to specify an alpha color to ignore (for example: FF0000), as well as add an accuracy threshold if the fragment sometimes changes brightness.
by bapl
18 Dec 2022, 15:26
Forum: Ask for Help (v1)
Topic: Get Handles Device/AFD
Replies: 2
Views: 423

Re: Get Handles Device/AFD

up pls x3
by bapl
16 Dec 2022, 13:52
Forum: Ask for Help (v2)
Topic: gdip_imagesearch v2? or ImagePut? output multiple matches?
Replies: 6
Views: 1020

Re: gdip_imagesearch v2? or ImagePut? output multiple matches?

iseahound wrote:
16 Dec 2022, 13:03
Currently ImagePut returns only the first match
Have you thought about adding this?
by bapl
16 Dec 2022, 12:13
Forum: Ask for Help (v2)
Topic: gdip_imagesearch v2? or ImagePut? output multiple matches?
Replies: 6
Views: 1020

gdip_imagesearch v2? or ImagePut? output multiple matches?

Hello! In AHK V1, I found Gdip_ImageSearch, it distributed image search to me by hwnd. It is also covered by the background and put on several related matches. #Include Gdip_All.ahk #Include Gdip_ImageSearch.ahk CoordMode Pixel, Screen Token := Gdip_Startup() WinGet, hwnd, ID, A bmpHaystack := Gdip_...
by bapl
26 Nov 2022, 17:49
Forum: Ask for Help (v1)
Topic: Get Handles Device/AFD
Replies: 2
Views: 423

Re: Get Handles Device/AFD

Up.
Help me pls :c
by bapl
21 Nov 2022, 16:44
Forum: Ask for Help (v1)
Topic: Get Handles Device/AFD
Replies: 2
Views: 423

Get Handles Device/AFD

How can I get the handle of this object using AHK: image.png I used this https://learn.microsoft.com/en-us/sysinternals/downloads/handle Entered the following command: objShell := ComObjCreate("WScript.Shell") objExec := objShell.Exec(ComSpec " /c handle -a -u afd -p NameApp") ; afd is what I'm look...
by bapl
16 Nov 2022, 03:29
Forum: Ask for Help (v2)
Topic: InputHook does not recognize Numpad keys Topic is solved
Replies: 10
Views: 1079

Re: InputHook does not recognize Numpad keys Topic is solved

@lexikos
This is quite the best answer for me. After that, my questions immediately disappear. Thank you for such a detailed answer and your time!

Go to advanced search