Sign in to follow this  
Followers 0
Guest Shu

@SW_MAXIMIZE

4 posts in this topic




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

#3 ·  Posted (edited)

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

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  
Followers 0