Sign in to follow this  
Followers 0
YpR^

Need some command help.

5 posts in this topic

Is it possible to remove the "bar" from a windowed program and afterwards move it to the top//bottom left // right,,,

what command to use ?... if i .ex. would put Paint in the top left corner without the bar,,... what should the code look lige ?

or else.... what to read in the help file ?


Share this post


Link to post
Share on other sites



I am afraid that you cant remove the title bar, but you may try to move the window a little outside the screen to hide it off the corner...

Share this post


Link to post
Share on other sites

I've figured the move // resize thing out... but only need to remove the "bar" .... i'll look at the "outside" screen method... thx


Share this post


Link to post
Share on other sites

I've figured it out.. :huh2:

Run("msPaint.exe")

Sleep(4000)

WinMove("Unavngivet - Paint", "", 0, -30, 800, 600)

Sleep(3000)

About (x,-30) ,.... thx :D


Share this post


Link to post
Share on other sites

You are welcome.

The problem maybe the screen resolution, if anyone have something different than 800x600 your script may not work.

Check @Desktopheight and @desktopwidth, also you may read the title bar height in the registry.

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