Get the window size af another application
Hi...
I got this:
using System;
using System.Collections;
public class MyClass
{
public static void Main()
{
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName= "notepad.exe";
proc.Start();
Console.WriteLine("{0}",proc.MainWindowTitle);
proc.WaitForExit();
}
}
But how do i get the windows size of my startet application? And how do i read the content of the window ?