Adobe illustrator 10 ユーザーズマニュアル
|
Back
Adobe Illustrator Help
Automating Tasks
|
Back
3 Click Open.
Important: Using the Replace Actions command will replace all sets of actions in the
current document. Before using the Replace Actions command, you should make sure that
you have already saved a copy of your current set of actions using the Save Actions
command.
current document. Before using the Replace Actions command, you should make sure that
you have already saved a copy of your current set of actions using the Save Actions
command.
To load a set of actions:
1 Choose Load Actions from the Actions palette menu.
2 Locate and select the actions file.
3 Click Open.
Using scripts
When you execute a script, your computer performs a sequence of operations. These
operations may involve only Illustrator, or they may involve other applications, such as
word processing, spreadsheet, and database management programs. Illustrator ships with
a standard set of scripts, but you can also add new scripts.
operations may involve only Illustrator, or they may involve other applications, such as
word processing, spreadsheet, and database management programs. Illustrator ships with
a standard set of scripts, but you can also add new scripts.
If you’re familiar with the JavaScript, AppleScript (Mac OS), or Visual Basic programming
languages, you can create scripts for use in Illustrator. (See the scripting documentation
on the Illustrator CD.) Illustrator recognizes the following types of scripts: JavaScript files
(text files with the .js extension), AppleScript files and OSA scripts (compiled scripts or
applets with the .scpt extension), Visual Basic scripts (executable files with the .exe
extension), and VB Scripts (text files with the .vbs extension).
languages, you can create scripts for use in Illustrator. (See the scripting documentation
on the Illustrator CD.) Illustrator recognizes the following types of scripts: JavaScript files
(text files with the .js extension), AppleScript files and OSA scripts (compiled scripts or
applets with the .scpt extension), Visual Basic scripts (executable files with the .exe
extension), and VB Scripts (text files with the .vbs extension).
To execute a script:
Do one of the following:
•
Choose File > Scripts, and choose a script from the submenu.
•
Choose File > Scripts > Browse, and navigate to the script you want to execute.
To install a script:
Copy the script to your computer’s hard disk.
If you place the script in the Presets/Scripts folder inside the Adobe Illustrator application
folder, the script will appear in the File > Scripts submenu. If you place the script in another
location on your hard disk, you can execute the script in Illustrator using the File >
Scripts > Browse command.
folder, the script will appear in the File > Scripts submenu. If you place the script in another
location on your hard disk, you can execute the script in Illustrator using the File >
Scripts > Browse command.
Note: If you edit a script while the Illustrator application is open, you must save your
changes for the changes to take effect. If you place a script in the Scripts folder while the
Illustrator application is running, you must relaunch Illustrator for the script to appear in
the Scripts menu.
changes for the changes to take effect. If you place a script in the Scripts folder while the
Illustrator application is running, you must relaunch Illustrator for the script to appear in
the Scripts menu.