Under the hood
Photoshop CC includes eight JavaScript files that define eight distinct scripted patterns. These patterns are executed by the Deco framework, which is a scriptable environment that is tailored for creating procedural patterns. These five JavaScript files are located in the following directory:
Windows 32 bit:
Program Files (x86)\Adobe\Adobe Photoshop CC\Presets\Deco
Windows 64 bit:
Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Presets\Deco
Mac:
/Applications/Adobe Photoshop CC/Presets/Deco
It is possible to create new patterns by defining new scripts and placing them into the directories above. The Deco script file acts as a pattern preset and when a new file is added to these directories, the name of the file appears in the Scripted Patterns pull-down menu and the pattern is ready to be used.Note that you can also place your scripts to a user directory. On windows it is:
C:\Users\yourUserName\AppData\Roaming\Adobe\Adobe Photoshop\CC\Presets\Deco
On mac the directory is:
~Library/Application Support/Adobe/Adobe Photoshop CC/Presets/Deco.
Keep in mind that unless you run
chflags nohidden ~/Library
in a terminal, you may not see the Library folder in Finder.
Where to get new patterns
There has been a vibrant community of users already at the CS6 pre-release forums. A few users created new scripts and some managed to cleverly combine regular Photoshop scripts with Deco scripts to extend the functionality of the feature. For example, Chuck Ubele created a Photoshop script that provides a rich menu of options for the Deco script shipped in Photoshop CS6 and one new script (see his website). Others then created beautiful patterns using these new scripts. In fact, the dialog that you see in Photoshop CC has been based on his script and Chuck allowed me to use it as a base for the dialog script we ship.
For now you can dowload new scripts at the end of this page or from the forum http://forums.adobe.com/community/photoshop/photoshop_scripting.
Once you dowload a script, place it to one of the directories listed above. The file needs to have the extension jsx. You may have to make the directory writeable to do be able to copy the file there. Depending on your version of Photoshop the new fill (with the same name as your script file) will appear in the pull down menu for scripted fills either when you open the Fill panel or after you restart Photoshop.
Where to meet other users interested in scripted patterns
The topic related to Deco scripted patterns are discussed in the Photoshop Scripting forum: http://forums.adobe.com/community/photoshop/photoshop_scripting
How to create your own scripted patterns
You can download a documentation on writing your own Deco scripts below. Feel free to contact Radomír Měch or ask other users in the forum. Don’t forget to share your scripts or the resulting patterns! Have fun!