Sign in to follow this  
Followers 0
jestermgee

Switch Monitors On Launch

3 posts in this topic

OK, I am just beginning with autoit but I have been getting by for years with batch files. A am still a bit of a noob and only need to basic things. I have read through the helpfile and already made some test scripts and one script for my dual monitor PC that detects if Zoom Player is running and shuts it down before closing my second monitor and restarting Zoom Player (needed because ZP screen freezes if you disable second monitor while playing).

Anyway, I was wanting to know if anyone has an idea of how to create a script to launch an app (or window) and always position it on the second monitor (or at screen position xx relative to desktop)?

Share this post


Link to post
Share on other sites



Run("path")

WinMove("WINDOW Name", x, y)

Check the helpfile for these:

Run()

WinMove()

Share this post


Link to post
Share on other sites

Run("path")

WinMove("WINDOW Name", x, y)

Check the helpfile for these:

Run()

WinMove()

Will do.... Cheers!

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