ByteScout Image To Video SDK - VBScript - Multiple Instances - ByteScout

ByteScout Image To Video SDK – VBScript – Multiple Instances

  • Home
  • /
  • Articles
  • /
  • ByteScout Image To Video SDK – VBScript – Multiple Instances

multiple instances in VBScript and ByteScout Image To Video SDK

How to code multiple instances in VBScript: How-To tutorial

We’ve created and updating regularly our sample code library so you may quickly learn multiple instances and the step-by-step process in VBScript. Multiple instances in VBScript can be implemented with ByteScout Image To Video SDK. ByteScout Image To Video SDK is the software development kit that can take a set of images and generate video slide show from them. Includes built-in support for 100+ of 2-D and 3-D slide transitions effects. Supports output in WMV, AVI, WEBM video formats.

You will save a lot of time on writing and testing code as you may just take the code below and use it in your application. To do multiple instances in your VBScript project or application you may simply copy & paste the code and then run your app! You can use these VBScript sample examples in one or many applications.

ByteScout Image To Video SDK free trial version is available for download from our website. Free trial also includes programming tutorials along with source code samples.

Try it today: Get 60 Day Free Trial or sign up for Web API

multiple.vbs
      
Set converter1 = CreateObject("BytescoutImageToVideo.ImageToVideo") Set converter2 = CreateObject("BytescoutImageToVideo.ImageToVideo") converter1.SetLogFile "log1.txt" converter2.SetLogFile "log2.txt" converter1.AddImageFromFileName("Desert.jpg") converter1.AddImageFromFileName("Koala.jpg") converter1.AddImageFromFileName("Penguins.jpg") converter2.AddImageFromFileName("..\..\slide1.jpg") converter2.AddImageFromFileName("..\..\slide2.jpg") converter2.AddImageFromFileName("..\..\slide3.jpg") Set slides1 = converter1.Slides Set slides2 = converter2.Slides Set slide1 = slides1.GetSlide(0) slide1.Effect = 1 Set slide2 = slides2.GetSlide(0) slide2.Effect = 1 converter1.OutputVideoFileName = "Output1.wmv" converter2.OutputVideoFileName = "Output2.wmv" converter2.Run converter1.Run while converter1.IsRunning Or converter2.IsRunning WScript.Sleep 100 wend converter1.JoinWMVFiles "output1.wmv", "output2.wmv", "Final.wmv" msgbox "All threads are done." Set slide1 = Nothing Set slides1 = Nothing Set converter1 = Nothing Set slide2 = Nothing Set slides2 = Nothing Set converter2 = Nothing ' Open the output file in default app Set shell = CreateObject("WScript.Shell") shell.Run "final.wmv", 1, false Set shell = Nothing

Try it today: Get 60 Day Free Trial or sign up for Web API

MORE INFORMATION

Get 60 Day Free Trial or Visit ByteScout Image To Video SDK page

Explore ByteScout Image To Video SDK documentation

WEB API VERSION

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next