Normal 0 false false false EN-GB X-NONE X-NONE MicrosoftInternetExplorer4
I have a question regarding scripting in X6 –
Background:
Link 1 is for an article that provides information on Microsoft software (Excel) that can be used in the earth sciences which I downloaded via link 2. The downloaded Excel file contains a Corel script with the analyzed data. These data are traditionally represented in the equivalent of wind roses. The purpose of the Corel script would be to convert the tabular Excel data into graphical wind rose data.
Original article: http://65.54.113.26/Publication/46625654/ez-rose-a-computer-program-for-equal-area-circular-histograms-and-statistical-analysis-of
Google search for “baas 2010 ez rose download”: https://www.google.co.za/search?q=baas+2010+ez+rose&ie=utf-8&oe=utf-8&rls=org.mozilla:en-US:official&client=firefox-a&channel=fflb&gws_rd=cr&ei=3oicUq7UCs-AhAfLjYHYBw#channel=fflb&q=baas+2010+ez+rose+download&rls=org.mozilla:en-US%3Aofficial
The original script is included in the Excel spreadsheet and contains the analyzed data. According to the instructions provided in the one of the workbooks, I should be able to copy and paste the script into the "Corel Script Editor". Instructions seemingly simple and easy to understand.
I tried downloading but cannot get to the download. I have tried a custom installation but cannot see the option for Script Editor.
The Macro Programming Guide (pdf installed with installation files) indicates that the Script Editor might not be present in the current version (being replaced by macros). I have tried finding the alternative, the Run-Time Engine, by following the help file but this is not very detailed in terms of its location.If I do find it, I would need some detailed instructions on how to use it and transfer the data.
Also, the help file basically shows how to import an existing script, not to create one or modify one.
How could I get the script into X6 bearing in mind that although I have used Corel extensively to create diagrams, I have no experience in programming.
Any assistance and or suggestion would be gratefully appreciated.
Corel Script is the language that came with older versions (6 to 9) of CorelDraw. Its functions have been substantially replaced by VBA (visual basic for applications) which has been included in more recent versions including X6. Though as I understand it, old script code should still work in the VBA editor.
At this point it will probably be useful to quote from the Macro Programming Guide which you should find installed in the CorelDraw start menu under Documentation:
"Although CorelDRAW no longer includes the Corel SCRIPT editor, it does include the Corel SCRIPT run-time engine. Therefore, you can easily migrate scripts that were written for earlier versions of CorelDRAW to later versions of the software. For information on using Corel SCRIPT with CorelDRAW, see “Working with scripts” in the main Help file for CorelDRAW (draw.chm)."
That I hope will get you started, and should at least explain why you cannot find something called a script editor. I never had any old Corel scripts, but I there are probably others here if you need more specific help.
One point to note: VBA is only available in the full retail version, not Home and Student.
Try this. Copy Corel script info from excel to text file (use notepad). Change "CorelDraw.Automation.8" to "CorelDraw.Automation.16". 16 is for version X6. Save file. Change file extension from TXT to CSC. In Corel start new page. Goto TOOLS/RUN SCRIPT. Select you file and it should work.
AR