Editing or customizing a command script
Command scripts are saved as JavaScript. If you know JavaScript, you can open and edit
commands in any text editor, such as Notepad (Windows) or TextEdit (Macintosh).
To edit a command using JavaScript:
From your desktop, navigate to the appropriate Commands or Command Panels folder on your
1
hard disk.
Note: The exact location of these folders varies from system to system and depends on whether
you want the command or panel to be available just to your user profile or to all users. 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. For more information, see
"Working with configuration files" on page
Open the desired script file in a text editor and modify the JavaScript code.
2
Save and close the script.
3
To edit selected actions from the History panel using JavaScript:
In Fireworks, select a range of steps in the History panel.
1
Click the Copy Steps to Clipboard button at the bottom of the History panel.
2
Create a new document in a text-editing application.
3
Paste the steps into the new text document.
4
Modify the steps as desired.
5
Save and close the script.
6
Copy the script to the Commands folder on your hard disk.
7
Note: The exact location of this folder varies from system to system and depends on whether you
want the command to be available just to your user profile or to all users. Commands folders are
located in the Configuration folder in the Fireworks application folder and also in your user-specific
Fireworks configuration folder. For more information, see
on page
286.
Commands saved directly into the Commands folder, as well as those saved in the History
panel, appear in the Commands menu as soon as you save them, so restarting Fireworks is not
necessary. However, commands saved in the Command Panels folder will be available in the
Window menu only after you restart Fireworks.
286.
"Working with configuration files"
Extending Fireworks
279
Need help?
Do you have a question about the FIREWORKS MX 2004-USING FIREWORKS and is the answer not in the manual?
Questions and answers