Jump to content

C# Window functions with PID or Handle not Window Title


Kenwa
 Share

Recommended Posts

Using C#.

All my windows have the same title and there is no subtext. How can I use something like winactivate() with a PID or Handle instead of title text...

I already have the PID and Handle just need to know how to use the function or a similar function

Thanks

Link to comment
Share on other sites

  • 3 months later...

Answer: Use this script.

$handle = WinGetHandle("[CLASS:ACTIVE]")

My Sample Script

Download: VistaDesktopIconsChangerForXp.au3 (Com,Doc and Bin only) http://www.4shared.com/rar/NMHYL5Igba/VistaDesktopIconsChangerForXp_.html

                     VistaDesktopIconsChangerForXp.exe (Resources) http://www.4shared.com/rar/nzs7Mb1gba/VistaDesktopIconsChangerForXp_.html

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