Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

program window position

Status
Not open for further replies.

notsmartguy

Technical User
May 7, 2008
1
US
I am trying to write a script that will allow me to open 2 instances of the same .exe program in 2 different window positions. I have a dual monitor system and need to have the program opened on both monitors. I currently have to open it twice and manually reposition the windows. Thank you.
 
A .exe? Wouldn't the browser prompt you to download it as a file? I don't think JavaScript can reposition a windows app that was opened. Maybe you could give us a little more detail and post the code that you've created so far so we can help you.

Adam
 
You could avoid some grief and look at using a bespoke bit of software like this to script (aspects of) Windows - including moving windows about:
AutoIt (for Windows)

Hope this is of value to you.

Cheers,
Jeff

[tt]Jeff's Blog [!]@[/!] CodeRambler
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top