Subject:Simple batch script
Posted by: ForumAdmin
Date:11/11/2009 10:31:03 AM
The topic of manually processing all files in a folder comes up every now and then, so I've posted a sample script demonstrating one method. It has proven useful for simple conversions.
J. |
Subject:RE: Simple batch script
Reply by: ExSonyTJ
Date:11/20/2009 9:00:48 AM
When you SuppressErrorBoxes, it's important to make sure that you also clear any error text before your script exits or the suppressed error text will show up (erroneously) as an error on the next command you execute. In your catch, you should call GetErrorReport(hr, true), like this
|
Subject:RE: Simple batch script
Reply by: jijotomy
Date:11/20/2009 1:01:21 PM
This is the first time I'm running any script. I tested your script and got his error: Compiler error 0x80004005 on Line 25,18 : 'SoundForge.SfHelpers' does not contain a definition for 'ChooseItemFromList' Can you please tell me what I'm doing wrong? |
Subject:RE: Simple batch script
Reply by: ForumAdmin
Date:11/24/2009 9:25:29 AM
I assume you are using Forge 8.0. Those helpers were added in Forge 9.0. You can specify the renderer directly by its extension or the full name as displayed in the Save As dialog instead. Replace this:
with this:
or this:
J. Message last edited on11/24/2009 9:31:02 AM byForumAdmin. |