Page 1 of 1

Can i minimize console??

Posted: Tue Dec 15, 2009 2:29 am
by marcushe
Each time the program start up , the console will emergy and i want to minimize it(not hide). what should i do??

Re: Can i minimize console??

Posted: Tue Dec 15, 2009 9:39 am
by Support Team
Hey marcushe,
the easiest way is to use Ranorex! :)
Take the console form element and call the .Minimize() method at the beginning of the main method.
// sample code
Ranorex.Form form = "/form[@title~'myapp.exe']";
form.Minimize();
Regards,
Christian
Ranorex Team