Jump to content
Sign in to follow this  
Guest Shu

@SW_MAXIMIZE

Recommended Posts

MattX

how to use @SW_MAXIMIZE?

<{POST_SNAPBACK}>

With the run command - checkout the RUN command in the help file. Treat it as a flag I think....

Run("Notepad.exe", "", @SW_MAXIMIZE)

Share this post


Link to post
Share on other sites
Blue_Drache

RTFM

For use with the WinSetState, Run, RunWait, FileCreateShortcut and FileGetShortcut functions:

@SW_MAXIMIZE  Maximizes the specified window.

Run ( "filename" [, "workingdir" [, flag]] 

filename The name of the executable (EXE, BAT, COM, or PIF) to run.

workingdir [optional] The working directory.

flag [optional] The "show" flag of the executed program:

  @SW_HIDE = Hidden window

  @SW_MINIMIZE = Minimized window

  @SW_MAXIMIZE = Maximized window

Edit: Darnit max...you beat me. Edited by Blue_Drache

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites
killaz219

If you dont want to run a new program, then use

WinSetState ( "title", "text", @sw_maximize )

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.