Next pageTable of Contents Home page

CorelSCRIPT Tutorial

Note, this tutorial is not finished yet. It contains only part of the tutorial material intended to be included. This incomplete version should be used for review purposes only.

If you have any comments or suggestions about the tutorial, send them to Alex Vakulenko <>

This document contains tutorial material to learn the scripting feature of CorelDRAW suite. Most of the tutorial describes CorelDRAW 7 OLE Automation interface and CorelSCRIPT 7 scripting language implementation but you can also find some references to CorelDRAW 6 differences from version 7 as well as new features of CorelSCRIPT 8.

CorelSCRIPT is a program interface to OLE Automation mechanism supported by many Windows programs. You can use CorelSCRIPT not only just with CorelDRAW package. You can also use it to automate your tasks in Microsoft Office or any other program. The only demand for it is that the program must support OLE Automation. Each application that supports OLE Automation has a set of methods to gain control over the application's interior. This set is application specific. This means that the commands that run with CorelDRAW may not run with Corel PHOTO-PAINT and vice versa.

Corel script is based on BASIC, a quite simple programming language that was originally used to teach people to write their programs. If you are familiar with this language, it will be much easier for you to master Corel script. If not, go to the basics section of this tutorial to learn the main principles of programming in Corel script.

Even if you are an experienced programmer, it is recommended that you read all the material in this tutorial as the Corel script does differ from ordinary BASIC language and who knows what else could learn.

You can use Corel scripts to automate your repeated tasks that are usually performed manually. This will save you a lot of time. CorelSCRIPT allows you to create rather complex programs that can extend CorelDRAW's functionality almost limitlessly. Of course, there are some limitations to the scripts but this doesn't lessen their value.

Note, this document is not intended to be a complete Corel script reference and it can't replace the original CorelSCRIPT documentation. This tutorial should only be used as additional learning material suggesting to you an easy way of mastering Corel script language and giving you some tips and tricks.

Using this document

The tutorial is organized for consecutive reading. If you read it page by page, you won't miss anything. At the top and the bottom of every page you can find navigation buttons. Use the arrows to go to a next or previous page and the button with the folded sheet of paper represents the table of contents.


If you have any suggestions or recommendations, send them to Alex Vakulenko, <>.

Copyright © 1998 by Alex Vakulenko. All rights reserved.
This page was last revised on 02/22/98.

You are visitor number to this tutorial.


Next pageTable of Contents Home page