Thanks for the great script. I've been meaning to write a script which will let you press a button and instantly be able to "Photoshop" the single video frame at the cursor to get rid of dirt (from video originated on film) or digital dropouts, or other transient problems. I have created many scripts which can extract a single frame and put it on the timeline, and I've written scripts which exec external programs, but this gives me the incentive to finish off this latest script.
Just so that others pick this one up too, I have been using Gilles script today and it is marvellous! Simply marvellous. Why? 'cos it is Marvellously Simple!
I'm having a problem getting this script to work. I copy the code into notepad, replace the folders with Photoshop CS3 paths and save into the Vegas 8 & 9 script folders. It shows up in Vegas but I always get an error when I try to run it. Any ideas?
Thanks, Marc
C:\Program Files (x86)\Sony\Vegas Pro 9.0\Script Menu\Open in PS.js(1) : Syntax error. Write 'var identifier : Type' rather than 'Type identifier' to declare a typed variable
C:\Program Files (x86)\Sony\Vegas Pro 9.0\Script Menu\Open in PS.js(2) : The list of attributes does not apply to the current context
C:\Program Files (x86)\Sony\Vegas Pro 9.0\Script Menu\Open in PS.js(3) : The list of attributes does not apply to the current context
C:\Program Files (x86)\Sony\Vegas Pro 9.0\Script Menu\Open in PS.js(7) : Expected ',' or ')'
C:\Program Files (x86)\Sony\Vegas Pro 9.0\Script Menu\Open in PS.js(7) : Syntax error. Write 'function identifier(...) : Type{' rather than 'Type identifier(...){' to declare a typed function
C:\Program Files (x86)\Sony\Vegas Pro 9.0\Script Menu\Open in PS.js(9) : The list of attributes does not apply to the current context
C:\Program Files (x86)\Sony\Vegas Pro 9.0\Script Menu\Open in PS.js(12) : Invalid character
C:\Program Files (x86)\Sony\Vegas Pro 9.0\Script Menu\Open in PS.js(15) : Syntax error. Write 'function identifier(...) : Type{' rather than 'Type identifier(...){' to declare a typed function
C:\Program Files (x86)\Sony\Vegas Pro 9.0\Script Menu\Open in PS.js(1) : Variable 'using System;' has not been declared
C:\Program Files (x86)\Sony\Vegas Pro 9.0\Script Menu\Open in PS.js(2) : Variable 'using System.Diagnostics;' has not been declared
C:\Program Files (x86)\Sony\Vegas Pro 9.0\Script Menu\Open in PS.js(3) : Variable 'using Sony.Vegas;' has not been declared
Are you including the line "Code block:"? If so, don't. That's not part of the script. It's just something this forum software displays at the beginning of a ... well ... block of code.