fireworks

Frame and Layer Utilities

Working with lots of frames and layers can be tedious, because many frame and layer menu commands that you perform over and over again don't have keyboard shortcuts. And other actions, like hiding a layer on every frame, aren't supported at all by Fireworks' built-in tools.

The scripts in this extension are intended to remedy this situation. Many of them, such as L - Rename (rename the current layer) or F - Duplicate (duplicate the current frame), simply replicate existing functionality. Their only advantage is that they enable you to create shortcuts for these actions through the Keyboard Shortcuts dialog, which doesn't list their built-in equivalents.

Other commands offer completely new functionality:

L - Hide in Other Frames
Hides the current layer in every frame except the current one. In a document with many frames, this is an otherwise very tedious process.
L - Copy to Next Doc
L - Copy Visible to Next Doc
Copy the contents of either the current layer or all visible layers to another document. If the target document doesn't have layers with the same names as those in the source document, then new layers will be created in the target. Only the contents on the current frame will get copied, not every frame in the document. Also, it's best to have just two documents open when running this command, in order to avoid ambiguity as to which document will be the target.
L - Move Selection to New Sublayer
Cuts the currently selected objects from the document and pastes them into a new sub-layer, which is handy if you want to quickly make a sub-layer. L - Move Selection to New Named Sublayer does the same thing but prompts you for a name for the sub-layer.
L - Move Top Layer Up/Down
Shift the current top-layer and all of its sub-layers up or down in the stack, which is useful for rearranging the layers without having to drag within the Layers panel.
F - Stack Left to Right
Takes the contents from each frame in the document and arranges it from left to right on the first frame, resizing the document so it's wide enough to accommodate all of the frames. This is useful if you've created, say, a different button state on each frame and want to export a sprite containing all of the states as a single image.

Many of the commands will be more convenient if you assign keyboard shortcuts to them. Here are suggested shortcuts for some of the commands:

  • alt-1 for F - Go to 1
  • alt-2 for F - Go to 2
  • ...
  • alt-0 for F - Go to 10
  • Home for F - Go to First
  • End for F - Go to Last
  • ctrl-PageUp for F - Go Back 10
  • ctrl-PageDown for F - Go Forward 10
  • alt-Num2 for L - Go Up
  • alt-Num8 for L - Go down
  • alt-ctrl-shift-Insert for F - Duplicate
  • alt-shift-Insert for L - Duplicate
  • alt-ctrl-shift-Delete for F - Delete
  • alt-shift-Delete for L - Delete
  • alt-ctrl-shift-K for F - Rename
  • alt-shift-K for L - Rename

Release history:

1.1.3
Fixed an error in the L - Go Up/Down commands.
1.1.2
Small fix to make the extension work better when other commands also use the dojo library.
1.1.1
Revamped JS code so it wouldn't interfere with other commands.

Package contents

  • F - Delete
  • F - Duplicate
  • F - Export = Off
  • F - Export = On
  • F - Go Back 10
  • F - Go Forward 10
  • F - Go to 1
  • F - Go to 2
  • F - Go to 3
  • F - Go to 4
  • F - Go to 5
  • F - Go to 6
  • F - Go to 7
  • F - Go to 8
  • F - Go to 9
  • F - Go to 10
  • F - Go to By Number
  • F - Go to First
  • F - Go to Last
  • F - Merge Back to Front
  • F - Merge Front to Back
  • F - Rename
  • F - Set Delay
  • F - Stack Left to Right
  • F - Stack Top to Bottom
  • L - Copy to Next Doc
  • L - Copy Visible to Next Doc
  • L - Delete Hidden
  • L - Delete Visible
  • L - Delete
  • L - Duplicate
  • L - Go Down
  • L - Go Up
  • L - Hide in All Frames
  • L - Hide in Other Frames
  • L - Hide
  • L - Insert New Below
  • L - Insert New
  • L - Lock in All Frames
  • L - Lock in Other Frames
  • L - Lock
  • L - Move Selection to New Named Sublayer
  • L - Move Selection to New Sublayer
  • L - Move Top Layer Down
  • L - Move Top Layer Up
  • L - Rename
  • L - Sharing = Off
  • L - Sharing = On
  • L - Show in All Frames
  • L - Show in Other Frames
  • L - Toggle Slice Visibility
  • L - Unlock in All Frames
comments powered by Disqus