Sign in to follow this  
Followers 0
Guest checkist

Changing PID to handle?

4 posts in this topic

I'm newbie here.

First of all. "How are you gentlemen!"

[Question (simple version)]

How can I convert PIDs to Windows Handles (HWNDs)?

[Question (long version, same as simple version)]

1. Run() function returns PID.

2. Many (all?) of windows handling functions (ex. ControlMove() )

identifies target window by its title, text, or HWND

3. 'WinGetHandle()' function which retrieves HWND of given window,

doesn't seem to accept PID as arguments.

4. What can I do?

Share this post


Link to post
Share on other sites

Well, I searched the forum with keyword 'PID' before, but didn't find it

Anyway, thank you CyberSlug! all your base....(cough cough)

Share this post


Link to post
Share on other sites

Hey thanks for the post, it reminded me I needed to change something :)


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
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
Sign in to follow this  
Followers 0