Link to home
Start Free TrialLog in
Avatar of panhead802
panhead802

asked on

vbs to launch applications on specific monitor

I have a script that launchs 4 applications, each of which monitors that status of different Printer rips. I have a  4 monitor windows 8 configuration. I need to be able to specify which monitor each of the applications is launched to.

I have no issue launching from a BAT file as opposed to a script, either will work just need to specify the monitor.

Thanks
Avatar of Qlemo
Qlemo
Flag of Germany image

Commercial solutions are available to provide you with the means to easily to do that (e.g. rules based on application or window title). One I'm happy with is Actual Multiple Monitors.

If you want to do it yourself but without programming. I recommend to use cmdow. You will always need the window coordinates of each screen, even if using PowerShell / VBS or whatever, but I guess that's no issue here.
I would recommend AutoHotKey.
The documentation for it can be found here.
I would specifically recommend looking at the run, RunAs, WinWait, WinMove, and WinSet.

This will allow you to run external programs, wait for the window to appear and then, if necessary, move the window to the appropriate location on the monitor(s) and set the title of that window.
I've requested that this question be closed as follows:

Accepted answer: 250 points for Qlemo's comment #a40361321
Assisted answer: 250 points for WalkaboutTigger's comment #a40361361

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
ASKER CERTIFIED SOLUTION
Avatar of Darrell Porter
Darrell Porter
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial