So I'm throwing up the script for people to try out and report back issues they have with it etc. Let me know if there are any other features you would like me to add or even ideas for completely different scripts etc.
If you have no idea what this is or does, watch the video
Place the file into the following folder:
Mac: Applications/Adobe Photoshop CSx/Presets/Scripts/
Windows: C:\Program Files\Adobe\Photoshop CSx\Preset\Scripts
Then restart photoshop and it will be under: File>Scripts>RoundRectScript.jsxbin
Assign a shortcut in photoshop or use keyboard maestro to assign one, (highly recommend keyboard maestro)
almost 2 years ago
This is great! Thanks for taking the time putting this together. Will use this a lot.
You are a legend!
Pixel perfect! Very cool, if I could make one suggestion it would be to make it somehow be generated by dragging the round rectangle tool freehand ( snap to pixels) so you don't have to guess exact pixel size if that makes sense. Thanks for sharing!
So useful, thanks a lot man!
@Darpy I don't think I can make a script interact with photoshop that way :(. It's pretty much completely tied to keyboard shortcuts and no real way that I know of to interact with the mouse.
MY HERO :D
Whoa, this is sick man! Thanks! You're awesome!!
Looks brilliant! Thanks. The download link isn't working for me though.
@darby k-shields @Mac Tyler Could it work via the current marquee selection? Make a selection, then run the script?
Bjango, I don't think so, but I can at least check some more. The way this script works at all is extremely hackish, although kamil has pointed out some potential new ways to do things. Although now that I think about it, yeah the selection thing could possibly work, off to try it!
Also download link should work although backup here in case:
EDIT: @Bjango ✎ Marc Edwards, @darby k-shields pretty sure I got what you guys wanted working. So I can drag a marquee selection and then it will just fill in those values as the default values in the roundrect box. Now in that case I'm assuming you want it to draw the shape right where the selection was and not in the middle of the canvas like it normally would? I can add that in too. Think it makes sense, this wont get in the way if you don't have a selection already. And if you did have a selection unintentionally you would just be writing over the old values anyways.
So what do you want me to do if your current selection is an odd number width or height? Do I draw everything on half pixels? Do I round to the nearest whole number or do I just give an error?
This is all so much fun ^_^, keep any suggestions coming.
wow this sounds great! Hmm.. I guess you could draw half pixels but the beauty of your script are those pixel perfect curves, maybe as long as everything rounds up/down consistently it might actually be usefully as a pixel snapping tool as well. either way, great stuff here man!
@Mac Tyler I've fired off an email. Would be great to chat.
The selection idea is great! How about adding round corners to a selected shape?
over 1 year ago
very handy. thanks for taking the time to make, record the demonstration and share your work
@Mac Tyler hello,this script is so cool,can you send the source code to me, i wanna learn how to do something like this.thank you!
10 months ago
Could you update this script to show the pixel values in an alert at the end of the script?
8 months ago
keyboard shortcuts: ← previous shot → next shot L or F like
Show and tell for designers
What are you working on? Dribbble is a community of designers sharing screenshots of their work, process, and projects.
Copyright © 2009–2013 Dribbble LLC. All screenshots © their respective owners. Shipped from Salem, Mass. USA.
Follow Dribbble on Twitter