Jump to content

Couple how to questions


Recommended Posts

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!

Link to comment
Share on other sites

  • Developers

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..

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

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