This is the documentation for the FH-Potsdam ;-⟩ project week "Typography & Automation". The goal was to learn the basics of JavaScript for Adobe applications to apply this in automated layouts and generative art. Bring raw text into shape by rules. The project begun with an introduction to JavaScript and how it works with InDesign, then project and idea development to follow in individual and group meetings. At the end the contributors held a short presentation. For further info on how to write JavaScript for Adobe, have a look into the wiki, but first you should browse the projects below.
You can download the whole project as .zip or clone it with Git by running:
git clone git://github.com/fabiantheblind/auto-typo-adbe-id.git
For some of the results there is also a git submodule or gist included. They will point you to the original repo/gist where the code may be developed further.
#some clone urls for faster access
#swissd
git clone git://github.com/natael/swissd.git
#Glyphs-Scripts Python
git clone git://github.com/PDXIII/Glyphs-Scripts.git
#Font Fun Friday
git clone git://github.com/PDXIII/FontFunFriday.git
#Layout Invaders
git clone git://github.com/schlompf/layout-invaders.git
#myRPG
git clone git://gist.github.com/3874630.git gist-3874630
#CMYK colors
git clone git://gist.github.com/3877719.git
#Pagenumber Color Gradation
git clone git://gist.github.com/3877709.git
#Extract Highlight jQuery Widget
git clone git://gist.github.com/3923596.git gist-3923596
#The Wiki written in gollum https://github.com/github/gollum
git clone git://github.com/fabiantheblind/auto-typo-adbe-id.wiki.git
In a lot of these scripts the authors used specific fonts. So you have to change the fonts to make them work properly.
Look for the following code and change it to a font that exists on your system.
app.fonts.item
Also there could be some issues with pointSize if you use diffrent fonts. Keep an eye on that. If you run into any problems add an issue over here and we will get back to you with a fix.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.