Jump to content

is there a way to gat handle (HWND) from PID?


 Share

Recommended Posts

i try make a GUI thet show if a program is working and if there ar multi you will see it by the Handle is a show hide code

if there ar 4 A Process it will show this

1 | A | handy

2 | A | handy

3 | A | handy

4 | A | handy

winlist is not good because the wintitle chance every time i open it but the Process name stay the same

Link to comment
Share on other sites

i try make a GUI thet show if a program is working and if there ar multi you will see it by the Handle is a show hide code

if there ar 4 A Process it will show this

1 | A | handy

2 | A | handy

3 | A | handy

4 | A | handy

winlist is not good because the wintitle chance every time i open it but the Process name stay the same

Processlist gives the name of the process and the PID. WinGetProcess get the PID for a title and WInList gets the list of window titles with the handles. So use ProcessList to get the PID. Then use WinList, and for every window title get the process PID if it is the PID you want then you have the handle.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...