Gradient Feather Settings CS3 JS

Hello:
Hi -- Odd thing with the following snippet:
for (var i = (app.activeDocument.rectangles.length - 1); i >= 0; i--) {
var myrec = app.activeDocument.rectangles[i];
          if (myrec.label == "mygraphic") {
myrec.transparencySettings.gradientFeatherSettings.angle = -90;
The object appears to lose all gradients. However when I check the settings in InDesign, the change to -90 degrees has happened and all the other gradient settings have been preserved. But I have to redo the settings for the change to actually happen on the page.
If i run this with an angle of 45, it works fine.
Any idea what I might be doing wrong?
Is this a problem with negative numbers? If so, Is there any workarounds?
Any help would be greatly appreciated.
thanks in advance

Ah, it looks like it's beginning to work now :-)
I thought I had tried some of these things before, but obviously not. Thanks Peter, for your assistance. Now even assigning the whole properties collection of the TextStyleRange objects to the new character style object works! There's a lot of properties created, which I'd really would have preferred not to show up (in the summary of the character style dialogue box), since they are (as far as I can see) the default values, but I like the easy code this approach results in:
var selText = app.selection;
var srs = selText[0].textStyleRanges;
for (var iTSR=srs.length-1; iTSR>=0; iTSR--){
]if (srs[iTSR].styleOverridden){
]]// This is an overridden style we need to create a style for
]]var ch = srs[iTSR];
]]newStyle = app.activeDocument.characterStyles.add(ch.properties);
]]if (app.activeDocument.characterStyles.item('newstyle'+iTSR.toString())!=null) app.activeDocument.characterStyles.item('newstyle'+iTSR.toString()).remove();
]]newStyle.name = 'newstyle'+iTSR.toString();
I'm not yet quite clear on how to treat overridden paragraph styles. Perhaps I need to check whether the properties of the new character style are already the same as the ones of an possibly applied paragraph style, and if so, not assign (or remove) that property from the new character style.
Also... possible need to name all uniquley auto-generated styles and find a way to apply the same style again (not to risk creating a large number of character styles just setting "bold").
Andreas

Similar Messages

  • How do I import gradient map settings from one computer to another?

    Quick Question,
    How do I import my gradient map settings from CS3 on my old I mac into my new Mac that uses CS6? Is there a folder somewhere that I can just copy and paste?
    Thanks,
    Mike

    1
    Start Adobe Photoshop CS3 and open an image from your files to which you want to apply a gradient map.
    2
    Select the "Image" menu, point to "Adjustments" and click on "Gradient Map" to open the "Gradient Map" dialog box.
    3
    Choose the gradient you want to use for the gradient map by clicking on the "Gradient Picker" drop-down box. Click on the gradient preset you want to use for the gradient mapping. You will see that in the background the gradient has been applied to your open image.
    4
    Click on the gradient fill that you have chosen to open the "Gradient Editor" if you want to edit the gradient preset. Make any changes in this dialog box and click the "OK" button to close the box and return to your gradient map.
    5
    Set any final options to apply to your gradient map. Check "Dither" under "Gradient Options" to add noise to smooth the bands of your gradient and/or "Reverse" to switch the direction of the gradient map.
    6
    Use the "OK" button to close the "Gradient Map" dialog box and return your image to which the gradient map is now applied.
    Is that what you were asking?
    Hope it helps.

  • Problems with gradient feather when saving as pdf

    I have an InDesign CS4 file which has a high-quality grayscale jpg with a CMYK jpg on top of it. The later has a gradient feather effect applied to it. When I export to pdf, some people (I believe with an older version of Reader or Preview) cannot view the gradient. From a computer like this, it prints the most transparent part of the gradient as the entire gradient, so I think it's still there but very hard to see.
    I haven't been able to test it in Reader because I can't find an older version, but I know it doesn't work in an older version of Preview (3.0.9 is what I tried). However, everything I've tried hasn't worked—I've tried changing the Transparency Blend Space to RGB, Exporting as Acrobat 4.0 (which works but looks horrible); I've exported as Press Quality and High Quality Print, and played with profile settings. I've also made sure that all my graphics and profiles match as CMYK, because originally they didn't. The only thing that works is if I open it in my version of Mac Preview (5.0.2) and then Save As a pdf from it. But I'm afraid the colors and perhaps quality are affected in so doing. I've also googled this to no avail.
    Has anyone else had this problem? Can someone help?
    This is what is should look like.
    This is what it does. Notice the color is still in the "contact us" (and all the colors on p.2 are fine).

    What version campatibility for Acrobat do you have selected in your export settings? Changing to Acrobat 4 will make it compatible with 4 and later, but you'll wind up falttening the the transparency and heve nasty looking white stitching lines all over the place that will show on screen and print on most desktop devices, not to mention a loss of interactivity, I think.
    Reader is free... Tell these people to download an upgrade to the most recent version that will run on their systems rather than trying to dumb down your file.

  • Gradient feather display problem in browser

    Hi,
    I have two images/photos to which I applied a gradient feather effect. The documment printed fine, but when the PDF is viewed online in Fire Fox, the gradient feather no longer displays and only the sharp edges of the photo are visible. Is there a specific setting when saving to PDF that I need to select for  best viewing online? I'm on a Mac CS 5.5.
    Thanks!

    KodaNuka said:
    Thanks for the link to the disucssion. I really didn't get a concrete solution from it though.....
    @KodaNuka – I don't think there is a simple method achieving the things you want.
    An effect like "Gradient Feather" applied to a text frame most likely will force the text to outline paths during output. No Hyperlink will survive that.
    It's best to decouple the Hyperlink from the effect by sandwiching a text frame with the hyperlink above the text frame with the effect setting fill color (and stroke color, if applied) to "None".
    If that will not work out, you have to redo the hyperlinks in Acrobat Pro.
    To view all that successfully in the PDF viewer of your browser (Firefox in your case) you have to output to sRGB and flatten all transparency effects. If you could do that with your PDF Export settings or through PostScript output and distilling to PDF is up to you. Another chance will be flattening and changing the color space in Acrobat Pro if necessary…
    Just my 2 Euro Cents…
    Uwe

  • Color difference after adding gradient feather

    Hi,
    As soon as I apply gradient feather to the black box the image color changes drastically.
    The imported image is a psd file & in grayscale mode.
    This problem exists in CS6 & CC version of indesign
    Any suggestions on fixing this?
    Regards,
    Arihant

    I bet it actually looks like that in Overprint Preview before you add the feather, too.
    ID does not recognize grasycale color profiles, on import. It takes the numbers and puts them into the K channel of the document's CMYK working space. The transparency effect forces ID to use the overprint preview to display the effect and you get a more accurate on-screen rendition of what your output should look like. It could be lighter or darker, depending on the gray and CMYK profiles involved.
    If you want to get a better idea of how your grayscale will look coming out of ID when you are doing the conversion in Photoshop you can create a custom gray space inthe Photoshop color settings by choosing "Load Gray" from the dropdown, then choosing the CMYK profile that you use in ID from the load dialog, and the Black Ink channel will be used.

  • Applying a Gradient Feather with a Drop Shadow...

    Howdy,
    I am currently working in Indesign CS3 and I have an outlined image in my document and I am applying a gradient feather so that the image fades from opaque to transparent at the bottom. If I apply a black colored drop shadow to the object the image's color changes slightly because the shadow's color darkens the image where the gradient feather's transparency fades away.
    I have checked the box in the shadows menu so that it "Honors the other effects" but it seems to apply no change in the darkening of the bottom of my image. Has there been a fix for this or an update that will eliminate the shadows color effecting my images color?
    I was just wondering if you could fix the program so that the shadow takes the gradient feather into consideration and does not interfere with the objects color? Or even add a gradient feather feature to the drop shadow effect itself?
    Any suggestions for fixing this other than creating a shadow for the object in Photoshop and importing it into my document. Placing the shadow behind my image and applying a gradient feather that fades out earlier so that the shadows color does not interfere with my image.
    Anything on this subject I would be thoroughly grateful for.
    ~Thanks!

    Ok sorry this is confusing! Here is the image that I am talking about. I am working in InDesign on a catalog for softball uniforms. I have a ton of these uniform images that I'm attempting to apply a gradient feather as well as a drop shadow. But the drop shadow is effecting the color of the uniforms. I was just wondering it this can be avoided.
    Image #1 has both the feather and the drop shadow applied to it. The shadow at the bottom where the image feathers shows through and changes the color of the image. I was just wondering if this can be avoided. You can see the difference it makes when the shadow is not applied on Image 2. I have made sure the drop shadow effect "honors other effects" but it doesn't seem to affect it showing through the feather. I am just wondering if it's possible to avoid having the drop shadow show through the feathered end of an object.
    Thanks for your help everyone!

  • Object with gradient feather disappears upon export to pdf

    I'm troubleshooting a file where an object with a gradient feather disappears from the exported .pdf file. The rest of the file is perfect. I've tried different .pdf presets. I've tried moving the offending object to its own layer at the bottom of the layer stack. I've tried copying all the art to a new file. I've tried grouping everything. Nothing is working. I can successfully export to .jpg format. I'm using InDesign CS5 on an iMac. Thanks for any suggestions.

    InDesign file on the left, PDF on the right.

  • IDCS3 Gradient Feather tool postscript problems

    I have noticed that when a customer or myself uses the Gradient Feather effect in a page, the rip I work with at my company (Kodak Prinergy> adobe PS3) will not rip the page and fails. or as my customers have found, it will not create a PDF?
    Can any help on this subject, as I have to find workarounds on most jobs, but some it is impossible?

    Derek,
    I don't have access to a Prinergy RIP, but I've definitely successfully made PDF files when an IDCS3 Gradient Feather was incorporated in a page.
    You'll need either to provide an example file, or give more information about when this happens for you for us to help you.
    Does the Prinergy RIP have the latest patches and updates to its software applied? Bugs can occur in RIP software, I'm sure you realize. It may be patched in a later software version.

  • Gradient Feather not printing to PDF or on paper

    Hi, I have a file that has a white gradient feather that will not print to PDF or on paper. It only shows it on the screen. I have never had this problem before in the program but seems to have started today. What can I do to fix this?
    Thank you for your time!

    I am working with InDesign CS4 on XP.
    It is a native gradient created in InDesign.
    It did not show up in Overprint Preview.

  • Gradient Feather not displaying in Firefox

    Backgrounds in PDFs using Gradient Feather tool do not display correctly in Firefox. Any suggestions?

    See: http://forums.adobe.com/thread/1407999?tstart=30

  • Drop Cap Button + Gradient Feather Tool like indd

    A drop cap button similar to the indesign in the paragraph menu. Usually I delete the first letter and use a text wrap around an individual character - this is messy as it doesn't follow the rules of the baseline if I start moving things around, and if I change my mind I need to remember to retype the first character again.
    Also I wish there was a gradient feather tool in illustrator to bypass making transparent gradient masks in the appearance panel - half the time I copy the image into indesign - apply the feather - and paste it back into
    illustrator in less time it would take to create the same effect in illustrator.
    Thanks for listening,
    Caitlin

    Contact Sheet is a welcome return. So many features can be adapted. I made this a few years ago by sizing up 40 images, and turning off titles, and ‘Flatten Layers’ when making the contact sheet. It was then fairly simple to FT each layer to give some overlap, and use Layer masks for creative affect.
    It was eventually incorperated into a poster for the organisation running the event.
    Some interesting JDIs  (thanks so much for the typed list!).
    The Eye dropper changes appeal to me, and Ctrl J now working on Groups is very welcome.  Lots more there, but what worries me is that there are apparently twice as many new JDIs in CS6 as there were in CS5, which makes me think I must be missing a lot of the CS5 JDIs.  is there a list somewhere?

  • Gradient Feather not appearing when printing from CS5

    I've created a document in InDesign CS5 and placed a box with a gradient feather over an illustrator image (vector). For some reason, the box isn't printing with the feather, but rather as a solid image. I've experimented with importing the illustrator image and box into Photoshop and saving as a tif file, then reimporting into InDesign. The gradient then prints fine, but now there is a moire pattern. Does anyone have any ideas? Thanks!

    Try applying the gradient feather to the frame that contains the graphic (don't make a separate frame).

  • Gradient Feather / Transparency CS5

    Dear Guys,
    I have a great client I have made something for him in the past it looks like this:
    As you see i have used gradient feather.
    Now the client turned back to me after a while and I am trying to do the same effect on his bussines cards but I can't get it and Indesign gives me a pink/white gradient automaticly it doesnt go transparent.
    Please could anyone help me out with this problem?
    Anyone familair with this problem?
    Kind Regards,
    OG

    This is so WEIRD!
    In this document I changed the next thing:
    Transparency Blend Space > Document CMYK to Document RGB now it does show the transparency but in the old file where it was all good its on CMYK.
    Next thing if I want to print this do i get the transparency cause i'm affraid something will go wrong.. anyone.. did I do something good or isn't this the solution?

  • Gradient Problem on CS3

    hi.  i've been using illustrator for the mac for a few years now and i've been using gradients on my work.  we've recently acquired a pc and illustrator cs3.  however, the gradients on it aren't as smooth as they were on mac.  for example, i would blend dark red and black.  on a mac the red will just fade to black, but on the pc, there's a slight "gray" area in the middle of the red and black that i can't get rid of.  it basically changes the look of all the old files i have where i have lots of gradients.  i've tried diff settings, and even tried changing color settings but it doesn't seem to get rid of that gray middle area.  anyone know how to fix that?  thanks.

    Full colour print jobs, like a magazine, are printed using CMYK colours. All colours you see are created by blending halftones of four inks: Cyan, Magenta, Yellow, and Black (CMYK). You can get a lot of colour that way, but if you're needs are specific, or if you only need one or two colours, Spot colours make more sense. Spot colours are colours that separate and print as that specific colour, using ink mixed by the printer (a company you hire, not a machine on your desk). Red can be a mix of Yellow and Magenta inks, or it can be printed using just red ink, like Pantone 485. When that happens you are using a spot colour.
    If you are designing for screen, ALL your colours are RGB, even if you specify them as CMYK. NONE of your colours are spot colours because you are not printing colour separations. Any colour you use can be made into a swatch, That's a nice way to access the colour with a click instead of dialing in the values each time you use it. It also makes it easy to make global changes if your swatch is Global. Change the swatch and all uses of it change throughout the illustration.
    Turning on the Spot option only affects how the colour is printed and tells Illustrator to blend it differently when using transparency (because of the different printing method). If you're not printing, or if the colour will be converted to CMYK process, don't call it a spot colour.
    Since you are not working for print, you should not be using spot colours (but it's OK to use global swatches). You should also use RGB Document Color Mode.

  • Trouble printing a gradient in Illustrator CS3

    Hi Guys,
    I'm having trouble printing a gradient via color seperation on a ecrm MAKO 36 image setter...
    I've uploaded a file. The top light blue border(gradient) will not print. If I take the gradient off it will seperate with no problems.
    I've tried using the compatible gradient & mesh printer settings but it doesn't make any difference.
    Any help would be greatly appreciated.
    Thanks,
    Curtis

    I looked at the file and found strange things about it. It has two groups of object that only have one object or path in the group and in each case the object has clipping path that does absolutely nothing I would eliminate the clipping by selecting them in the layers panel and deleting using the trash can in the layers panel.
    I would select all the art and in the attributes panel I would make the overprint options for both Fills and strokes set as uncheck, which is what I thin is causing the problem as there is no reason for an overprint.

Maybe you are looking for

  • Data in ods

    Hai Experts, Can any body tell me data is present in active data table, new data table, change log table and as wel as with this there is a content button it is asking for the table name what is that button consists of can any body help me out Regard

  • Changing the flow which is in process

    hi There is some problem in one workflow which is running in production. now i have corrected that problem in development and transported to production . now its working fine. but the old process which is already in flow is referring only the old wor

  • Dead keys

    a 3250 nokia phone major keys are not working,the joystick key, the call key and the end key.what can be the possible solution please.thanks.

  • Downloading all eLearning Assets Characters in Captivate 6

    Can I download all eLearning Asset Characters at the same time instead of individually?

  • Java.lang.stackoverflow error

    Hi All, I am getting the following error Exception in thread "main" java.lang.StackOverflowError      at java.util.ArrayList.<init>(Unknown Source)      at com.migration.wcm.vigneete.InitializeCls.<init>(InitializeCls.java:12)      at com.migration.w