Jump to content

Use handle or PID?


Recommended Posts

Hello guys.

This is my first post here, I joined for this reason....

I am trying to make an application that sends data to another program, but the problem is we usually run more than just one of the same window, i'm wondering how I should send data without creating many inputboxes and renaming them, and then reading the inputboxes.

For example, how do I change a windows title VIA it's PID or handle? If I could make a listview that has a 2 columns Window | Handle and set the ~Handle column as 0 then it wouldn't be seen, I could send the data via the handle? How do I read the handle from the listview and then send the data via that handle?

Any help would be appreciated, thanks a lot.

Link to comment
Share on other sites

I can't find the edit button, so sorry for double post. I know how to change via handle, WinSetTitle ($hwnd,"","New Title) But via PID it doesnt work...

$PID = "xxx"

WinSetTitle ($PID,"","New Title" that doesn't work, how can I make it work?

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