Scripting WinME? Please be gentle!

Grazie wrote on 3/3/2003, 6:39 AM
Hi folks! - Apologies for being a "Numb-Nutz!"

So, what do I need to get the Vegas4 "js" scripts working? I've been to the Microsoft Download site . . .and ..... I'm a tad confused!

It tells me that WinME is supported but then tells me that the SDK is not available for WinME - Hmmm... I'm a bit confused.

Please SoFo or others just give me a simple "This is what you need to do" SCRIPT! - I've seen as mass of download options . . .phew!

Excited to use these new options,

Grazie

Comments

JohnnyRoy wrote on 3/3/2003, 7:59 AM
Grazie, I just answered this one yesterday in this thread. You only need the redistributable package which can be found here.

You are correct that SDK is NOT available for WinMe. The SDK is only needed for developing .Net applications in C#, C++, VB, etc. and unfortunately Microsoft didn’t want to deal with us WinMe users doing development so you need to upgrade to WinXP or Win2K if you want to be a .Net programmer. (but I don’t think you want to become one) This will not affect your ability to write scripts. You can still write scripts and run scripts with just the redist package. In fact, you can actually write C# applications with the redist package because it comes with a C# compiler. You just can’t use Microsoft’s SDK tools.

~jr
Grazie wrote on 3/3/2003, 8:21 AM
JR - Thanks for that. I got the .NET Framework from Windows Updater page. MS took hold of my pc and did its thing. I didn't physically manually install anything! MS did it all - I just needed to reboot.

I like the options to write stuff - in the future! - Can you give me something I could try out in Vegas4 to establish all is well? I did try the "Simple.js" Vegas4 script - it came back telling me I had Vegas4 and the version nuimbe - oh well it's a start -yeah? I tried Roger's script for audio in/out script. Came back with a bunch of stuff - don't know what it menat - hey ho!

Apologies for being a dolt on this.

CHeers

Grazie
Paul_Holmes wrote on 3/3/2003, 8:29 AM
Here's a good script from Joe Sacher I've been using. Allows you to park anywhere on the timeline and then have the snapshot saved to the clipboard. Makes sure it's full resolution and deinterlaced.

Copy Snapshot to Clipboard
Grazie wrote on 3/3/2003, 9:16 AM
Okay Paul . . . Downloaded "SnapshotToClipboard.js" - Put it in a Folder. Went Tools>Scripting>Run Script . . . selected SnapshotToClipboard . . went okay. Hour-glass momentarily came up. Nothing on the "Paste" option. Hmmmm . . I must be doing something silly. I've got the Preivew window on Best - don't know what else I should be doing. As I say I got the "Simple.js" script to go - so? What do you think?

Where should the "Copyied" still be laying about?

Grazie
Grazie wrote on 3/3/2003, 9:30 AM
Paul - I can MANUALLY save an Image with the floppy disc icon - no problem. However I can't manually make the "Copy to Clipboard" icon function and then "Paste" this copied to clipboard image - yeah? Is there a Preference allowing the Copy to Clipboard to function? Could this be the problem?
JohnnyRoy wrote on 3/3/2003, 5:35 PM
Grazie,

If you got the sample.js to display a popup message with the version of Vegas then your scripting engine is working fine. That was its purpose. Now all you need to do is find some scripts that you think are useful in automating tasks. If you run the AddEffectToAllMedia.js it will add SMPTE timecode to all the media in your media pool. Try it and see... go ahead I’ll wait here...

OK are ya back? ;-) Good, you should now have a timecode display added to all your media. Now run the RemoveEffectToAllMedia.js and it will remove the effect you just added. You can see how this would be great at adding an effect like timecode that you might want to use while editing and then removing it before you render.

So the scripts allow you to add functions to Vegas via a programming language.

~jr
Paul_Holmes wrote on 3/3/2003, 7:22 PM
Grazie, with the Joe Sacher script, just run it like you did and have a photo-editing program running also. Alt-Tab to your photo program, then do (typically) an "Edit-Paste" command. When you ran the script the photo is in the Windows clipboard. You just have to switch to a program that allows you to paste that into it.
Grazie wrote on 3/4/2003, 1:29 AM
JR and Paul - London UK here . . .soooo . . I went to bed early last night . . had spent the whole day "getting to grips" with this scripting function.

JR - Yes, I guessed as much that if I was getting the "simple.js" to work then .NET was doing its thang! Thanks for your patience and your reassurance - "Try it and see... go ahead I’ll wait here..." But as you see I went and got some sleep. I'll have a go soon [ it's now 7:30am in London - first cuppa coffee hitting home! ] . .. within the next 2 hours. We could resume my "Teach-in" then - yeah? Or maybe you are asleep - no worries. As you know JR, I've got another thread going regarding Roger's script for forcing an audio effect to a clip, over at the Scripting FOrum. I'll have a look see there soon.

Paul - Your "When you ran the script the photo is in the Windows clipboard. You just have to switch to a program that allows you to paste that into it." - says it all. Numb Nutz here ASSUMED it would put it on the clip board for "Pasting" back into a spare piece of TImeline - okay laugh! I can take it! . . .But if it could, well isn't THAT a valuable script for someone to do? - But, yes I'll give it a go too - that's your recommendation - NOT the scritping!

In any event, this scripting function sure has some unbelievable benefits both for us users but also for the longevity of SoFo.

Thanks lads, you've been stallworts [ not sure of the spilling here?]

Many many thanks

Grazie
Grazie wrote on 3/4/2003, 2:37 AM
Thanks Lads! - It does what it says on the Can!

I got Add and remove media to work - Thannks JR. - ps it adds a Timcode - is that correct? How do I "pick" what I want? - Can't make Quick Envelope work - more of this below and over at Scripting . . .

I got Copy to clipboard and pasted it into MSPhotoDraw - Thanks Paul.

All I need to make work is Rogers's quick envelope. I've made a separate thread over at the "Frankenstien's Place" - hee hee - remember "Rocky Horror Picture Show" - Thought you'd like that JR! - JR, you say you got the QE working on WinME? Others over there have also got it working - I can't establish if they have it working on WinME or just Win98se. Any chance of us making this happen for me - please?

Getting there - Now, where did I put my abacus? - I'll get to grips with scripting I'm sure, I just need time. Well . .. I've got all these Forums to read and so on ... and so on . . .Then I might even write a bit for the JeditDV Newsletter . . .Hey I need to do some filming and editing too!

Thanks good people, - This is a long, long way from VideoSlave too!

Grazie
RedRob-CandlelightProdctns wrote on 4/1/2017, 1:10 PM
<...snip...>If you run the AddEffectToAllMedia.js it will add SMPTE timecode to all the media in your media pool. Try it and see... go ahead I’ll wait here...
<...snip...>
~jr

OK.. this has been a nuisance for me for some time now. I want to add a filter to all *selected media* the Project Media. (e.g. one of my cameras shoots a bit soft, so I always want to apply a light sharpening filter to it) If there are 20 media clips from that camera, I have a tedious process to add them one at a time.. UGH.

Where is this "AddEffectsToAllMedia.js" and does it work on just selected media in the project media list maybe?

Ideally, drag/drop effects onto the media list in the media pool would do something :-/ I submitted this as an enhancement request a while ago, but .. *sigh*

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

RedRob-CandlelightProdctns wrote on 4/1/2017, 1:22 PM

OK.. silly me.. I found the script.. simple Google search. Now I just need to figure out how to tweak it to only effect selected Project media instead of the enumerated list of *all* project media... hmm....

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio