Script to Outline a Stroke

Is it possible to script the menu item Object/Path/Outline Stroke?
I need to cycle through all the Path items in the document and convert them to Outlines.
Thanks

Ditto what Carlos has said… pre CS6 you would need to script in AppleScript or Visual Basic and play an action… With CS6 you could call an action using JavaScript… The other posibility with CS6 would be to assign the menu item a keyboard shortcut ( does not have one by default in CS5 ) Then you could try call the shortcut… I don't have CS6 so this is just 'in theory' from the guides…

Similar Messages

  • How do you create outlines from strokes in cs5

    how do you create outlines from strokes in cs5

    Sure.
    Roughen effect. This is interesting for some "vintage" look of lines.
    Roughen effect with Outline first.

  • How do you outline a stroke in Freehand?

    Is there a way, such as could be accomplished with
    'Streamline' in older versions of Illustrator, but now is a
    built-in capability in Illustrator CS2, to outline a stroke in
    Freehand so it will be turned into 'flat' artwork (a filled path)
    retaining the identical look of the original stroked path but now,
    it becomes no longer a stroke but a filled object.
    Hope I explained that correctly.
    TIA,
    Ken

    Select the stroke you want to outline, then choose "Expand
    Stroke" under the Xtras/Path Operationsmenu. Choose the same width
    as the stroke and that's it! Same concept as Illustrator but
    different name.
    Sorry...I didn't know that it already posted! ;)

  • Illustrator CS4 keeps 'quitting unexpectedly' whenever I outline a stroke

    Hello!
    As of yesterday my trusty Illustrator CS4 has started quitting on me every time I perform certain tasks, such as outlining a stroke.
    It does seem to coincide with an Adobe Flash update, but I can't be too sure it's definitely that what is causing it.
    I've searched high and low on the internet for a solution but haven't found anything similar, and I've called Adobe customer support but they unsurprisingly don't offer support for CS4 anymore.
    Any help would be greatly appreciated as I'm losing both work and time on my deadline.
    Thanks

    Pez,
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Outline a stroke......?

    hello, thanks for advise in advance, my problem today is i needed to stroke some text to thicken up for vinyl work. so then i select all,create outlines, then object-path-outline stroke........ but when i looked closer i got two outlines the one from original border and one from the stroke that i outlined. so then i tried to direct select paths i did not need seem to work but went i sent work to cutter still got both outlines. any advise would be great thanks again. -nick

    All you had to do is Create Outlines there was no need to also outline the stroke.
    So what you might have now is actually a compound path
    Something like this
    you would want to first determine if you want the outer or inner path to use for the cutline.
    And you can delete the say the interior path, the fill will become probably black which you can change as well
    What you probably had before was actually three paths the original path left because you had a fill as well as a stroke
    like this

  • Creating a shape outline without stroke

    I'm creating navigational elements in photoshop and I want to be able to adjust the outline by itself, as well as there are some elements that are only an outline with no fill. How do I create shape outlines without the fill?
    Adobe Photoshop CS4, PC.

    they changed this a few times, on one version there was a stroke style option to do it.
    the earlier versions there was a long winded way of
    1. Draw your rounded rect etc with the tool
    2. Ctrl-select that layer to select the shape
    3. Create a new layer
    4. Edit -> Stroke... to create the outline
    5. Delete the original shape
    another was was Select->Modify->Border
    don't forget there is a stroke from the drop down menus not just in effects, this is what you need when you want a stroke on a stroke on a stroke etc

  • Any way to outline a stroke to convert a line to a  filled object? [CS4]

    Illustrator has 'outline stroke' or somesuch, which lets you convert a line item to a filled object. I'd like to do the same in ID for arrow lines. Any way to kludge this?
    Thanks in advance.
    Aaron

    Both methods work but neither produces a single object. In other words, the arrow head is still separate from the line and selectable as such with the direct selection tool. Thus pasting it back in ID and filling it with a gradient gives a noticeable difference between arrowhead and line.
    Anyway, this is progress... Thanks, both!
    Aaron

  • Scripting essbase outline changes

    <p>Where is the best information to use in learning how to scriptEssbase outline changes?  I'm very new to Essbase, but can seethat I would rather handle outline changes with a script as opposedto using the Hyperion Essbase Admin GUI.</p><p> </p><p>Thanks!</p>

    Automated changes to the outline via a script - in its simplest form - take the form of a ready-to-use data source and a load rule, typically one for each dimension, but at times multiple per dimension. These can then both be further leveraged by writing a script - such as an ESSCMD or MaxL script, languages that are unique to Hyperion - which could then even be scheduled.<BR><BR>Please note that these are moderately complex topics, ones that will be impossible to learn via message board forums or email. Although you may be able to educate yourself by an in-depth analysis of the applicable chapters of the Dabatase Administrator's Guide, might I recommend that you plan on attending a class on the topic? Our Essbase Bootcamp (if versions 6 or 7) or the Analytic Services Bootcamp (if System 9) are both inclusive of the topics you seek and much more. Both are offered regularly throughout the U.S. and a variety of international locations.

  • Script to select same stroke color and apply a new swatch...

    I am trying to write a script that will select a line based on a swatch name, apply a new swatch, set the stroke, dash and miter of the line...and then create a new layer, change then name of the layer, and then move the selected items to the newly created layer.
    All I could seem to accomplish was renaming a swatch.
    var swatchName = app.activeDocument.swatches;
    if (swatchName.length > 0) {
        for (i=0; i < swatchName.length; i++){  
            changeName(swatchName[i]);
    function changeName(swatchObject){
                     if (swatchObject.name == "PANTONE Orange 021 C"){                     
                        swatchObject.name = "021 (Orange)";
                    if (swatchObject.name == "PANTONE Red 032 C"){                     
                        swatchObject.name = "032 (Red)";
    So the goal of what I would like it to do is look for all paths with the stroke color set to "PANTONE Orange 021 C" then have it change the swatch name to "021 (Orange)". After that apply the stroke, dash and miter. Create a new layer named "021 (Orange)". Then send all of the selected lines to that layer.
    PLEASE HELP AS I HAVE 200+ files to do this task to. Using a windows machine with CS3. Trying to write in javascript.

    This would be the way to rename 2 existing swatches… The GUI pallet can be a little sticky in updating but it works…
    #target illustrator
    var docRef = app.activeDocument;
    var a = docRef.swatches.getByName('PANTONE Orange 021 C');
    a.name = '021 (Orange)';
    var b = docRef.swatches.getByName('PANTONE Red 032 C');
    b.name = '032 (Red)';
    redraw();
    My mistake… Looks like this Jive stuff gave you an unwanted bump from nowhere? Didn't look at the date…

  • Script to click on Stroke and Fill and Swap and Default and ...

    Hey gang,
    I have been playing with configurator 3.1.1 where you can make a button on a toolbar and supply it with a script. I am trying to make a custom toolbar for InDesign CS6. It already includes buttons for all the tools, except for (I am shocked to note) Stroke, Fill, Swap, Default, Apply Color, Apply Gradient, Apply None, and possibly Formatting Affects Container and Formatting Affects Type. I don't know how to command these missing 7-9 parts of the toolbox panel.
    My workaround? Use the Configurator Script button, and supply the button with scripting that calls the functional button command. In reading and researching, I found one command: StrokeFillProxyOptions.FILL which presses the Fill Proxy button.
    Alas, I don't have the complete picture. That expression alone does not make the whole clickable script button work. Can you help me write the whole line of script code that would make the button click?
    Best to you,
    Mike Witherell in Maryland

    Hi Michael
    app.selection[0].textFramePreferences.verticalJustification = VerticalJustification.JUSTIFY_ALIGN;
    Is going to work provided you have the text frame selected. If it's not you'll get an ugly error message.
    You can avoid this by
    if (app.documents.length && app.selection.length && app.selection [ 0 ].constructor.name == "TextFrame")
        app.selection[0].textFramePreferences.verticalJustification = VerticalJustification.JUSTIFY_ALIGN;
    if (app.documents.length && app.selection.length && app.selection [ 0 ].hasOwnProperty ( 'baseline' ))
        app.selection[0].parentTextFrames[0].textFramePreferences.verticalJustification = VerticalJustification.JUSTIFY_ALIGN;
    This will work if the frame is selected (first if statement) or if text if selected or if the cursor is by text (second if statement and do nothing (without giving error messages) if the is no selection or document open etc.
    Good Luck
    Trevor

  • Script to find/change stroke in tables

    Hi everyone,
    I posted this very same question about a month ago but I got no reply so I thought I'd try again. Even if I can't obtain a free script that will do what I need, I'm happy to look at paying for one if someone can point me in the right direction.
    I'm looking for a script that will target the stroke weight in tables and change them to a lighter weight, eg. from 0.5pt to 0.3pt.
    I have a script that targets the fill at the following url:
    http://forums.adobe.com/thread/681944
    ...but I'm looking for one that targets the stroke.
    Just wondering if anyone might know where I can find one?
    Thanks

    Hi Livingmedia,
    I have modified the above js code, Please check.
    myDialog = app.dialogs.add ({name:"Recolor Tables",canCancel:true}); 
    swatchlist = app.activeDocument.swatches.everyItem().name; 
    with (myDialog) 
    with (dialogColumns.add()) 
      with (borderPanels.add()) 
       staticTexts.add ({staticLabel:"Find"}); 
       swf = dropdowns.add ({stringList:swatchlist, selectedIndex:0}); 
       tbf = percentComboboxes.add({editValue:100, largeNudge:10, stringList:["25", "50", "75", "100"] }); 
       tbfStrk = measurementEditboxes.add({editValue:0.5}); 
      with (borderPanels.add()) 
       staticTexts.add ({staticLabel:"Replace"}); 
       swr = dropdowns.add ({stringList:swatchlist, selectedIndex:0}); 
       tbr = percentComboboxes.add({editValue:100, largeNudge:10, stringList:["25", "50", "75", "100"] }); 
       tbrStrk = measurementEditboxes.add({editValue:0.33}); 
      with (borderPanels.add()) 
       dostrokes = checkboxControls.add({staticLabel:"Change strokes", checkedState:true}); 
       dofills = checkboxControls.add({staticLabel:"Change fills", checkedState:true}); 
    if (!myDialog.show() || !(dostrokes.checkedState || dofills.checkedState)) 
    myDialog.destroy(); 
    exit(0); 
    findtint = tbf.editValue; 
    findStrk = tbfStrk.editValue; 
    findswatch = app.activeDocument.swatches.item(swf.selectedIndex); 
    changetint = tbr.editValue; 
    changeStrk = tbrStrk.editValue; 
    changeswatch = app.activeDocument.swatches.item(swr.selectedIndex); 
    strokes = dostrokes.checkedState; 
    fills = dofills.checkedState; 
    fillchanges = 0; 
    strokechanges = 0; 
    tb = app.activeDocument.stories.everyItem().tables.everyItem().getElements(); 
    for (t=tb.length-1; t>=0; t--) 
      tab = tb[t]; 
      for (c=0; c<tab.cells.length; c++) 
       if (fills && tab.cells[c].fillColor == findswatch && tab.cells[c].fillTint == findtint) 
        fillchanges++; 
        tab.cells[c].properties = {fillColor:changeswatch, fillTint:changetint}; 
       if (strokes) 
        s = false; 
        if (tab.cells[c].topEdgeStrokeColor == findswatch && tab.cells[c].topEdgeStrokeTint == findtint && tab.cells[c].topEdgeStrokeWeight == findStrk) 
         s = true; 
         tab.cells[c].properties = {topEdgeStrokeColor:changeswatch, topEdgeStrokeTint:changetint, topEdgeStrokeWeight:changeStrk}; 
        if (tab.cells[c].bottomEdgeStrokeColor == findswatch && tab.cells[c].bottomEdgeStrokeTint == findtint && tab.cells[c].bottomEdgeStrokeWeight == findStrk) 
         s = true; 
         tab.cells[c].properties = {bottomEdgeStrokeColor:changeswatch, bottomEdgeStrokeTint:changetint, bottomEdgeStrokeWeight:changeStrk}; 
        if (tab.cells[c].leftEdgeStrokeColor == findswatch && tab.cells[c].leftEdgeStrokeTint == findtint && tab.cells[c].leftEdgeStrokeWeight == findStrk) 
         s = true; 
         tab.cells[c].properties = {leftEdgeStrokeColor:changeswatch, leftEdgeStrokeTint:changetint, leftEdgeStrokeWeight:changeStrk}; 
        if (tab.cells[c].rightEdgeStrokeColor == findswatch && tab.cells[c].rightEdgeStrokeTint == findtint && tab.cells[c].rightEdgeStrokeWeight == findStrk) 
         s = true; 
         tab.cells[c].properties = {rightEdgeStrokeColor:changeswatch, rightEdgeStrokeTint:changetint, rightEdgeStrokeWeight:changeStrk}; 
        if (s) 
         strokechanges++; 
    ch = "No changes made"; 
    if (fillchanges) 
    ch = fillchanges+" fills changed"; 
    if (strokechanges) 
      ch += "\n"+strokechanges+" strokes changed"; 
    } else if (strokechanges) 
      ch = strokechanges+" strokes changed"; 
    alert (ch);
    thx,
    csm_phil

  • Outline or Stroke in texts on QT 7?

    Hello i am just more sad with apple in theses times... well is really impossible to text or subs have black outlines in qt 7? i can believe...
    there is mu question....
    i love QT bur a acepty suggestions
    thanks
    Mac Mini G4, 1.5 GHZ, Replaced HD 40 GB, 512 RAM - iMac 17' 2 Ghz Core2Duo   Mac OS X (10.4.8)   External USB HD

    I agree that is more difficult in version 7 than in the previous PC versions of QuickTime.
    On the Windows OS QuickTime Pro (versions 3 through 6) had a dialog window that used check boxes for things like outlined text. Mac users had that same dialog window in versions 3 and 4 (if memory serves me) but went to modifying using text editors in later versions.
    You can edit the text file to make changes in font, color, outline, font size and dozens of other options. Then just import the new text file.

  • Outline Stroke – normal behaviour?

    Here's a strange anomaly I bumped into.
    I drew a single open path with its ends crossing (see black line on the shot below).
    When I outline the stroke everything runs into one instead of overlapping (see red shape).
    Separate paths produce overlapping objects when outlined, so I would have expected the shape in my example to overlap itself.
    It is as if a Pathfinder Unite has been applied.
    Is this normal behaviour? Has Illie always done it this way?

    Steve,
    Is this normal behaviour? Has Illie always done it this way?
    It is always diffiult to determine whether a behaviour is normal or even rational, but she has always behaved that way.
    I believe she sees a (self overlapping) path as one object and  is unable to decide a split into parts, even though there is an order of Anchor Points; and after all, a self overlapping path may have only one segment so it is not always possible to consider an order of segments.
    Apart from that, a split would lead to separate paths, would it not (with coinciding ends that would be stroked if the paths were to be stroked)?
    And if the order should be shown without splitting the path, would it not require some rather strange solutions, apart from giving her a splitting headache trying to figure them out?

  • Object Path Outline Stroke creates jagged edges for curve

    When I outline a stroke, the nodes created along the curve are not smooth. Have these weird funky loops.
    Here is the images as just a stroke with 40 point weight. The segment showed has 3 anchor points.
    Here is the funky loops that I discussed above.
    Any idea how to smooth out the curves better and avoid this issue? Trying to build a font in Illustrator before I transfer to Fontographer but this is problematic for all my curves.

    Thanks for taking a look guys. I've attached additional screenshots.
    Here are the anchor points. The nodes and handles all snap to a 10pt grid (sorry about the bounding box, but you can still see the anchor handles in there).
    These are my brush definition settings.
    I did create the curves using pen tool, then applied the brush definition to the path.

  • Reverse outline stroke

    Hi,
    Let's say that I have an open path, drawn as a line in an illustration. Now, that path has been outlined (outline stroke) to a closed path, styled by it's fill.
    I am currently in the process of restyling such an illustration, and I would like to get it back to being an open path (that I can style by the stroke).
    Is there an easy/convenient way to do it? I tried with a cutting the path to two open parallell paths, and then blending them, but it didn't capture all the twists and turns properly...

    > I tried with a cutting the path to two open parallell paths, and then blending them, but it didn't capture all the twists and turns properly...
    Fraxinus,
    Blends work by averaging the positions of sequentially-corresponding anchorPoint and handle coordinates. If the two paths being blended have different number of points (as yours most probably do), a Blend is not likely to give you the kind of shape-accurate result you are trying to achieve.
    Best bet is to just redraw the paths. You could tweak and twiddle with the paths you are trying to blend, adding points here, removing them there; but you'd end up doing more work than just re-drawing the centerline anyway.
    In the future, if you think you are going to need to "revert" a piece of artwork in which you have outlined the strokes, save a copy with the basic paths as a separate file before doing the destructive path operations.
    JET

Maybe you are looking for

  • Convert LaserJet 5200 220v to 110v power

    Is it possible to purchase the proper parts to convert a LaserJet 5200 from 220v to 110v? I know about power converters, but just thought it would be better to convert the thing if possible. thanks.

  • PC has Adobe 8 Pro, Adobe 9 Reader, cannot edit PDF tab in Properties

    Hey all, I have a user with the above configuration.  Even though I told windows to open pdfs with the adobe 8 pro, the PDF tab in properties after right clicking the file is grayed out and cannot be edited, just like a pc with only reader on it. Any

  • Payment Method Mandatory

    How shall I make "Payment Method" field mandatory in FB60/FV60? Kindly advice.

  • Save waveforms with HP/Agilent 35665a with GPIB

    How to save wavaforms on a portable pc using pcmcia gpib card with the hp/agilent 35665a? I'm using the 6.01 Labview version and the instrument driver from the NI developer zone. Thanks.

  • 6280 - Printing /Viewing Contacts on my PC

    I have recently been swayed into making my first Nokia purchase and have just bought a 6280 version V03.6. I am using PC Suite V6.80.21. The 6280 is faulty and needs to go in for repairs. This means I need to temporarily use another phone until I get