Photoshop CS6 FIll has Scripted Patterns. source