Adobe 65009333 Scripting Guide - Page 14

What it represents, An InCopy document.

Page 14 highlights

Getting Started Scripting terminology and the InCopy object model 14 application documents a document libraries document preferences books document defaults application preferences document events application defaults document properties application events document methods application menus document elements application properties pages or spreads application methods page stories text objects page items The objects referred to in the above diagram are explained in the following table: Term Application Application defaults Application events Application menus Application methods Application preferences Application properties Books Document What it represents: InCopy. Application default settings, such as colors, paragraph styles, and object styles. Application defaults affect all new documents. The things that happen as a user or script works with the application. Events are generated by opening, closing, or saving a document or choosing a menu item. Scripts can be triggered by events. The menus, submenus, and context menus displayed in the InCopy user interface. Scripts can be attached to menu choices and can execute menu actions. The actions the application can take; for example, finding and changing text, copying the selection, creating new documents, and opening libraries. Examples are text preferences, PDF export preferences, and document preferences. Many preferences objects also exist at the document level. Just as in the user interface, application preferences are applied to new documents; document preferences change the settings of a specific document. The properties of the application; for example, the full path to the application, the locale of the application, and the user name. A collection of open books. An InCopy document.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88

Getting Started
Scripting terminology and the InCopy object model
14
The objects referred to in the above diagram are explained in the following table:
Term
What it represents:
Application
InCopy.
Application
defaults
Application default settings, such as colors, paragraph styles, and object styles.
Application defaults affect all new documents.
Application
events
The things that happen as a user or script works with the application. Events are
generated by opening, closing, or saving a document or choosing a menu item. Scripts
can be triggered by events.
Application
menus
The menus, submenus, and context menus displayed in the InCopy user interface.
Scripts can be attached to menu choices and can execute menu actions.
Application
methods
The actions the application can take; for example, finding and changing text, copying
the selection, creating new documents, and opening libraries.
Application
preferences
Examples are text preferences, PDF export preferences, and document preferences.
Many preferences objects also exist at the document level. Just as in the user interface,
application preferences are applied to new documents; document preferences change
the settings of a specific document.
Application
properties
The properties of the application; for example, the full path to the application, the locale
of the application, and the user name.
Books
A collection of open books.
Document
An InCopy document.
documents
libraries
application defaults
application
books
application preferences
application events
application menus
application methods
application properties
a document
document defaults
document preferences
document events
document methods
document properties
pages or spreads
page
page items
stories
text objects
document elements