-
Notifications
You must be signed in to change notification settings - Fork 6
PDXIII edited this page Oct 4, 2012
·
2 revisions
The app
is the base of everything. below that you can only call something like a root level. The "scripting engine" alert($.locale)
. Don't worry about that. You can use this to get output in the ESTK like this:
$.writeln("Hello World")
But this is only for debugging. So the app holds documents, fonts, selection and things like this.
/**
Get he app version like this
*/
alert(app.name + " v" + app.version);
Or you could use the selection like this.
/**
You need a page and a selected item to run this script
*/
alert(app.selection[0].constructor.name)
/*
You can adress a target application like this
*/
#target indesign
alert(app.colorSettings.properties.toSource());
This wiki is maintained by:
fabiantheblind
Collaborators:
- How To Install And Run Scripts
- References And Links
- Tools
- First Session
- Comments
- Extended JavaScript Guide
- Variables And Operations
- Conditionals
- Arrays
- Output And Interaction
- Objects
- Classes
- Loops
- Functions
- Recursive Functions
- The ID Scripting DOM
- ExtendScript
- Inspect Properties
- app
- Documents
- Pages And Margins
- Masterspreads
- Layers
- GeometricBounds and Coordinates
- Text
- Line Feeds And Carrige Returns
- Simple Find And Change Grep
- Simple Find And Change Text
- Text Analysis
- Text Analysis ID FC
- Text Find Locations
- InsertionPoints
- Styles
- Objectstyles
- Rectangles Ovals Polygons
- Matrix
- Outlines Groups Alignment
- Graphic Lines
- Spiro
- Colors And Swatches
- HSL Color Wheel
- Pathfinder
- Fonts
- Transformation Matricies
- Duplicate And Transform
- Includes
- Storing Data In A Target Engine
- Create And Read Files
- Read In JSON From File And Eval
- Delay And View
- ScriptUI Resource Strings