OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.09 seconds.
Search: Posts Made By: shelbym
Forum: CorelDRAW/Corel DESIGNER VBA 05-10-2021, 23:47
Replies: 51
Views: 85,924
Posted By shelbym
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, 15:42
Replies: 2
Views: 393
Posted By shelbym
Unviewable

I have sent you a private message. Hope to hear from you.

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 13-09-2021, 15:39
Replies: 2
Views: 448
Posted By shelbym
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 04-09-2021, 00:36
Replies: 1
Views: 432
Posted By shelbym
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, 21:57
Replies: 1
Views: 688
Posted By shelbym
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, 21:52
Replies: 2
Views: 3,018
Posted By shelbym
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, 22:36
Replies: 2
Views: 3,018
Posted By shelbym
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, 22:23
Replies: 2
Views: 2,783
Posted By shelbym
Inside / Outside Corner Rounding

I am a little unclear what you are asking for. Are you talking about the Outline Position?

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 16-05-2021, 22:16
Replies: 1
Views: 2,321
Posted By shelbym
how to fill a shape with spot color by name

You can do this by the index like this:

ActiveSelection.Fill.UniformColor.PaletteAssign "PANTONEĀ® solid coated", 44

or you can do a StringAssign like this:
...
Forum: CorelDRAW/Corel DESIGNER VBA 16-05-2021, 21:49
Replies: 1
Views: 1,559
Posted By shelbym
This isn't an error that I have seen. Hopefully...

This isn't an error that I have seen. Hopefully you can figure it out.

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 06-12-2020, 16:57
Replies: 2
Views: 3,259
Posted By shelbym
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, 16:11
Replies: 1
Views: 16,180
Posted By shelbym
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, 16:05
Replies: 1
Views: 11,284
Posted By shelbym
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, 15:47
Replies: 1
Views: 11,919
Posted By shelbym
W10 X6 shortcut problem

I have not seen this with Windows 10. I know, that isn't much help, sorry.

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 25-11-2020, 15:44
Replies: 2
Views: 18,538
Posted By shelbym
How to Select unique colors in shaperange

Here is a fun little way to do this using CQL:

Sub CQLColors()
Dim sGroup As Shape
Dim strColors As String

Set sGroup = ActiveSelectionRange.Group

strColors =...
Forum: CorelDRAW/Corel DESIGNER VBA 25-11-2020, 15:28
Replies: 2
Views: 8,633
Posted By shelbym
Help! Why the ApplyPatternFill Method take so much time?

Try loading it this way instead:

Sub test123()
ActiveSelection.Shapes(1).Style.Fill.LoadFill "C:\Users\Shelby\Documents\Corel\Corel Content\Fills\Starter pack\Vector Pattern 232.fill"
End...
Forum: CorelDRAW/Corel DESIGNER VBA 25-11-2020, 14:49
Replies: 2
Views: 5,384
Posted By shelbym
Not sure I understand what you are asking. Ask...

Not sure I understand what you are asking. Ask another way and I will see if I can help.

Happy coding,

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 25-11-2020, 14:47
Replies: 1
Views: 4,810
Posted By shelbym
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, 23:05
Replies: 4
Views: 23,395
Posted By shelbym
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, 11:55
Replies: 1
Views: 12,043
Posted By shelbym
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, 22:54
Replies: 2
Views: 5,767
Posted By shelbym
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, 01:02
Replies: 4
Views: 7,667
Posted By shelbym
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, 12:46
Replies: 12
Views: 7,301
Posted By shelbym
Nodes Example

If you could post an example .cdr file it would be helpful. A before and after example workds best.

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 16-01-2017, 16:39
Replies: 1
Views: 5,757
Posted By shelbym
Code

The code works fine in X6 16.4.1.1281 so I am going to guess it is a bug in that version.

-Shelby
Forum: General 16-01-2017, 16:34
Replies: 1
Views: 12,706
Posted By shelbym
X8 Improvements

The biggest X8 improvement for me is the support of High DPI screens. That said, I only have one machine with such a screen and I currently do not use it often. So I still spend most of my time in...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -5. The time now is 02:25.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright Ā© 2011, Oberonplace.com