Community Forums Archive

Go Back

Subject:Scripting using Sound Forge any version
Posted by: ddixon
Date:5/20/2000 1:45:00 AM

Does anyone know a way to use scripting to do the following:
1. Start Sound Forge at a specified time
2. Start recording a file
3. Stop recording at a specified time
4. Save the file

thanks
dale

Subject:Re: Scripting using Sound Forge any version
Reply by: DataCowboy
Date:5/23/2000 2:14:00 PM

Hi Dale,

Sound Forge doesn't have a scripting language in it, so there's no way
to control it with a script, and I don't think any of it's modules are
"exposed" for OLE Automation, so you can't use a separate language to
control it either.

And without native scripting or OLE Automation, I can think of only
one possible way to do this with off the shelf software:

Get automated application testing software (most of this stuff is very
expensive, ~$600-800 for Rational's VisualTest).
Use some Task Schedule software to launch Sound Forge and the Testing
software with the appropriate test script at the appropriate time.
The test script would then run and emulate a user clicking on the
"record" button, then sit idle, then emulate the clicks needed to stop
the recording and save the file.

Otherwise, only an experienced Windows programmer could write an
application to do this, and that won't be cheap either.

Hex
www.thefreeside.com

Dale Dixon wrote:
>>Does anyone know a way to use scripting to do the following:
>>1. Start Sound Forge at a specified time
>>2. Start recording a file
>>3. Stop recording at a specified time
>>4. Save the file
>>
>>thanks
>>dale

Subject:Re: Scripting using Sound Forge any version
Reply by: ddixon
Date:6/9/2000 4:23:00 AM

Thanks for the response Chris, I had figured that's where I was
leaning, its really too bad, I could think of several uses for a
having simple script language in the product. Thanks again for your
response.

Dale

Chris Haisty wrote:
>>Hi Dale,
>>
>>Sound Forge doesn't have a scripting language in it, so there's no
way
>>to control it with a script, and I don't think any of it's modules
are
>>"exposed" for OLE Automation, so you can't use a separate language
to
>>control it either.
>>
>>And without native scripting or OLE Automation, I can think of only
>>one possible way to do this with off the shelf software:
>>
>>Get automated application testing software (most of this stuff is
very
>>expensive, ~$600-800 for Rational's VisualTest).
>>Use some Task Schedule software to launch Sound Forge and the
Testing
>>software with the appropriate test script at the appropriate time.
>>The test script would then run and emulate a user clicking on the
>>"record" button, then sit idle, then emulate the clicks needed to
stop
>>the recording and save the file.
>>
>>Otherwise, only an experienced Windows programmer could write an
>>application to do this, and that won't be cheap either.
>>
>>Hex
>>www.thefreeside.com
>>
>>Dale Dixon wrote:
>>>>Does anyone know a way to use scripting to do the following:
>>>>1. Start Sound Forge at a specified time
>>>>2. Start recording a file
>>>>3. Stop recording at a specified time
>>>>4. Save the file
>>>>
>>>>thanks
>>>>dale

Go Back