trex2strike Posted April 16, 2013 Share Posted April 16, 2013 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? Link to comment Share on other sites More sharing options...
Decipher Posted April 16, 2013 Share Posted April 16, 2013 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 Spoiler Link to comment Share on other sites More sharing options...
JohnOne Posted April 16, 2013 Share Posted April 16, 2013 @SW_Minimize @SW_Maximize AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
trex2strike Posted April 16, 2013 Author Share Posted April 16, 2013 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 Link to comment Share on other sites More sharing options...
Decipher Posted April 16, 2013 Share Posted April 16, 2013 trex2strike, No problem and we hope to see ya around. Anonymous Spoiler Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now