CorelDRAW X5 :: VBA Macro - Changing Outline Color?
May 29, 2012
What I am trying to do is check if a shape does not match a known set of values. If it does not it will run code where the "If msgbox" is at. What I have works if my line or object has a Cyan outline. The issue I am having is when it is checking a line that is any other color that doesn't have Cyan = 100, it errors out.
Below is what I am trying to use.
Sub Start() Dim s As Shape Dim sr As ShapeRange ' ActivePage.Shapes.All.CreateSelection Set sr = ActiveSelectionRange For Each s In sr If s.Type = cdrTextShape Then GoTo s_A If s.Outline.Color.CMYKCyan = 100 Then GoTo s_A If MsgBox("dude", vbOKCancel) = vbCancel Then GoTo s_B s_A: Next ss_B:End Sub
View 14 Replies
ADVERTISEMENT
Mar 13, 2012
I think I need to change the cdrTextPropertyFill using cdrTextPropertySet. If you look at the Property Manager Window with Artistic Text selected go to the 5th tab (format). On the bottom is background color: with two drp downs. One for textbox background and one for character background.
I would like to be able to change these settings in a macro. I think this line is finding the text on the graphic, now I need to change the background.
ActivePage.Shapes.FindShapes(Query:="@type = 'cdrTextShape'").CreateSelection
View 13 Replies
View Related
Mar 5, 2013
I would like to have a macro to select all the text in a document (independently if it is in a group or ungrouped), and change its font to another one.
I have tried to record a macro by myself, but appear a text that says that these functions could not be recorded.
View 3 Replies
View Related
Dec 5, 2011
I still use Corel Draw 12 and my question is is there an easy or automatic way to make the outline color of an object the same color as the fill color? I do it the hard way of trial and error until I get the right outline color from the color dock/pallette.
View 10 Replies
View Related
Apr 25, 2013
Set the Trace Bitmap so that the outline color defaults to the same as the fill color on the resulting curves? Currently, resulting curves have to be edited one color at a time to give them hairline outlines with the same color as the fill. It's mighty tedious for complex vector art.
View 9 Replies
View Related
Jul 17, 2011
Cupcake Teddy.cdr
I have traced this image from a Jpeg into a Vector to colour but how can I change the black out lines into other colours. When I right click the mouse with an outline selected the colour appears around the line but there is still a fine black line in the centre of it. I want to change the actual outline into another colour
View 4 Replies
View Related
Sep 19, 2013
I'd like to change a layer's color from command line because of a user icon. I figured out from previous topics that I should use macro similar to this: ^C^C_filedia;0;-la;s;Verdeckt (ISO);c;1;l;dashed;;_filedia;1;re;
(I want to use this macro to change layer's linetype, too, but that's not the point)
The only problem with this macro: layer's name contains a space therefore Autocad tries to recognize Verdeckt as a command (and macro interrupts there) instead of setting Verdeckt (ISO) as the current layer. I've tried using different quote marks, none of them worked (' and " and <>). I hope there's a method for entering a parameter that contains space.
Software: Inventor Series 2011 SP1 x64
OS: Vista Business x64
CPU: E6400
RAM: 2*2Gb GeIL
VGA: Quadro FX 550
View 5 Replies
View Related
Sep 27, 2010
I'm sure there are many of you out there that at least every once in a while struggle to match a certain color - as CLOSE as possible. You can tweak your RIP settings, color management settings, etc but often I find myself just generating some random color samples to get the closest color. I have CMYK charts printed off, but they are only going to show so many colors, you know? What I am looking for (and will pay good money for, too - Nazdar's Catzper software does something along these lines, but is much too complex with Lab values, etc and lists for $295) is a macro that will take a color swatch and generate a bunch of other color swatches (maybe by user preference?) just adding and subtracting C M Y K - you print this off and pick the closest color! Thereby making it a 1-step operation instead of back-and-forth many-step operation. I have to admit, we are very picky about matching colors here.
View 8 Replies
View Related
Sep 28, 2012
In Coreldraw X6 just say you draw a box , now you can fill that box with any color or gradient but how can you make an outline more than 1 color? Is this possible with Coreldraw? is there maybe a macro or something that can be used.
View 4 Replies
View Related
Nov 17, 2010
Now that SP2 is out and we can delete all in one sweep, is it possible to create a macro that would automatically delete all color styles as soon as any file is open? I never use that feature and would gladly pay for such a macro.
View 14 Replies
View Related
Mar 27, 2011
Is macro can change color of the work envoronment in CD? I can't stant the white anymore.
CorelDraw X5 v. 15.2.0.686 Hot Fix 4 - Windows 7-64
View 1 Replies
View Related
Jul 10, 2012
On the bottom page the outline box has a white vertical square/line on the right of it. Since this happened my outlines are transparent when place on top of other objects. How can I fix this to get it back to soid colored lines.
View 14 Replies
View Related
Mar 12, 2012
I saw a macro that does this a while ago, but I could very well be wrong. If it doesn't already exist, I am not even sure if it is possible, so I thought I'd ask the Macro Masters here!
Lets say I have a page fill of objects/shapes/text with all sorts of different colors.
I select the black color (or whatever color) but would actually like to select ALL colors other than the black color that I have selected.
So, if I have a page with Black, Red, Green & Blue shapes, I select an object colored black, the macro would then select ALL objects/text on the page that are NOT black.
View 11 Replies
View Related
Apr 5, 2011
BDTableTextColour_v3h.gms
I have attached a free macro to change the text color of cells in a table. Without the macro there is currently no way to select more than one cell and change the text color.
The macro allows the user to either:
click on a table (to select it) and then apply a new color to ALL text in the table; or choose a new color from the macro from, select some cells in a table and then apply that color to the text in those selected cells
Please note in step 2 it is important you choose the new color first and then select the table cells. If you do it the opposite way around, while choosing a colour you will deselect the selected cells and apply color to all of the text in the table.
cs_setInnerHtml('video_ad5e34dd-845c-4786-85b1-a1ffefea52ae','');
View 1 Replies
View Related
Aug 30, 2012
Is there some Script / Macro to change / convert / apply color modes in all bitmaps of a file? (convert them all to CMYK lets say)
Wx Tools have "set DPI", "downsample", "resize" but not "change color mode".
View 3 Replies
View Related
Nov 27, 2012
Is it possible yet to do this? I'd like to pick several points on the screen and get the color from each spot separately.Current System: i3 3.07ghz, 3gb ram, Windows 7 32 bit with all updates and X6
View 2 Replies
View Related
Jul 6, 2013
I set the outline color to red. You can see that it's not working. I just see a small red square at middle left side only.
View 14 Replies
View Related
Aug 16, 2011
How do you color the outline of a closed object in different colors in Draw . I have a green triangle which is part of a witches hat....... I have colored the outline in the same green as the fill but I would like to keep the bottom line (curved) black to define it against the hat brim. Is there a way to keep this line black when I make the others green......otherwise I have to draw it in again.
View 5 Replies
View Related
Jul 2, 2011
Is there a way to change the outline color around a large group of images all at once?
I am trying to create an outline color for contour cutting and I have the outline color in my spot colors but now I was wondering if I could apply these change to all the images at once instead of changing each one.
View 2 Replies
View Related
Mar 7, 2012
My CorelMacros.CreateColorSwatch macro has stopped dumping the swatches into whatever blank Letter-sized document I have open (which is how it used to work) and instead it is creating a new document, at 4.25" wide x 7" high, and dumping the swatches into that. Using Pantone Solid Coated, but it's doing this regardless of what palette I choose.
There is no option in the Macro's dialog box to alter or even instantiate a page size, and I cannot find in the code of the macro where to set this variable.
View 5 Replies
View Related
Mar 29, 2013
I am taking an online coreldraw class involving the rendering of a baseball with two opposing three-point curves.
Where can I find the button for the tab labelled " Outline width" or "outline pen window".
View 2 Replies
View Related
Apr 15, 2011
I have a string of white paragraph text, to which I have assigned a simple hyperlink to a selection. CorelDraw X5 turns the linked text blue to indicate that it is a live link and the Publish to PDF function works as expected. I want, however, for the linked text to be yellow, not blue, and I can't seem to be able to accomplish this. If I change the text to yellow the conventional way, the hyperlink no longer functions.
Is there a way for me to simply change the color of an active hyperlink?
View 10 Replies
View Related
Sep 16, 2011
Hurricane Irene has hit us hard and I lost 4 computers.
I downloaded X4 again and when I re-open a file that was designed in x4 previously, all colors replicate except RGB Green (0,255,0) that we use as a cutting contour on a Roland print/cut. There are hundreds of files. It now opens it as Green (4,255,2).
We need to use RGB because of 10 years of files written in Corel 3-11.
Now I realize that files we just composed and saved are also opening with the same results.
View 6 Replies
View Related
Sep 10, 2013
I run three different printing and engraving systems at the same time with my business. Each system needs to have a different color management preset selected or the prints are screwed up. Each time I open a file I have to go to tools..color management ... default settings. and check or change the preset. It seems like half of my day is spent doing this and from time to time I forget and screw up a print. Is there a macro or docker or something that will display what preset is in use on my screen some where and maybe even give me an option to click on it and change the preset? Each file is normally only for one particular system so if there is a way to save the file so that the preset that was used when saving it comes back up when it is opened would be useful too.
View 4 Replies
View Related
Aug 17, 2013
I have a client who is waiting for a flyer design i did. So i created a christmas flyer. It looks nice with christmas colors and all. When i go to convert it into a jpeg in photo paint, the green changes to lime green and the other colors change as well. To florescent vibrant type. This just started happening recently. When i played around with settings, i saw something about RGB, CMYK (which dulls everything).
View 13 Replies
View Related
Jul 24, 2011
Is it possible to change the color profile of a document after you've created it?
View 2 Replies
View Related
Mar 7, 2011
it is possible to change the background color of the application window ?
I would like the whole area outside the drawing window (the drawing page) to be grey, so that it can be clearly distiinguished from the actual drawing page, which is white, with a shadow line around the drawing page.
View 16 Replies
View Related
Sep 2, 2011
The company i work for has full dye sublimated uniforms. our customer base would really like to use photographs on their shirts but we are unable to control the colors. We have a color palette that our factory uses to color match everything. how do i change colors in photoshop (channels) to match our color palette in corel so that there is consistency and the images don't appear washed out or flat.?
View 1 Replies
View Related
May 4, 2012
I have taken some pictures with my camera, I cannot adjust the white balance of the camera, so the pictures come out with a slight grey background. I want to change that to a white background.
View 12 Replies
View Related
Aug 19, 2013
I dobbleclick on fill-color icon in lower right side of the screen to change the fill-color. But no dialog-box appear. But if I try to click anywhere in Corel after this I just get a beep. Looks like there is a dialog-box outside screen or something.
View 4 Replies
View Related
Aug 24, 2011
I use Corel Draw X5 while at work and to do the particular task needed I have to have the stroke set to COLOR: RED, and WIDTH: HAIRLINE, MILLIMETERS. How to set the program to jump to these settings as a default upon opening all files.
View 2 Replies
View Related