Publishers of technology books, eBooks, and videos for creative people

Home > Articles

  • Print
  • + Share This
This chapter is from the book

Setting application preferences

Your script can set application preferences such as color picker, file-saving options, guide-grid-slice settings, and so on.

The Preferences object is a property of the Application object.

preferences.rulerUnits =Units.INCHES
preferences.typeUnits = TypeUnits.PIXELS

In the scripting reference, look up the Preferences object to view all of the settings properties you can use. Additionally, look up the Application object > preferences property.

  • + Share This
  • 🔖 Save To Your Account