Scripting question

All topics on WaveLab 7 and WaveLab Elements 7
Post Reply
audiovrd
New Member
Posts: 1
Joined: Thu Feb 25, 2016 9:14 pm
Contact:

Scripting question

Post by audiovrd » Thu Feb 25, 2016 10:53 pm

Hi,

I am unable to find any code example relating to the batch processors. I have searched the Windows scripting PDF for WL8.5 and the forum here with no luck. Specifically, I need to know the command to invoke the batch processor. I successfully used this to invoke the main application:

Dim app
Set app = CreateObject("WaveLab8.Application")
While app.IsReady() = False
WScript.Sleep(100)
Wend

Attempts to instantiate the batch processors window have been unsuccessful. I'm running the latest 32bit WaveLab and I do see Batch-specific entries in HKEY_CLASSES_ROOT (e.g. WaveLab8_5.BatchProcess and WaveLab8_5.BatchProcess.1).

Thanks for taking a look. Best regards.

PG
Moderator
Posts: 6634
Joined: Wed Dec 15, 2010 6:15 pm
Contact:

Re: Scripting question

Post by PG » Fri Feb 26, 2016 10:40 am

This should work:

Dim batch
Set batch = CreateObject("WaveLab8_5.BatchProcess")
batch.Open("C:/MyStuff/BatchTest.batproc")


Note: use WaveLab8_5 and not WaveLab8
Philippe

Post Reply

Return to “WaveLab 7 | WaveLab Elements 7”

Who is online

Users browsing this forum: No registered users and 1 guest