Manage Commands - Adobe 65011817 - Fireworks CS4 - Mac Using Manual

User guide
Hide thumbs Also See for 65011817 - Fireworks CS4 - Mac:
Table of Contents

Advertisement

USING FIREWORKS CS4
Automating tasks
Repeat the last step
Select Edit > Repeat Command Script.
About scripting with JavaScript
To reduce the tedium of some repetitive tasks, write your own JavaScript in a text editor to run within Fireworks. You
can control nearly every command or setting in Fireworks through JavaScript. Because Dreamweaver also uses
JavaScript, you can write scripts that control Fireworks from within Dreamweaver.
For documentation on the JavaScript API, see Extending Fireworks.
Creating commands and panels with Flash
To create your own Fireworks commands or panels, use Adobe Flash® to create SWF movies that contain JavaScript
code. Store movies used as commands in the Commands folder on your hard disk. Store movies used as panels in the
Command Panels folder (the Align panel is an example).
Note: The exact location of these folders varies. Commands and Command Panels folders are located in the
Configuration folder in the Fireworks application folder and also in your user-specific Fireworks configuration folder.

Manage commands

Note: You can rename or delete any commands that you create by using the Manage Saved Commands option in
Fireworks. Use the Extension Manager for other commands and extensions that were installed with Fireworks or that you
downloaded and installed from the Adobe Exchange website.
Rename a custom command that you created
Select Commands > Manage Saved Commands and select the command.
1
Click Rename, enter a new name, and click OK.
2
Delete a custom command that you created
Do one of the following:
• In Fireworks, select Commands > Manage Saved Commands. Then select the command and click Delete.
• On your hard disk, delete the JSF file for the command from the Commands folder in your user-specific
Fireworks configuration folder.
Note: To rename or delete a command that shipped with Fireworks or that you downloaded from the Adobe Exchange,
open the Extension Manager.
Edit a command, using JavaScript
Command scripts are saved as JavaScript and can be edited in any text editor.
From your desktop, navigate to the appropriate Commands or Command Panels folder on your hard disk.
1
Open the script file in a text editor and modify the JavaScript code.
2
3
Save and close the script.
Last updated 3/8/2011
277

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs4

Table of Contents