EDOBE XDOM TPC Informations techniques Page 19

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 68
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 18
CHAPTER 2: The Illustrator Scripting Object Model Object-naming conventions 19
Object-naming conventions
There is one object model for the Illustrator scripting interface, but actual object names vary slightly in the
different scripting languages:
X AppleScript names are lower case, and individual words are separated by a space; for example:
graphic style
X
VBScript names are capitalized, and additional words in the name are indicated by uppercase initial
letters; for example:
GraphicStyle
X
JavaScript names begin with lowercase letters, and additional words in the name are indicated by
uppercase initial letters; for example:
graphicStyle
This chapter uses generic object and property names, but you can easily apply these conventions to
determine the corresponding language-specific names.
Throughout this document, names of properties, methods, and object are in a
monospaced font.
Top-level (containing) objects
Use these objects to access global information about the Illustrator application or an individual document.
Application
The properties of the application object give your script access to global values, such as:
X User preferences, which a user sets interactively in the Illustrator application by using the
Preferences dialog (Edit > Preferences).
X System information like installed fonts (the text fonts property) and printers (the printer list
property).
Also, there are properties that provide application-specific information and higher-level information about
any open documents:
X Application information like the installation path, version, and whether Illustrator is visible.
X The current active document; that is, the art canvas that is displayed and accepting user input.
X All open documents.
The
application object’s methods or commands allow your script to perform application-wide actions;
for example:
X Open files
X Undo and redo transactions
X Quit Illustrator
Vue de la page 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 67 68

Commentaires sur ces manuels

Pas de commentaire