A CorelScript file (.csc) has a reference to the application version it was created for. So, if a script was created for CorelDRAW 9, it can't be used with any other version other than 9.
However there haven't been much changes to CorelScript since version 9, so the actual commands didn't change much and pretty much all scripts created for Draw 9 should still run under Draw 10-12. In order to make an old script to run under a newer version of CorelDRAW, you need to do the following changes:
1. Open the script file in a text editor. You can use Notepad for this.
2. It should contain a string similar to this:
Code:
...
WITHOBJECT "CorelDRAW.Automation.9"
...
3. Just replace the
9 with the actual version of the application. If you intend to use the script under CorelDRAW 12, then just replace the above string with
Code:
WITHOBJECT "CorelDRAW.Automation.12"
In some scripts, the version could be encoded some other way, but in most cases you should be able to find it if you look for string "CorelDRAW.Automation".
After you do the change, just save the script back and go to CorelDRAW and run it through Tools>Run Script... dialog.