Setting media pool

richjo100 wrote on 12/17/2004, 9:55 AM
Hi all
is it possible to set the media pool as visible? I have written a script to import clips into vegas for use by an editor. however I keep getting emails saying that it has not worked because nothing seems to have happened. The script has imported the media but vegas is displaying explorer or trimmer or transitions..... (and not media pool) so it appears like it has not worked. if the editor clicks on the media pool tab it is there. My question is that is it possible from the scrpt to make the media pool visible to the user?
Thanks
Richard

Comments

jetdv wrote on 12/17/2004, 1:45 PM
Not directly. You might be able to "fake" it by sending the "Alt-5" keypress sequence just before exiting.
richjo100 wrote on 12/21/2004, 3:46 AM
Thanks jetdv. I'll look into it and let you know how I get on
Richard
richjo100 wrote on 1/25/2005, 7:30 AM
use this in a script to call alt-5 whcih makes the media pool visible. Note you may need to pass ESCAPE beforre %5 in order to get vegas into a mode where you can use keyboards

var mediaPool;
mediaPool = new ActiveXObject("WScript.Shell");
mediaPool.SendKeys ("ESCAPE");
mediaPool.SendKeys ("%5");
mediaPool = null;


Richard