Jump to content

Recommended Posts

Posted

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?

Posted

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

censored.jpg

 

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...