I've just moved over to Windows 11 with my trusty copy of CorelDraw 6 and various scripts saved as individual .csc files. When I try to open the scripts directly (as I would from my old Windows 7 machine), they just open up in editor and don't actually run ... and if I try opening them from within Corel, I get error messages "contains an error and could not be run" and "could not initialise scripting engine".
I use the scripts to copy/paste content multiple times into specific places in a new document.
Has anyone any thoughts or help about:
a) how to get scripts to run in Windows 11 (my preferred option, as I have a lot of content created in Corel Draw 6 that I tweak and replicate)
b) is there a 'debug' function I can run on the scripts (I have very limited scripting knowledge/experience, it's all been a bit trial and error)
c) if there's an alternative way to automate copy/paste/position content into a new (printable) file - even Word would do. - Maybe a macro in Word would do the exact same job?
Thanks in advance.
The file extension .csc used in early versions of CorelDRAW (from 6 to 9) was replaced by the VBA (Visual Basic for Applications) platform in CorelDRAW 10. In fact, this is a normal text document containing the source code of a Corel Script or VBA program (macro) and created for execution in the environment of the CorelDRAW package. Any Corel Script script (.csc) can be opened and edited in a text editor. Then the text from the .csc file can be written into a .gms file and placed in the CorelDraw program folder(For example: c:\Users\<UserName>\AppData\Roaming\Corel\CorelDRAW Graphics Suite X8\Draw\GMS\)Should work.If there are any difficulties, send me the file at tv.softlv@gmail.com, I will try.Taras
Thanks for that, Taras.
If I understand you correctly, you're advising on how to use the .csc file in a more recent version of Corel? I'm still using Corel 6, and although Corel 6 seems to run fine in Windows 11, the .csc file doesn't.If what you're suggesting is to use a .gms file in conjunction with Corel Draw 6, then I'll give it a go!
(Otherwise I've discovered that I can use a roundabout way to print one label to a pdf, upload it to Avery online and create a sheet of labels from there!)