Quick way to create a gradient of selected fill color?

I create gradients all the time and I wonder if there is a quick way to create a gradient based on the fill color of the currently selected object. For example: I chose an area with a BLUE fill color. I'm going in the gradient panel and see that what the gradient will be if I click on it (which is usually based on a default gradient WHITE to BLACK, or it comes from the most recent gradiented object, I've touched). So I click on it and the gradient is enabled with the stops not being is not BLUE. What I want is... If I select a box with a BLUE fill and click on gradient - it will create a gradient with the two cases being the same BLUE as the fill color. It would be very convenient because instead of clicking on each stop, shift-eyedropping the blue color in an area of duplicated, it would begin immediately with the gradient of blue-blue for me to adjust (in the case below for a button I'd the superior light and lower darker stop).

Screen Shot 2012-12-14 at 5.04.17 PM.png

It is rather useful to select an object with a gradient to 'copy' this gradient, select a new object, click the gradient panel and have this new object to take on this exact gradient. But most of the time I'm not degraded copy but I'm creating new ones, and it makes more sense for me to create a gradient fill color. It would be helpful to someone else?

This script is that it creates a gradient with both having the same color as the selected object

var idoc = app.activeDocument;
var sel = idoc.selection[0];

var myGrad = idoc.gradients.add();
myGrad.gradientStops[0].color = sel.fillColor;
myGrad.gradientStops[1].color = sel.fillColor;

var fillcolor = new GradientColor;
fillcolor.gradient = myGrad;
sel.fillColor = fillcolor;

Tags: Illustrator

Similar Questions

  • New text is always black instead of my currently selected fill color.

    Does anyone know a way to change this? So that I could choose, say, a shade of red for my fill, then click to create a new text box and have what I type be red? Now it always sets the fill color to C0M0Y0K100 now, I create a new text object. Which can be a total pain in the * if I happen to work on a black background.

    I have 'new art has basic appearance' off in the appearance palette, this isn't that.

    Some googling gives to think that I can change what the text insists on being of faffing round in panels of paragraph or character style, color, but is really not much better - I want to make it behave like the rest of the program, where my background and outline colors remain unchanged until I have change myself.

    Anyone got all solutions to this beyond "go report bug and maybe it will be fixed in five years?" I'm tired of my new items text by alt - drag an existing one in the color I want.

    What the hell no mod Forum Adobe the right answer isn't 'do my text, then set its color. The correct answer is "you can't do this because someone at Adobe thinks it is a good idea for the text tool do not walk as the rest of the program, go apply for a feature or a bug report. What I've done.

    My problem isn't that I don't know how to change the color of my text. I can do that very well. I did it several times I could even begin to estimate - almost every time that I went to bed a text object. My problem is that I have a colour that works perfectly with my image, then I click with the text tool and all of a sudden, I type in black. And when I cut and paste a few words of the text object to another, Illustrator also "useful" makes black. Even if neither the text I cut myself, or sticky, is black.

    It's especially infuriating when I get to work on a dark background and tape suddenly blind.

    As for "it could cause more problems than it solved," well, the object-> unlock all followed by select-> object-> all objects of the type, and then select black? And besides, we got fined for every year back before starting the engine of revamped type doing so a few years ago. Hell, just add the ability to assign "inherit the current settings" to the accident vascular cerebral/filling of a style in the character/paragraph publishers style both would make us happy - I could type some wacky aspect I wanted, and you have your default solemn C0M0Y0K100.

  • Is there a quick way to create a shortcut on the desktop instead of drag?

    I didn't notice a way to do more than to drag the address on the desktop. It would be cool to have an option of menu keyboard shortcut or bookmark - so I can't resize my browser in order to have room for dragging to the desktop, then resize again in full screen. I use FF 29.0.1, win7 64-bit

    Thank you!

    There was formerly a context menu entry to create a desktop shortcut; This extension adds this new item in Firefox.
    https://addons.Mozilla.org/en-us/Firefox/addon/deskCut/

  • Quick way to create a PDF of a folio?

    I completed an iPad app rather rich in contents of DPS for a customer. They also want an interactive PDF version to place on their site.

    Is there a quick process for conversion, or manually do I PDF each page of each section of the folio?

    Thank you

    You can simply save your InDesign documents to PDF source by using the file menu, but do not forget that your interactivity will not carry to the PDF document.

    Neil

  • How to get the gradient in Illustrator fill color

    I have the draw button for the web in Adobe Illustrator format. I'm trying to get the fill parameters to create the same look with CSS. I can't find what color to use and gradient settings.

    button-problem.png

    Eugene,

    In the drop-down window (in the line on the very top starting with file), you can check degraded, and if yes, what happens?

  • Create a gradient to an object that goes from solid transparent

    Is there a way to create a gradient to an object that goes from solid transparent?

    Make sure that the cursor Opacity on the gradient tool Options toolbar is not set to a different number of 100%.

  • Create a gradient with my own

    This may seem like a really stupid question, but how to create a gradient using my own colors? I've recently updated CS3 form where I could just drag a shade of color on the slider to set the color of gradient. Now I can not do. If I try with one of the default colors it works without problem, but if I create my own swatch and then I get a circle with a line through it, saying: I can't do it.

    I'm probably wrong but I can not work what and you'd be grateful for any help.

    Thank you

    Lucy,

    There may be something wrong with the prferences. Try the following (you may have tried / some of them already) and see if that helps you (the following is a general list of things, try when he's not in a file specific; 3) and 4) specifically may be corrupted preferences):

    (1) close Illy and open again.

    (2) restart the computer (maybe three times);

    (3) close Illy and press Ctrl + Alt + Shift / Cmd + Option + shift during startup (easy, but irreversible);

    4) to move the folder with closed Illy (more tedious but also more thorough and reversible);

    ((5) browse and try the relevant among the other options (point 7) is a list of the usual suspects among other applications which can disturb and confuse Illy);

    Even worse, if no other solution appears, you can:

    (6) uninstall, run the cleanup tool and reinstall.

    http://www.Adobe.com/support/contact/cscleanertool.html

  • Quick way to select an article from a heterogeneous environment

    Hello

    Sorry for what may seem like a simple question but I'm creating a selection of a person in a photo using CS5 Extended. The background of the picture is not uniform and is neither the person (so the magic wand tool does not work). Other the catch is I have to do this same process for about 90 photos and so need a quick way to do this (creating an outline using the pen tool, and then do a selection works very well but it is far too labor).

    Thanks in advance to a memory segment.

    Have you tried the quick selection tool yet?

  • Is there a way to create a plan of action in vCAC and allow a user to select a network?

    Hello

    We have 30 different VLAN used for various tasks within our Organization. I was wondering if there is a way to create a unique model vCAC and alow the user to choose which virtual machine network join to (at the time)?

    It's not like I can use a vCenter customization specification and just set up 'network-> Custom Settings-> interrogate the user'

    Or I have to create 30 Blue each connected to a different network?

    vCAC Build 6.0 - 1720522

    Thank you

    Tom

    This will show you how do

    [virtualjad.com]: vCAC dictionary of properties: customize applications for Service with dynamic Menus

    You use custom properties to achieve this. You won't need 30 blue, build a logic and apply it on a plan of action.

  • Is there a quick way to change a specific color in an image without masking or select an object?

    Is there a quick way to change a specific color in an image?  I mean, for example, slecting an object in the image and change the color of the object which may involve masking, etc..  What I want is a quick way to change the bokeh or part of the bokeh from an image to a nicer color.  Maybe something like help of the color picker to choose a specific color in the image and to be able to change all the colors with this exact value (hexadecimal number)?  Not sure if I explained it very well.  But I'm looking for something more specific while playing with the color sliders - I want to be able to choose the exact color for areas of interest of my image.

    The description you give is something that Photoshop does, but Lightroom does not.

    You can use Lightroom to brush an area to have some white balance, but this seems different from what you are trying to do (and it is not "fast" anyway)

  • Quick way to assign the IDs table header cells to data?

    Acrobat X (10.1.9)

    For the accessibility of tables with complex headers, is there a quick way to assign the ID of the header cells to data associated with them?  I have not found a way faster than go to one cell at a time.

    All tags already have an ID, this question is how quickly assign the ID of header cells to all data cells in a row or a column.

    Better yet, is there a function or plugin that looks like to a table column and line and automatically assigns the headers for all data cells?

    I used the Table Inspector in Acrobat and several years of the CommonLook plug-in version. Both allow you to set several properties for all the cells in a selection. And they act as if they fortunately put header IDs for multiple cells, but after clicking OK and watch the cell properties, TI is not set for any of them, and CL only sets it to the first cell that has been selected.

    I prepare a PDF file of scientific reports for Section 508 compliance. Often, they are hundreds of pages long and got the results of large tables. Some clients insist on complex headers. Cell by cell is surprisingly long.

    I am running the latest version of CommonLook and manages to assign very well identification tags.  You can select multiple cells and assign them to a header.  You can also select the same cells and assign them to another heading using "Append". This will add the new header, without deleting the header already assigned.  In earlier versions Append has not worked for me.   That's what you need, if you have complex tables for a long time.  If you get the latest version and this isn't the case call Technical Support, as the plugin does not work correctly.  The Touch Up reading order tool does not.

    I sometimes create a white/hidden text for the header text that spans several columns and then create individual to keep them, but I wouldn't rely on it for long tables or use it as my main method. It's a pretty quick solution in some cases - or if your author likes to let in line 1, column 1 white, you can create your own invisible header for the screen reader.  But it is too difficult to verify, and not the best route to follow. Also the hidden text is considered a no-no by some as it is supposed to be a drop out / drop behind or mistake to layout.

  • Any way to separate a gradient in illustator on the menu color chart color chart?

    Hi all

    I'm working on a project in Illustrator and I used as a starting point for something one of the gradients in Illustrator. I changed since certain colors in the gradient to fit my desired color scheme, and I now want to use certain colors in the gradient on other objects in the design for a color matching. I know that I can look at the values of the nuances in the gradient and create a new shade and manually enter those same numbers, but I wonder if there is a faster or easier way? I have had this happen before and I'd love to know an effective shortcut to time. I want to do ideally is to be able to tell Illustrator to create/send the stages of individual color in the gradient to the nuances of documents library. It's okay if she sends all colors at once, or if there is a way to drag or move them one at a time in the library. Is it possible to do other that manually re-create the color by the number? Again, just to clarify, I don't want to make a single shade of gradient in the library, I want to create a sample for each color in the gradient (i.e. a gradient with 3 color stops would create 3 shades of each in the shades of color of the document library). Any help would be greatly appreciated. I feel that it is probably much easier I have doing it, but I can't find anything. Maybe I used the wrong terminology in my research? Thank you!

    You need 3 pallets open: Gradient, of shades and colors.

    In the palette degraded: adjust your gradient as you wish, select one of the steps of color or make a new stop at the color that you want to keep.

    You will see the selected gradient color in the color palette.

    Drag the color from the palette of colors to the Swatches palette.

    Simple like that :-)

  • Is there a quick way to numbers iTunes album titles?

    I'm in a band and have simply copied a load of our demos to iTunes as an album, with works of art, etc..

    Is there a quick way to request a track number to each song, so the album is in the right order?

    Or do I have to do a "Get Info" for each song individually and painstakingly number each song as track 1 30 ', follow 2 of 30' and so on?

    I know you can rearrange the songs in playlists easily enough, but I do like the album, with works of art, etc.

    So far I found only the method of numbering individual "Get Info", that seems terribly lengthy for what should be a simple process!

    Dougscripts website. Script called Albumize selection

  • What is the quick way to check if the battery current sequency contains nothing or not?

    Hi all

    I have switch from C++ to the labview in a short time before. I got a code written in labview 7 someone else and I am trying to change a code in my labview 2012. In the code, there are a lot of nested structures (like sequency battery, case, etc.). Some code contains 30 batteries but not all subsequences contains controls or code. Someone when I pass in a sequence, it seems empty, but some controls or code could be hiding somewhere beyond the current view. Thus, instead of zoom current sequency block, is that any quick way to identify if the block contains another type or not? Thank you.

    It is spelled "sequence".

    Make sure that autogrow is enabled for the sequence stacked so that you don't have the problem of the code hidden beyond the edges.

    Right-click on the stacked sequence and choose replace with flat sequence.  It will extend things, but how you can see all the pictures.

    Block diagram cleanup allows to get rid of more space and clean up the code.

    If you see empty images, you can right-click on the border between frames and select merge the images.  You should also do this if you have separate frames that should not be because there is already a data dependence that determines the sequence of operation.

  • Simple table - best way to create in the Muse?

    Hello

    I want to insert a simple table into a page in Muse.  This is an Excel spreadsheet with 6 rows and 4 columns.  It seems that I can select the cells in Excel, copy and paste in Muse.  I can also create the table directly in Muse using text boxes with striped borders - easy since my table is so small.  I read the posts here on the use of object and place, but I don't know that I need it.  I didn't need the ability to modify the data of Muse.

    My question is this: what is the best way to create a simple table in Muse?

    Thank you.

    John

    Hello

    This really depends on your preferences as well as the specific features of the table that you want to create. In your case, because the table is simple and does not need to be edited, it may be more simple create the table using text boxes and stroked the borders in muse (as you already have) you don't need to use more than one program.

    However, have you ever needed the ability to modify your tables, your best bet is to integrate the HTML code in Muse. You can do this with a table in Excel:

    What are the exact steps to get an array of Exel to Muse.

    Or create the table using a HTML generator:

    HTML - TablesGenerator.com table generator

    No option requires no knowledge of HTML. I hope this helps!

Maybe you are looking for