EDOBE XDOM TPC Informations techniques Page 11

  • 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 10
CHAPTER 1: Introduction Executing scripts 11
Executing scripts from the Other Scripts menu item
The Other Scripts item at the end of the Scripts menu (File > Scripts > Other Scripts) allows you to execute
scripts that are not installed in the Scripts folder.
Selecting Other Scripts displays a Browse dialog, which you use to navigate to a script file. When you select
the file, the script is executed.
Only files that are of one of the supported file types are displayed in the browse dialog. For details, see
Scripting language support in Adobe Illustrator CS5” on page 7.
Startup scripts (.jsx scripts only)
JavaScript scripts with a .jsx file extension can be installed in one of two folders, so the scripts run
automatically when you launch Illustrator and each time you run a script. The folders are:
X An application-specific startup scripts folder, which contains scripts for Illustrator CS5
X A general startup scripts folder, which contains scripts that run automatically when you start any
Creative Suite 5 application
Application-specific startup scripts folder
You must place application-specific startup scripts in a folder named Startup Scripts, which you create
in the Illustrator installation directory.
For example, when Illustrator CS5 is installed to its default location, you would create the
Startup Scripts folder at the following location:
X Windows: C:\Program Files\Adobe\Adobe Illustrator CS5\Startup Scripts\
X Mac OS: /Applications/Adobe Illustrator CS5/Startup Scripts/
JavaScript scripts with a
.jsx extension placed in the Startup Scripts folder run automatically when:
X The application is launched.
X Any JavaScript file is selected from the Scripts menu (File > Scripts).
General startup scripts folder
The general startup scripts folder contains scripts that run automatically when you start any Creative
Suite 5 application. You create the folder in the following location:
X Windows: Program Files/Common Files/Adobe/Startup Scripts CS5/Illustrator
X Mac OS: :Library:Application Support:Adobe:Startup Scripts CS5:Illustrator
If a script in the general startup folder is meant to be executed only by Illustrator, the script must include
the ExtendScript
#target directive (#target illustrator) or code like the following:
if( BridgeTalk.appName == "illustrator" ) {
//continue executing script
}
Vue de la page 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 67 68

Commentaires sur ces manuels

Pas de commentaire