Stroke color should assume fill color

Let me explain. Let's say I've got a box filled with yellow and stroked none. If I go to the Stroke palette and select .25 pt, it should give the box a yellow stroke that is .25 pt. Now, if the object has no fill or multiple fills, this may be a little trickier, but something could be worked out I'm sure.

Take a look at your Color palette.
Say you have a box filled with yellow and no stroke. Select it.
Grab the fill square at the top left of the palette and drag it down to the stroke square. Now your box has a 1 pt yellow stroke whose weight you can then adjust in the Stroke palette.
I always have the Color, Stroke and Attributes palettes linked together so that I can easily check fills, strokes and overprints at a glance.

Similar Messages

  • How can I apply a current fill color to a stroke, then adjust that stroke color's build?

    Hi all, I'm trying to figure out a way to automate a simple, yet repetative process I do countless times a day. Ideally, I'd like to tie it to a keystroke to speed up my workflow.
    I work on line art and colorways for footwear, so the way I'm coloring these shapes and strokes helps to break apart the different materials and pieces of the shoe.
    While coloring line art, I work with Pantone spot colors as fills for closed path objects. I then have to manually apply that same color to the stroke, set the stroke to 0.5px weight, convert that spot stroke color to CMYK, and add 15% to the K value.
    I found some code in an older post for applying the actively selected object's fill color to the stroke, but I'm having but I'm having trouble with the next step of figuring out how to take that spot stroke color and convert it to a CMYK build that I can then add 15% black to. Is this something that's even possible? I've spent about an hour playing with the script and have only had luck matching the fill color or turning the stroke white. Thanks for the help!

    ok try this one, I added the spot color option
    // make stroke color same as fill color + 15% black increase
    if ( app.documents.length > 0 && app.activeDocument.pathItems.length > 0) {
        for (var a=0; a<app.selection.length; a++) {
            try {
                    var sel = app.selection[a];
                    var fillcolor = sel.fillColor;
                    if (fillcolor.typename == "CMYKColor")
                        var cmkycolor = fillcolor;
                    else if (fillcolor.typename == "SpotColor")
                        var cmkycolor = fillcolor.spot.color;
                    var col = new CMYKColor;
                    col.cyan = cmkycolor.cyan;
                    col.magenta = cmkycolor.magenta;
                    col.yellow = cmkycolor.yellow;
                    var black = cmkycolor.black + cmkycolor.black +15;
                    col.black = black>100 ? 100 : black;
                    sel.strokeColor = col;
                    sel.strokeWidth = 0.5;
            catch (e){alert(e)

  • AS-CS3- Fill color of any paths, what are "plugin items"?

    I had a script that used to work in Illy 9 or 10. Now in CS3 I found it does not work 100% properly. I have some artwork that contains some "plugin items" on the page. WTH are these and how can I manipulate them? I've checked the item's properties and can't find a way to get the fill color or path item kind of data.
    Here's what my old script did: Get each path item on the document, check it's fill color. If fill color total (ink total) is over 290 then either set it to be only 100% black, or select the item and warn the user.
    This script is run by various PrePress people and other artists. Assume that no one knows where the document came from or how it was made. I am attaching a sample document you can check out. It appears like the "tree" object has been made by the Pathfinder filter but was not expanded. I can not assume that I can expand the object, artwork must stay the same except for color changes.
    Here is my current script:
    tell application "Adobe Illustrator"
    tell document 1
    set myCount to count path items
    set selected of every path item to false
    repeat with i from 1 to myCount
    try
    set myColorSum to ((cyan of fill color of path item i) + (magenta of fill color of path item i) + (yellow of fill color of path item i) + (black of fill color of path item i))
    if myColorSum is 400 then set fill color of path item i to {class:CMYK color info, cyan:30.0, magenta:20.0, yellow:20.0, black:100.0}
    if myColorSum > 290 and myColorSum < 400 then set selected of path item i to true
    end try
    end repeat
    set mySelectedPaths to count (path items whose selected is true)
    if (mySelectedPaths > 0) then display dialog "If you have any items with color sums over 290 then they are selected for you now (some have been fixed automatically). Please fix them, and run this again to verify. Gradients must be checked manually!" with icon 2
    if mySelectedPaths = 0 then display dialog "Document is OK -or- all items have been corrected. Save your document." buttons "OK" default button 1
    end tell
    end tell

    Thanks, I had a look at your sample file and the only route I can see is the expand that you don't want to use. You may just have to add the plugin items to the things the user has to check manually. The only thing that you can really do with plug in items is alter the trace options if it is a trace. Sorry.

  • Fill color is outside the path

    One of the graphic elements I was given has me stumped.  When I select it, I can see the path of the object and see that it has a fill color and no stroke.  However, the fill color extends outside the path. This ends up causing me a headache when I try to slice and save for web.  I can never get the result I want in a PNG.  I always end up with a few pixels more or less wrong on one or more sides.  Help!

    pcdavis,
    You may have Effect>Offset Path applied; you may see it in the Appearance palette/panel, and click the Reduce to Basic Appearance button there.

  • Fill color picker issue

    When I double click on the fill color in the tool bar the color picker window opens. Unfortunately it is opening to a color that is not the color of my fill such as this orange here instead of the green. I am wondering if I have some sort of color theme option turned on somewhere? Any help to get this back to normal would be greatly appreciated.

    Thank you, felt like I was going crazy
    From: Jacob Bugge
    Sent: Monday, August 11, 2014 10:29 AM
    To: steve sheets
    Subject:  fill color picker issue
    fill color picker issue
    created by Jacob Bugge <https://forums.adobe.com/people/Jacob+Bugge> in
    Illustrator - View the full discussion
    <https://forums.adobe.com/message/6629962#6629962>

  • How do I auto set stroke weight, stroke colors & fill color?

    Hi,
    I'd like to make it easier for our 100,000 designers to use AI to make custom products using a laser cutter.
    Current Practice
    Designers open our AI laser cutting design templates, add their designs using the AI settings our online pricing system can read, then upload their designs to our website for instant pricing, making and shipping.
    The Problem
    Designers have to manually setup AI with settings that can be read by our online pricing system. If they get these settings wrong, our system can not read their designs. So they are rejected and can not be priced or made. This happens more often that you'd imagine.
    The Solution
    Designers do not like design rejections. So I'd like to eradicate them by providing our designers with a version of AI that provides the following settings only:
    * Set document to RGB
    * Stroke weight = 0.01mm
    * Stroke colors = RGB 0, 0, 255 and 255, 0, 0
    * Fill color = RGB 0, 0, 0
    This will mean designers have a very limited number of AI choices, with nothing to distract them or to get wrong. Which will result in less (or zero?) design rejections. And products made faster than before. Rejoice!
    Question
    How do we program our AI laser cutting design templates so that when they are opened in AI, they auto set AI settings as defined above?
    Thanks so much.
    Derek

    Ponoko wrote:
    Your first point - yes, that's what our system does currently. As a result designers get lots of 'how to fix' messages as a result of design rejections. We wish to reduce these rejections and resulting 'how to fix' messages by limiting their choices in AI - because this is where the problems are created.
    Ok, yeah gotcha, so customers/designers think they do it right (cough/laugh) upload, then get surprised to find out they didn't by your upload system. That's kind of what I thought. I feel your pain. ;-) I sense you want to reduce this aspect to keep the customers/designers happy and thinking they do nothing but work magic all day right? ;-) So you don't want to lose customers in the midst of frustration of file rejection thinking there files are right and your system is certainly wrong, when in fact it's the opposite. Good luck explaining that to a designer however, right? ;-)
    Ponoko wrote:
    Your second point - You go on to talk about using a complex "action" we could distribute within the design templates. Although I suspect this is different, the path we're thinking is to include something in the templates that, when imported into AI, sets AI with the color palette we need, line weight we need. Possible?
    As Monika hinted at you can't rigidly restrict or control what a user is allowed to do and use in Illustrator. You can try to reduce the parameters by saving the file as a Template.ait file, but even then they can muck about all day until they mess things up again, plus you have no control whatsoever even then as to whether they use fills, the stroke weights, etc. That is why I mentioned various things to manipulate the file once they deem it completed and ready to submit/upload. Basically a method to fix what they messed up or did incorrectly and instead set things as they should be for submission as I previously mentioned. I mentioned you may be able to create a complex Illustrator "action" action.aia that they run to process these requirements. I am not sure if such an action could be accomplished as all inclusive (perhaps though) otherwise you could as stated do it through scripting and a script they run: script.jsx to prepare the requirements, or an actual standalone helper app you create and provide like I mentioned above as well.
    I see for CorelDRAW & Inkscape you require SVG, why not change that for Illustrator also so all your 2D app submissions are SVG based? Then manipulate the SVG server side, point out the changes and why and have the customer approve the new modified SVG Preview of the needed changes and move along with the process from there? Make all the requirement changes on the server by manipulating the SVG. You should have access to all of the requirements: RGB color model, stroke weight, stroke colors, fill colors, create font outlines, image tracing? I am just tossing out ideas here, get your programmers busy, tell them to stop playing video games and "make it so". ;-)
    But even so, this then begs the question: What are you doing to circumvent the same issues for inept CorelDraw and Inkscape users?
    Since, they have the same freedom to do things incorrectly and misaligned with the requirements, just as Illustrator users do.
    Regardless though of the approach customers/designers may not like seeing certain things changed even minutely in trivial amounts and thusly be just as upset or up in arms with the changes to their pretty design files that they think were not needed in the first place, how dare you undermine them ;-). Same as seeing the file rejection from your system upon upload. Again I feel your pain. You have your Application/File requirements requirements stated nicely and plainly, it should be pretty easy for most, but sadly I guess not.

  • Problems with "no color" in the "Fill and Stroke"

    I am having problems with “no color” in the “Fill and Stroke” function of Flash CS4 Pro.
    I had been using CS4 for 10 days and everything worked fine. Then I tried experimenting with various color combinations (along with “no color”) for “Fill and Stroke” for a simple button. Suddenly CS4 locked up on me while I was working with the “color panel”. A second color panel appeared in the upper left corner and the program was not responding. All I could do was to end the CS4 task.
    After that, whenever I created even a simple rectangle, at first the colors would appear as indicated for “Fill and Stroke”, but when I selected the object to see its properties, either the stroke or the fill color box would have a red slash line, indicating a “no color”, and I couldn’t select the color box to change it using the ink bottle tool, although the other box worked fine.
    Rebooting did not help. So I uninstalled CS4 (and didn’t keep the preferences), rebooted, then reinstalled it. The problem was still there. Logging on as another user didn’t help. I tried restoring the Windows system to before I installed CS4 and resinstalling it and that didn’t work. I have a disfunctional CS4 now and I don’t know what to do to fix it. Please help me. Thank you.

    Have you updated flash to 10.0.2?  Have you played around with a bunch of different selections, objects, and so forth to see if this box is always incorrect?  I think there's some particular selection (order of selecting things, and so on), where the color swatches in one location don't work as expected. However, it should not happen all the time and from what I recall it was fairly easy to work around (I can't even figure out what this was - so probably not it, as it seems hard to run into or perhaps now fixed).
    Also make sure you have the stroke selected - if you don't have everything selected, either the fill or stroke will show no color and dim depending on the selection.

  • Automatically set the stroke color as fill color

    Hello all,
    I have a file with two squares with red and blue fill colors respectively and transparent surrounding strokes. I'm trying to find a way to automatically set the stroke color of each square to the respective fill color.
    Is there an Illustrator script somewhere that would achieve that? I am not aware of an internal Illustrator command for this purpose.
    Thank you

    I'm not a scripting guy at all, but getting an object's fill color and applying it elsewhere sounds like it should be scriptable. You should post the question in the AI Scripting Forum.
    The hitch I see here is your assertion that your objects have "transparent surrounding strokes." I could be wrong, but I believe there is actually no such thing in Illustrator. Through some simple experimenting, I conclude that an object's stroke set to "no color" by choosing the blank swatch actually becomes a stroke of undetermined, or perhaps zero, weight.
    Take an object with a stroke color and weight and set its stroke to no color. The weight goes away as well. One can't exist without the other, and vice-versa, with repect to stroke weight and color. Now enter a weight for that colorless stroke, and it again receives color; defaulting to black regardless of what it may have been previously.
    Similarly, if you assign a color where there is no weight, a 1-point weight appears by default.
    I'm not sure how/if that plays into your plans, but I just thought I'd ramble on about it here in case it's something you hadn't considered.

  • Select same fill color and stroke color

    Hi
    any one help me to select same fill color with help of java script and stroke colot too
    Thank
    Appu

    Not saying it cant be scripted but what about just via the Illustrator "Select" menu:
    Examples:
    Select > Same > Fill & Stoke
    Select > Same > Fill Color
    Select > Same > Stroke Color

  • Select same fill color/stroke color but not for entire document

    As the title imply's, I am wondering if there is a way to use the "select same fill color" and/or "stroke color" for just a group of objects in a document as opposed to document-wide.
    Thanks for any help you can provide!
    Tony

    Did you make the group into an isolation group?
    ( in the Control bar.)
    Or else you can select the objects you want to change, then Select Inverse and lock or hide.
    Isolation groups are usually handy for this kind of work though.

  • How do I change the stroke color while retaining the fill color using eye dropper in Illustrator?

    I have a question regarding illustrator.
    Let's say I have a circle with blue fill and red stroke. And I place an image in the illustrator file. Now I want to change the red stroke of my circle to let's say a purple color by sampling the color from the image.
    How can I achieve that with a eye dropper tool? Every time when I try to sample a color from the image, the whole circle will change to purple instead of just the stroke?
    I have tried multiple key combination, shift, alt, ctrl but they all don't work.
    Cheers, Venn.

    What you were saying is essentially what Mike's screenshot is all about?
    Deselect Focal Fill on Picks Up and Applies.
    I don't see how disabling them will help?
    If you have an image, Illustrator reads it as a transparent shape without any appearance attributes.
    Now I have a shape with a stroke, I want to change the stroke color by sampling the colors on the image.
    You can't do that with the eyedropper because the image doesn't have a stroke.
    Eyedropper only picks and applies appearances.
    So I guess you can't do this in Illustrator from the beginning.
    The eyedropper isn't built for that.

  • Click for Fill Color, Right Click for Stroke Color

    I'm constantly adding my intended Fill Color to my Strokes and vice versa.
    It's often laborious to manage which is active, Fill or Stroke when selecting colors from Swatches.
    I just noticed that Right Clicking on a Swatch doesn't do anything, so there's nothing to stop Illustrator from getting a quicker, easier, sexier way to apply color to Fills or Strokes.
    Regardless of which is the active attribute in the Tools Panel, simply clicking a Swatch would assign the color to the selected object's Fill.
    And Right Clicking would assign the swatch color to its Stroke.
    Yah?
    That's how it works in Corel DRAW and coloring things were sooo much easier back when I used it.
    Wouldn't it be simple to add a Preference to choose between the traditional behavior and this new one?

    Do not you miss it first.
    This idea was reported many times, even a few years ago on this forum.
    Ai adopts with great difficulty and obvious improvements have already discovered.
    I understand the search for his own good idea but I do not understand why I have square wheels when the world no longer revolves on the wheel?
    For me a good idea to apperance palette. I hoped that it will be improved in the CS5 to copy features such as single apperance. But none of that.
    Adobe has long could provide a mechanism to notify the idea and the opportunity to vote for him in order to predict the most needed solution.
    But for some reason do not do this and people are discouraged.
    http://pleasefixtheiphone.com/
    I just do not know which way to go illustrator. I was very discouraged to invest and Ai.
    I was very discouraged to invest and Ai. I do not know whether the moment does not appear in another completely new applications. I hope that it will be New Ai.

  • Fill Color Changes When I Paste a Shape, Flash CS6

    Whenever I paste, or paste in place, a shape (this does not happen with strokes), the fill color I currently have selected will change to match the color of what I've just pasted. If I paste something with multiple colors, it randomly chooses one of those colors to switch to. I've tried running searches online for what this phenomenon is, or how to change it, but I've come up with nothing. I'm using a mac, but a friend uses Flash CS6 on her windows machine, and it does the same thing. This doesn't happen in CS4.
    Is there a workaround? Or is this an annoying new feature I just have to live with?

    I can only verify what you see and explain the behavior but I do not believe there is any way to alter that behavior. When the new object is added to the stage (via paste) Flash makes sure to select it and it's unavoidable (and desired behavior) that it would trigger the contextual (color) panels with the correct information for the current selection. This appears to be a bug in that regard.
    You can always report it in a bug submission, I think the behavior is a clear bug and it should be easy to fix. It affects CS6 which is still a current product (due to AS2.0 support mostly), and CC, so it's important. Good find!
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Changing the button fill color in Captivate 7?

    I am pretty sure that when I used Captivate 6 and I created a button, there was an option in the Properties pane to allow me to change the fill color of the button. I am using Captivate 7 now, and I no longer see this option. Under the "General" tab, it allows me to change the button type, caption, make it transparent, or allows me to see button widgets. Did they remove the ability to simply change the fill color of a button?

    I'm wondering if this is something that was maybe added in a service release. Either that or you may need to reset your preferences.
    Mine has a section titled Fill & Stroke as shown below.
    Cheers... Rick

  • [AS] CS3- Find any text with style, then replace that text with a new applied fill color.

    I am trying to find the simplest way in cs3 to find any text with style, then replace that text with a new fill color. I can find text and change text. I can find a style and change it to a new style. I can't seem to find a style and change the applied fill color. I do not want to change the properties of the style, just the applied color. Yes, I want the + sign, for now. I know, why not update the style, I am not allowed to. Any help would be great. Since the search is not available, I need a new response.
    Thanks.

    You can work around the bug by just doing a find, then looping through the<br />results, changing the color one at a time. It'll be a fraction slower, but<br />should do the trick:<br /><br />tell application "Adobe InDesign CS3"<br />    set find text preferences to nothing<br />    set properties of find text preferences to {applied paragraph style:"The<br />name"}<br />    set theFinds to find text document 1<br />    repeat with i from 1 to count of theFinds<br />        set properties of item i of theFinds to {fill color:"Replace color"}<br />    end repeat<br />end tell<br /><br />The bug is fixed in CS4, BTW.<br /><br />-- <br />Shane Stanley <[email protected]><br />AppleScript Pro Florida, April 2009 <a href=http://scriptingmatters.com/aspro>

Maybe you are looking for

  • Regarding %A function

    Hi Experts, x = b %A d and y = c %A d and x+y = z My z values comes out to be greater than 100 % which infact shud be <= 100 as it is percentage even thou it is addition of two percentage values. My client says even thou x and y are less than 100 % a

  • Problem In Integrating 3 Internal Tables to make data for email attachment

    Hi All, I am facing a problem. I am having some data in 3 internal tables. Consider it Header Data, Details Data, Tail Data in 3 different Internal tables with different Fields. Now I want to send this data as an attachment in email. Now the problem

  • Problem about New Portal Desktop?

    hello   I have read the PDF document about How to Create a New Portal Desktop. And I have done following the document.   Now I have a problem,when the test user open the Portal Desktop,the Top-Level Navigation iview is in the top,and it cover half of

  • HD DRV Keeps Rebooting after adding audio receiver

    I have had FIOS tv for almost 2 years now with no issues, I am in Edgewater, MD.  I recently bought a new receiver, Onkyo TX-SR606 receiver.  After hooking everything up through the receiver with HDMI cables, my DVR box keeps rebooting.  It only happ

  • Displaying Notes in Mailbox Inboxes - Snow Leopard

    The Snow Leopard version of Mail (4.0) displays all Notes in the Inbox and in every child mailbox in the Inbox. Is there any way in stopping this? They were handy to have when they just lived in 'Notes' but clog up Inboxes and get in the way.