Page 1 of 1

Run Application minimized

Posted: Fri Sep 16, 2011 8:16 am
by swmatisa
WinXP SP3 (WindowsUpdate done)
Ranorex 3.1.0
*********************************
Hello,
I need to start an application "minimized". I see it is possible to "maximized", but not "minimized".
My workaround is to click on minimize button. Is there another way?

Thanks for you help.

Re: Run Application minimized

Posted: Fri Sep 16, 2011 9:13 am
by Support Team
Hi,

There is no such functionality because we thought there is no need for it.
Why do you need to minimize your application, what is the sense of it?

Regards,
Markus
Ranorex Support Team

Re: Run Application minimized

Posted: Fri Sep 16, 2011 10:16 am
by swmatisa
Support Team wrote:Why do you need to minimize your application, what is the sense of it?
Good question: my application under test is communicating and interacting with other applications and hardware systems. To start my test, I need to also start the "test environnement" in minimized mode.

It is a little bit like http://www.ranorex.com/forum/how-to-run ... t2520.html. Multi-Monitor and size managment will be an helpful improvement for a future release :wink:

Best regards

Re: Run Application minimized

Posted: Fri Sep 16, 2011 11:38 am
by Support Team
Hi,

You can use this CodeModule to run your application in minimized mode.
There are two variables which you can/have to set, the "Application" variable, the path to your exe (i.e. iexplore.exe) and the "Argument" variable for additional arguments (i.e. http://www.google.at).
You can bind them to global parameters.

Regards,
Markus
Ranorex Support Team

Re: Run Application minimized

Posted: Fri Sep 16, 2011 2:53 pm
by swmatisa
Support Team wrote:You can use this CodeModule to run your application in minimized mode.
There are two variables which you can/have to set, the "Application" variable, the path to your exe (i.e. iexplore.exe) and the "Argument" variable for additional arguments (i.e. http://www.google.at).
Thanks for your code module. It si a good and simple sample of module.

Regards