Jump to content
Sign in to follow this  
trex2strike

How to start programme minimized

Recommended Posts

I am fresh user and this is perhaps the first time I am working with scripts and all that. I just learned three basice tutorials of using notepad, winrar and task manager.

I just want to know the script commands on how to start a programme minimzed/maximized.

Additional Help: The proggamme I need to start minimized is directly minimized to tray[by default normally when I click minimize]. And obviously there will be a tray notification which I don't want it to appear...could someone help with a tutorial script?

Share this post


Link to post
Share on other sites

trex2strike,

Welcome to the AutoIt Forums. :)

You will be wanting to check the help file for the Run/RunWait commands. They accept a state parameter that can be @SW_Minimized see below. You can click on the function names.

Run(@WindowsDir & "\notepad.exe", "", @SW_MINIMIZE)

Anonymous

Thanks for your kind reply

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...