Being respectful to traditions, let us start with a script for drawing “Hello World” in Photoshop. One can use Javascript or VBScript in windows or Applescript in Mac for photoshop scripting. The following Javascript code will produce a “Hello World” photoshop document.
var originalUnit = preferences.rulerUnits
preferences.rulerUnits = Units.PIXELS
// Create a new document
var docRef = app.documents.add( 300, [...]
