-
Notifications
You must be signed in to change notification settings - Fork 6
Masterspreads
fabiantheblind edited this page Oct 11, 2012
·
3 revisions
// lets create some masterspreads
var doc = app.documents.add();
var master_spread1_pg1 = doc.masterSpreads.item(0).pages.item(0);// edit the masterspreads
master_spread1_pg1.marginPreferences.properties = {
right: 12.7,
top:12.7 ,
left:12.7 ,
bottom:12.7,
columnGutter:5,
};
var master_spread1_pg2 = doc.masterSpreads.item(0).pages.item(1);//edit the other masterspred
master_spread1_pg2.marginPreferences.properties = {
right: 12.7,
top:12.7 ,
left:12.7 ,
bottom:12.7,
columnGutter:5,
};
master_spread1_pg1.marginPreferences.columnCount = 5;
master_spread1_pg2.marginPreferences.columnCount = 5;
var my_spread = doc.masterSpreads.item(0);
doc.pages.item(0).appliedMaster = my_spread;
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