![]() |
#1
|
|||
|
|||
![]()
I would like to create a macro for create boundary option shown under Effects. I would like to automate it for a batch job I need to run. When I record the macro, it shows a set of numbers where it tries to create a set of curve segments. I am not sure how to automate it. I really need some assistance on this.
|
#2
|
||||
|
||||
![]()
You can find a simple example here: CreateBoundary or you can look here and see how I used it in my quick weed script: Quick Weed If those don't help let me know and I will work up another example.
Best of luck, Shelby |
#3
|
|||
|
|||
![]()
I am getting run-time error saying "Component not installed". I am using X3. Is there a patch I need to install? or Are the custom components in a specific CD?
|
#5
|
|||
|
|||
![]()
When I play the VB macro from Tools->VisualBasic->Play, I select the macro with the following code:
Sub CreateBoundary() Dim s1 As Shape Set s1 = ActiveSelection.CustomCommand("Boundary", "CreateBoundary") End Sub That gives me the run-time error |
#7
|
|||
|
|||
![]()
The object is selected before I run the script. I am not sure if there is any problem with my installation. I guess I need to approach the tech support. Please let me know if you have any other suggestions.
|
#8
|
||||
|
||||
![]()
First you are using CorelDRAW X3 Correct? The lets narrow down the selection. Create three rectangles and select them, run the macro and see what happens. I will see if I can add some error handling to this one and see if we can narrow it down. If other macros are working on your system this should.
Shelby |
#9
|
|||
|
|||
![]()
I did as you said. I am unable to capture the window as such.
This is the exact message I am getting inside the window: Run-time error '-2147024809 (80070057)' Component is not installed |
#10
|
||||
|
||||
![]()
Do you have the service pack 1 installed? I'm not 100% sure but the boundary tool automation support might have been added in the service pack...
To check see what is the exact version of CorelDRAW you are running (go to Help>About). SP1 is 13.0.0.667 If you don't have the SP, you can install it from here: http://www.corel.com/servlet/Satelli...=1153321227143 |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
macro for break curve and join curve | mgmcs | Macros/Add-ons | 2 | 26-05-2006 22:01 |
Cannot use Curveworks macros in a user witten macro??? | jon46089 | CurveWorks | 2 | 02-03-2006 14:18 |
Help with Replace Macro | Pumpkin_Masher | Macros/Add-ons | 1 | 21-09-2005 14:41 |
New macro to clip curves w.r.t. a border | Gerard Hermans | Macros/Add-ons | 0 | 09-06-2003 07:50 |
Speeding up a macro | Rick Randall | CorelDRAW/Corel DESIGNER VBA | 2 | 12-12-2002 10:51 |