[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

Moving an application window programmatically or with a script

Asked by shanekc in Miscellaneous Software

Tags: move, window, programmatically

Let me give you the background:

I am a computer systems engineer by day and audio engineer by night. I am responsible for the sound, lighting and projection systems at our Church. I have recently designed and installed a system for the sound based on a new Yamaha Digital mixing console.  The idea is that the console connects via MIDI to a Windows XP Pro PC running 3 main apps:
1)  Steinberg Cubase VST (to allow MIDI control of the mixer)
2)  PAS Spectrum Analyzer Professional (to provide spectrum analysis on the input of one of two installed soundcards
3)  Steinberg Wavelab (to record the input of the second sound card)

All 3 programs are configured to automatically load at startup for the minimum possible user interaction with the PC.

The PC is connected to two LCD screens. The primary screen is intended to display the Cubase software and the secondary screen will be split horizontally to display spectrum analysis on the top half and the recording on the lower half.
The PC is also fitted with a PCI WLAN card and we have an ASUS MyPAL A620BT Pocket PC with a WLAN Compact Flash adaptor to communicate with the PC.  I have a program called PTvncGPRS installed on the PPC which acts as a VNC client providing a full screen display of the host PC.

You can probably see by now that the intention is to be able to wirelessly remote control the audio mixer from a PPC anywhere in (or even out) of the Church auditorium.

My problem is this:
The VNC client on the PPC only displays the host PC's primary display.  Since Cubase will run fine on the primary display, this does not present a problem EXCEPT that the PAS Spectrum Analysis software will NOT remember it's screen location.  Every time it loads, it starts maximized on the primary display regardless of where I moved it to during the previous session.

I seem to recall that in Win9x there were lines in the WIN.INI or the SYSTEM.INI file that specified the location and size of various programs' windows.  I can find no such references in these files on the Windows XP system.  Even if I load the program with the "start minimized" switch in the shortcut it starts maximized so I don't think it's programmed to be too "Windows-friendly".  There is nothing in the program documentation about this and PAS technical support have been far less than helpful.

Having had some very limited experience with Visual Basic environments, what I would like to do is write a VB script that will take the PAS Spectrum Analyzer app window AFTER it has loaded into it's default position maximized on the primary display, and MOVE it to the secondary display.  I don't mind if it is still maximized on the secondary display as Wavelab will happily load over the top of the lower half of Spectrum Analyzer's window.

Can anyone shed some light??
[+][-]02/16/05 01:50 AM, ID: 13322158Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Miscellaneous Software
Tags: move, window, programmatically
Sign Up Now!
Solution Provided By: dbrckovi
Participating Experts: 1
Solution Grade: A
 
[+][-]02/16/05 02:02 AM, ID: 13322238Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/16/05 02:04 AM, ID: 13322251Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/16/05 03:47 AM, ID: 13322745Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/16/05 04:24 AM, ID: 13322918Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/16/05 10:46 PM, ID: 13332128Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/17/05 07:24 PM, ID: 13342371Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81