Can i minimize console??

Ask general questions here.
marcushe
Posts: 112
Joined: Tue Apr 14, 2009 6:38 am

Can i minimize console??

Post by marcushe » Tue Dec 15, 2009 2:29 am

Each time the program start up , the console will emergy and i want to minimize it(not hide). what should i do??

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Can i minimize console??

Post by Support Team » Tue Dec 15, 2009 9:39 am

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