Dears I'm in a trouble. How to convert PID to window handle.... Wen I run a program ->Run ( "filename" )<-, I receive a PID as result. I only have the "filename" , no known title, class, etc., as this "filename" is passed as the only parameter thru $commandline. Immediatedly I need to wait up to that program to be running... and later I need to use _ScreenCapture_CaptureWnd, where the window Handle is required. So, from PID I need to go to hwnd... Any suggestion? I searched all help, but