Starting applications on a maximized window

T

Tyler Durden

Some applications can't be started with its windows maximized, requiring a
mouse click or keyboard shortcut (that is not always the same, since it
changes with the language of the OS). Someone knows of a method, like a
small portable freeware application, to create a command line that starts an
application maximized?

Try to start the Microsoft Computer Management Console maximized
(compmgmt.msc).

Thanks to everyone!
 
J

JF

*Bonjour Tyler Durden * !
Some applications can't be started with its windows maximized, requiring a
mouse click or keyboard shortcut (that is not always the same, since it
changes with the language of the OS). Someone knows of a method, like a small
portable freeware application, to create a command line that starts an
application maximized?
Try to start the Microsoft Computer Management Console maximized
(compmgmt.msc).
Thanks to everyone!

Not a very nice method to send keys but it helps :
runcompmgmtmax.vbs ==>


Set Shell = WScript.CreateObject("WScript.Shell")
Shell.Run "compmgmt.msc", 3
WScript.Sleep 2000
Shell.SendKeys ("% ")
Shell.SendKeys ("n")
 
T

Tyler Durden

Thanks, but the send keys method does not work with all possible OS
languages and the delay is also unwanted because there are other apps to
start in the same script, like autoruns, hijackthis, etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top