OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > Corel Photo-Paint VBA

Thread Tools Search this Thread Display Modes
Old 08-04-2004, 03:17
Posts: n/a
Default Load a corel script and execute it

I want to load an existing corel script in vba and execute it.
Any idea how to do this ?
Reply With Quote
Old 08-04-2004, 08:39
Alex's Avatar
Alex Alex is offline
Join Date: Nov 2002
Posts: 1,941
Blog Entries: 4
Default Re: Load a corel script and execute it

You can use CorelScriptFile object for this. Here is how you do it in VBA:

Sub Test()
    Dim csf As CorelScriptFile
    Set csf = OpenCorelScriptFile("C:\Scripts\MyScript.csc")
    csf.Play ActiveDocument
End Sub
I hope this helps
Reply With Quote
Old 14-04-2004, 10:15
Posts: n/a
Default Thanks

Thanks for your prompt answer
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
File Converter script error CorelDummy CorelDRAW/Corel DESIGNER VBA 2 25-01-2005 08:38

All times are GMT -5. The time now is 06:32.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com