Nipple Scripting

H owdy folks! The nipple cover August 15, 2017 was more or less generated with a custom script written in Applescript. If you’re an Adobe nut and haven’t played around with scripting you need to start. There are some powerful things that can be done in Applescript and Javascript which can automate the crap out of your daily workflow.

Below is a script that runs in Illustrator CS5 that selects every item on the active document, generates random CMYK values from user-defined ranges then randomly scales the objects to a user-defined range. It’s painfully simple and works on more than just nipples.




tell application “Adobe Illustrator”

set obj to selection as list

set allMyItems to every path item of current document

repeat with myItem in allMyItems

set rndCyan to random number from 1 to 5

set rndMagenta to random number from 20 to 55

set rndYellow to random number from 1 to 5

set rndBlack to random number from 10 to 20

set fill color of myItem to {cyan:rndCyan, magenta:rndMagenta, yellow:rndYellow, black:rndBlack}

set rndScale to random number from 90 to 120

scale myItem horizontal scale (rndScale) vertical scale (rndScale) about center

end repeat

end tell

No comments yet.

Leave a Reply

Got an Opinion?


We are interested to hear what you think.  Please send us a message. [contact-form 4 “Opinion”]  

Springfield’s hidden gem


Referred to as an American Folk Art site, I didn’t know what I expected on my journey to Springfield’s Hartman […]

Debate 7/17: Flag on the Play


Q: Should persons with certain known behavioral tendencies such as suicide or violence be prohibited from owning guns? Legislatures across […]

Conspiracy Theorist 7/17: Hooray for Domino’s

Year after year, the same roads are torn up and road crews patch them. But they never really repair them. […]

On Your Marc 7/17: Good any day

First, a funny story. Larry Lee, the big tackle from Roth High School, for a number of reasons decided he […]

The Cult, Stone Temple Pilots, and Bush at Rose

CULT 2016 Tim Cadiente-2

“Rock and roll never forgets,” the classic rock song goes, and Billy Duffy, guitarist and founding member of the British […]