Technique help on drilling for shelf supports ???

I just take an appropriate ripping scrap and drill holes spaced where i want shelves and use it for a jig. But I'm sure there are ways to make this more complicted, time consuming and expensive
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.