Tired of manually adding guides for the 960 Grid System, I started looking for Photoshop actions/scripts. I found a few, but none of them really met my needs. Most were writtern for earlier versions of Photoshop, and therefore didn’t work at all. Those that worked were either not configurable, or created new documents (I wanted to add guides to existing documents). So I did what every self-respecting programmer would do and wrote my own.
The script is painfully raw, and despite a few sanity checks, it should be pretty easy to make it crash with the wrong input or settings. However, it has some nice features:
- Disable gutters by putting 0 for gutter width
- Optionally add evenly-spaced horizontal guides
- Optionally align the grid to the left (defaults to center)
You can download the script from GitHub: 960gs ExtendScript for Adobe Photoshop CS5
Place 960gs.jsx in the Presets › Scripts folder under the Photoshop application folder. For Mac OS X, the full path should be:
/Applications/Adobe Creative Suite 5/Adobe Photoshop CS5/Presets/Scripts
After restarting Photoshop, the script should appear under File › Scripts.
If for some reason you don’t want to install the script in your Photoshop folder, you can use it directly by double-clicking on 960gs.jsx or by going to File › Scripts › Browse…