header photo

via positiva

How to make a shiny button in OmniGraffle

One of my favorite new Mac apps is OmniGraffle, a slick piece of work that does diagramming, flowcharts, and other drawing oriented tasks. I needed a spiffy-looking logo button for a demo site this evening, and I needed something fast, so I popped open OmniGraffle and tried to whip something up. The results were pretty cool, so I thought it might be helpful to share the how-to:

graffle button

good job on that button you made.... but Mine doesn't come out like yours. My error seems to be centered around the third step.
What settings are you using for the "linear blend of 50% - 0% White...?
I am not getting a smooth transition of the two ovals.

thanks,

chrisj

re: smooth transition

Hi - you need to set the opacity from 50% to 0%, which is hidden at the bottom of the color picker. So do the linear blend, and when you click on the color selector for the top most color, choose white in the color picker, and then at the bottom, set the opacity to 50%. When you choose the bottom color of the liner blend, choose white again, but set the opacity to 0%. Then, it blends. :-) Cheers - Gerry

Smooth Transition - Apple Script

Here is an AppleScript (in O.G. Edit -> Copy As -> AppleScript that should reproduce the object, which you can then inspect: tell application "OmniGraffle Professional"
tell canvas of front window
make new shape at end of graphics with properties {gradient angle:90, fill color:{1.0, 1.0, 1.0, 0.49}, draws stroke:false, textPosition:{0.1, 0.15}, textSize:{0.8, 0.7}, gradient color:{1.0, 1.0, 1.0, 0.0}, name:"Circle", draws shadow:false, origin:{205.5, 184.5}, size:{48.0, 28.0}, fill:linear fill}
make new shape at end of graphics with properties {gradient angle:90, draws stroke:false, textPosition:{0.1, 0.15}, textSize:{0.8, 0.7}, gradient color:{1.0, 0.0, 0.0}, name:"Circle", origin:{197.0, 180.0}, size:{65.0, 65.0}, fill:linear fill}
end tell
end tell

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <img> <i> <b> <strike> <h3> <h4>
  • Lines and paragraphs break automatically.
  • You may use [inline:xx] tags to display uploaded files or images inline.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Twitter-style @usersnames are linked to their Twitter account pages.
  • Twitter-style #hashtags are linked to search.twitter.com.

More information about formatting options

Miniblog

  • RT @drewish: http://remipinaudisathief.blogspot.com -- interesting how online social connectivity touches real world misbehavior 6 hours ago
  • Catherine can't sleep, padded in and presented three DVDs: Blade II, Amelie, and An Unfortunate Series of Events. "Pick one." 6 hours ago
  • @krmaxwell The big difference is that it's a lot smoother. The same beans/flavor, but with way less bitey aftertaste. 8 hours ago
  • Dear everyone: I will stop talking about the Aeropress shortly. As soon as it STOPS BEING SO AWESOME. 8 hours ago
  • @smerrill I am sipping a perfect cup of harrar as we speak. Man, I love my Aeropress. 8 hours ago

Posts that week...