Forum: CorelDRAW/Corel DESIGNER VBA
28-02-2022, 19:28
|
Replies: 1
Views: 669
Select Bottom Most Shape on Page
Use a little CQL:
Sub SelectBottomShape()
Dim srSelection As ShapeRange
Set srSelection = ActiveSelectionRange
srSelection.Sort " @shape1.Top * 100 - @shape1.Left >...
|
Forum: CorelDRAW/Corel DESIGNER VBA
31-01-2022, 17:32
|
Replies: 3
Views: 1,198
|
Forum: CorelDRAW/Corel DESIGNER VBA
05-10-2021, 22:47
|
Replies: 51
Views: 91,230
Color Replacer advanced remake
I have made the following changes to the macro:
Copyright Text
Replace now works with Groups inside a Powerclip
Eyedropper now works for shapes inside Powerclip
Hope Coding!
|
Forum: CorelDRAW/Corel DESIGNER VBA
13-09-2021, 14:42
|
Replies: 2
Views: 1,118
Unviewable
I have sent you a private message. Hope to hear from you.
-Shelby
|
Forum: CorelDRAW/Corel DESIGNER VBA
13-09-2021, 14:39
|
Replies: 2
Views: 1,179
ToggleView
You could use a macro for this and then assign it to your key combo instead of the default way:
Here is some code to get you started:
Sub ToggleView()
If ActiveDocument Is Nothing Then...
|
Forum: CorelDRAW/Corel DESIGNER VBA
03-09-2021, 23:36
|
Replies: 1
Views: 1,223
Events
I have put together an Example Docker for you.
This example is a Custom Docker written in VB.NET. I will include the entire solution as an attachment. You will need Visual Studio to open / edit...
|
Forum: CorelDRAW/Corel DESIGNER VBA
03-09-2021, 20:57
|
Replies: 1
Views: 1,381
Replace Part Text of Text Shape
You can use the Text.Replace for this. Here is quick example from the API Documentation:
Sub Test()
Dim s As Shape
For Each s In ActivePage.FindShapes(, cdrTextShape)
s.Text.Replace...
|
Forum: CorelDRAW/Corel DESIGNER VBA
03-09-2021, 20:52
|
Replies: 2
Views: 3,846
ActiveShape.Fill.UniformColor.Name
This was asked on the Corel Community Forum so I decided to revisit it and see if I could figure out a work around. If you want to see that entire thread you may see it here:
Color Name not...
|
Forum: CorelDRAW/Corel DESIGNER VBA
16-05-2021, 21:36
|
Replies: 2
Views: 3,846
ActiveShape.Fill.UniformColor.Name
Yep, looks to be a bug. No matter what color I use it always returns "unnamed color". I do not have a work around, if I find one I will let you know.
I will also get this logged.
-Shelby
|
Forum: CorelDRAW/Corel DESIGNER VBA
16-05-2021, 21:23
|
Replies: 2
Views: 3,676
|
Forum: CorelDRAW/Corel DESIGNER VBA
16-05-2021, 21:16
|
Replies: 1
Views: 3,061
|
Forum: CorelDRAW/Corel DESIGNER VBA
16-05-2021, 20:49
|
Replies: 1
Views: 2,233
|
Forum: CorelDRAW/Corel DESIGNER VBA
06-12-2020, 15:57
|
Replies: 2
Views: 4,030
Coreldraw 2020 vba and the objects docker
Starting with X7 there are changes to the xslt files for custom dockers. You can see my post about it here:
Changes to XSLT Files for X7 (http://https://forum.oberonplace.com/blog.php?b=39018)
...
|
Forum: CorelDRAW/Corel DESIGNER VBA
25-11-2020, 15:11
|
Replies: 1
Views: 17,023
How to use user input text in a form?
If you are not getting anything back, my guess is that your form is closed.
I would recommend you put a button on your form that wen you click on it that it would show you the value in the...
|
Forum: CorelDRAW/Corel DESIGNER VBA
25-11-2020, 15:05
|
Replies: 1
Views: 11,920
Possible to select same font?
You could do something like this. Select a line of Text and then run the following macro. It will select all others lines of text on the current page that have the same font.
Sub SelectSameFont()...
|
Forum: CorelDRAW/Corel DESIGNER VBA
25-11-2020, 14:47
|
Replies: 1
Views: 12,509
|
Forum: CorelDRAW/Corel DESIGNER VBA
25-11-2020, 14:44
|
Replies: 2
Views: 19,248
|
Forum: CorelDRAW/Corel DESIGNER VBA
25-11-2020, 14:28
|
Replies: 2
Views: 9,284
|
Forum: CorelDRAW/Corel DESIGNER VBA
25-11-2020, 13:49
|
Replies: 2
Views: 6,141
|
Forum: CorelDRAW/Corel DESIGNER VBA
25-11-2020, 13:47
|
Replies: 1
Views: 5,630
Origin Point of Rectangle
The easiest way would be to find the first node of the display curve.
The following will mark the origin point of each rectangle with a red circle:
Sub FindStartofRectange()
Dim sr As...
|
Forum: CorelDRAW/Corel DESIGNER VBA
13-05-2020, 22:05
|
Replies: 4
Views: 24,218
Virtual Segment Delete
I will also say, have you tried the Virtual Segment Delete Tool?
If you hold down Shift, you will see the tool icon change, you then draw a box around the nodes and they get joined.
The...
|
Forum: Macros/Add-ons
02-10-2017, 10:55
|
Replies: 1
Views: 12,706
Intersects
You would need to add a loop to loop through all your shapes and check them for Intersects.
-Shelby
|
Forum: CorelDRAW/Corel DESIGNER VBA
06-03-2017, 21:54
|
Replies: 2
Views: 6,193
Custom Icon
Just to add to this, I normally create a custom toolbar to add my custom icon to, then you can export the workspace and the new toolbar. This will give you XML you need to add if you want to add the...
|
Forum: CorelDRAW/Corel DESIGNER VBA
02-03-2017, 00:02
|
Replies: 4
Views: 8,174
Lots of Shapes
If you are working with a lot of shapes grouping makes things go move faster. So you could do something like this:
Sub MakeLayerTransparent()
Dim s As Shape
Set s =...
|
Forum: CorelDRAW/Corel DESIGNER VBA
17-02-2017, 11:46
|
Replies: 12
Views: 7,930
Nodes Example
If you could post an example .cdr file it would be helpful. A before and after example workds best.
-Shelby
|