Enosoft Users Group Forum Index Enosoft Users Group
high performance tools for music and video
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

(VBScript) Hello, world!

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Enosoft Users Group Forum Index -> Enosoft DV Processor Automation
View previous topic :: View next topic  
Author Message
JohnnyMalaria
Site Admin


Joined: 08 Jan 2006
Posts: 171

PostPosted: Sun Jul 26, 2009 5:51 pm    Post subject: (VBScript) Hello, world! Reply with quote

The simplest script of all is to launch the Enosoft DV Processor. This example also sets the caption of the main window.

Code:
Dim App

Set App = CreateObject("EnoDVProcessor.EnoDV2DVApplication.1")

App.Visible = True
App.Caption = "Hello, world!"

MsgBox "Click OK to close...", vbOKOnly, "Example"

App.Quit


Key points:

The Enosoft DV Processor is a standard Windows COM object and an instance is created using the CreateObject(..) function.

By default, the instance is hidden.

The caption of the main window can be set to a custom value.

The instance of the processor is owned by the VBScript. Without the MsgBox, the script would end immediately and terminate the DV processor at the same time.

The instance of the DV processor can still be controlled interactively.
_________________
John Miller
Enosoft - high performance tools for music and video
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Enosoft Users Group Forum Index -> Enosoft DV Processor Automation All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group