Applescript to round off the shade % of graphic in Illustrator.

Discussion in 'Design and Graphics' started by starjohn, Apr 20, 2015.

  1. starjohn macrumors newbie

    Joined:
    Dec 2, 2014
    #1
    Hi Guys,

    I am using MacIntosh X, Adobe Illustrator CS6 (version 16) and Applescript Editor (version 2.5).

    I have more than 200 files with Bar charts and Pie charts. Every Time I have to convert the color mode to GrayScale through Menu Bar. (Edit > Edit colors > Convert to GrayScale). After doing that I have to select each and every bar of the chart with Direct selection tool and to round of the Shade Percentage.

    For example
    70.40% to 70% (the value after the dot is below 50)
    70.60 to 71% (the value after the dot is above 50)


    Attached screen shot for your reference.

    Is there a way, to do this using applescript?

    It will saves me a day.

    Thanks in advance.
    starjohn
     

    Attached Files:

  2. superscape macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #2
    I don't see any way of styling the constituent parts of the graph in the scripting dictionary, I'm afraid. So, unless anyone has a sneaky cheat method then I suspect that the answer is "No".

    Anyone care to chip in with a sneaky cheat method?
     
  3. superscape macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #3
    I guess no-one has a sneaky workaround then. :-(
     
  4. Dargoth macrumors regular

    Dargoth

    Joined:
    Oct 27, 2014
    #4
    There may be a way. I'll investigate a few possibilities and get back to you.
     

Share This Page