• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Non-programmer needs help

Creig

Diamond Member
I recently put together three video conferencing stations using Polycom hardware and software. Even though their hardware requires me to use the "Line In" port on my sound card, their software changes it to "Microphone" every time the application is run. The really stupid thing is that there is no setting in the options menu to change this behavior. It is hard coded into the program.

I've been talking back and forth with Polycom for a couple weeks now and cannot get a straight answer as to why their software is programmed to do this. And when I submitted a "Feature Request" form, they responded back that they have no plans to change this behavior. And nobody I've spoken to seems able to put me in touch with the programmers to be able to ask them why they set the software to do this. :|

As it stands now, a person would have to start the Polycom software, go into the Volume Properties, go to Options, then Recording, then click Ok, then change the selected input to Line In and finally exit the Recording Properties window. To me, this is simply annoying. To some of the non-computer literate people in my office, this would be relatively impossible.

So now I am forced to find a solution on my own. One idea I had is that a small script could be set to execute automatically after the Polycom software is run. This script would wait approximately 5 seconds after the polycom executable is run and then it would change the soundcard's input to "Line In".

As I said, I am not a programmer so I thought I would ask in here if this would feasible and, if so, would it be relatively simple? If someone here has knowledge of how to do this and would be willing to assist me with it, I would be extremely grateful. Perhaps some bit of hardware or a small Paypal donation? I'm creating these on my own and won't be compensated for any hardware or money I put into creating them (I've already donated the three S.B. Live cards that are in them). But I am willing to put some of my own $ towards creating them if it means our employees might be able to save themselves an 800 mile roundtrip drive for a 1 hour meeting. 😛

(and yes, it has happened on multiple occasions)


Thank you.

Creig
 
One easy non-programmer solution would be to get a macro recording program to automate this process for you.

It will record all your mouse/keyboard actions and reproduce it. If each user had the same settings and the same macro script, they could just start the script and the polycom software would get started and the line-in progress would be automated.
 
Hmmm.... I hadn't considered that. Not very elegant, but it would be effective.

I'm still hoping to be able to discover either a way to lock the system into using ONLY the "Line In" port so it can't be changed or creating a script to set the port back to "Line In" after the PVX software stupidly sets it "Microphone" every time it's run. But I'll start looking into your macro idea, AceO07.


Thanks! And keep those ideas rolling in!
 
Well, I found a solution using Windows Host Scripting. It's not pretty, but it does work. It didn't take long to figure out how to program for it. Just in case anyone else out there wants to use their Polycom SoundStation EX or Premier with a Polycom Video Interconnect box, I'm going to post the code I used to get the system to change the sound card back to "Line In" after the PVX software starts:

var WshShell = WScript.CreateObject("WScript.Shell");
WshShell.Run("sndvol32");
WScript.Sleep (500);// wait 500 ms
WshShell.SendKeys("%"); // ALT key to highlight the Options Menu
WshShell.SendKeys("p"); // p key to open the Options Menu
WshShell.SendKeys("r"); // r key to open the Properties Window
WshShell.SendKeys("{TAB}"); // TAB key to switch to the 'Adjust volume for' menu
WshShell.SendKeys("{DOWN}"); // DOWN arrow to select Recording
WshShell.SendKeys("~"); // = return, push the button
WshShell.SendKeys("^{TAB}"); // Ctrl Tab to move forward one button. Our system needs 5 Tabs to reach Line In selector
WshShell.SendKeys("^{TAB}");
WshShell.SendKeys("^{TAB}");
WshShell.SendKeys("^{TAB}");
WshShell.SendKeys("^{TAB}");
WshShell.SendKeys("{ }"); // = space bar, push the button
WshShell.SendKeys("%{F4}"); // = alt+f4, exit mixer


Simply copy this code into notepad and save it. Then change the extension from .txt to .js Then either link it to the PVX shortcut (which is what I'm going to do) or leave it on the desktop and have the users double-click it once the PVX software is running. If you are going to link it to the PVX shortcut, I would add a line above the WshShell.Run("sndvol32"); line that says WScript.Sleep (10000); That will tell the script to pause for 10 seconds before continuing. This will ensure that the PVX software has fully loaded and has finishing switching the port from Line In to Microphone.

A list of the various SendKey commands can be found at http://www.devguru.com/Technol...wshshell_SendKeys.html
 
Back
Top