Jump to content

Starting applications on a maximized window


Recommended Posts

Guest Tyler Durden
Posted

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!

  • Replies 2
  • Created
  • Last Reply

Popular Days

Posted

Re: Starting applications on a maximized window

 

*Bonjour Tyler Durden * !

<news:e2toVsuCJHA.3348@TK2MSFTNGP04.phx.gbl>

> 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")

 

--

Regards, Jean-François

Guest Tyler Durden
Posted

Re: Starting applications on a maximized window

 

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.

 

 

 

"JF" <JF@-> wrote in message news:%236M3cvvCJHA.4932@TK2MSFTNGP03.phx.gbl...

> *Bonjour Tyler Durden * !

> <news:e2toVsuCJHA.3348@TK2MSFTNGP04.phx.gbl>

>

>> 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")

>

> --

> Regards, Jean-François

>

>


×
×
  • Create New...