Sign in to follow this  
Followers 0
Godownage

Couple how to questions

2 posts in this topic

Alright how would i do the following:

1. Example i want Notepad to always be showing, and someone minimized it, do i just make the script send Alt + Tab if notepad = 0 or something.

2. Say notepad opens up as a 800x600 window, and the pc is running a 1024x768, and i want notepad to stay at 800x600 but be put in the top left corner of the screen. I have no clue how to do this.

I think thats all i need to know, please help me thanks!


Share this post


Link to post
Share on other sites



Alright how would i do the following:

1. Example i want Notepad to always be showing, and someone minimized it, do i just make the script send Alt + Tab if notepad = 0 or something.

2. Say notepad opens up as a 800x600 window, and the pc is running a 1024x768, and i want notepad to stay at 800x600 but be put in the top left corner of the screen. I have no clue how to do this.

I think thats all i need to know, please help me thanks!

<{POST_SNAPBACK}>

1. WinActivate() and WinSetState() can control the focus and the state of a window.

2 WinMove() will be able to put it at the correct position..


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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