Skip to content

Latest commit

 

History

History
125 lines (114 loc) · 5.33 KB

API-Registry.md

File metadata and controls

125 lines (114 loc) · 5.33 KB

API Registry

To not pollute the global scope, and make it easy for modules to interconnect, we attach all methods to a shared global variable. We keep a registry of properties that might be loaded into the shared API called Sky.

$.global.Sky

The Sky object is created by the modules.init module. All sub-modules will be loaded under Sky.module and Sky.util. The main module should therefore be a peer dependency of any ExtendScript Module.

  • Properties in italic do not exist but are reserved.
  • Properties in bold are open to sub methods (preferred)
  • The registry is case-insensitive

Adobe ExtendScript (aes)

Script UI (sui)

InDesign (ind)

Photoshop (ps)

Illustrator (ai)

After Effects (afx)

  • module
  • util

Bridge

  • module
  • util

Acrobat

  • module
  • util