Object Model Reference : Classes : A : Application : Methods : Application.CorelScript |
Function CorelScript() As Object
Member of Application
The CorelScript method creates a Corel SCRIPT object to which you can pass Corel SCRIPT commands.
The following VBA example creates a new document and adds a rectangle to it using the Corel SCRIPT object model.
Sub ApplicationCorelScript() |
Dim cs As Object |
Set cs = CorelScript |
cs.FileNew |
cs.CreateRectangle 100000, -100000, -100000, 100000, 0, 0, 0, 0 |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.