Subject:Simple script help
Posted by: RTVOK
Date:4/28/2011 8:18:45 AM
Hello, i'm totally new in SF scripting and i need an advice or some directions how to make a script that will delete specified length from beginning and from the end of an sound file and save that file (replace with existing). I wanna do this like a "batch" process. Thanks :) |
Subject:RE: Simple script help
Reply by: roblesinge
Date:4/28/2011 1:41:13 PM
Is the length of time constant throughout the batch? Meaning, you want the same amount of time off the F & B of all files? Does that need to be selectable, or can it just be built into the script? Rob. |
Subject:RE: Simple script help
Reply by: roblesinge
Date:4/28/2011 9:48:26 PM
This is just something I threw together quickly. It has virtually no error handling, so it's easy to break. You have to make sure that all of the files are longer than the amount you're trying to delete from them. It could be cleaned up if needed to handle exceptions like that. All the files you want to batch need to be in one folder, which you select when running the script.
Is this what you were trying to do? -Rob. Message last edited on4/29/2011 7:43:29 AM byroblesinge. |
Subject:RE: Simple script help
Reply by: RTVOK
Date:5/9/2011 8:12:54 AM
Yes sir, length is constant in every file from the beginning and from the end. i will now check script that you wrote. Thanks for your reply, Vladimir. |
Subject:RE: Simple script help
Reply by: RTVOK
Date:5/9/2011 8:18:47 AM
Sir, you are super duper man :) That's exactly what i needed. Thank you very, very, very much! |