Exactly one month after the last release, here comes another one.
Actually, there have been some private releases (thus the jump from 1.6 to 1.6.4), but none of them were worth sharing : )
So, what’s new in Orange Commands?
While building the test suite for Orange Commands, I also wrote some bits of code for benchmarking the commands. Some things are quite slow, and getting to know where the time is spent when running a command gives you a very clear idea of where to start shaving seconds.
Here’s an example: one of my tests creates a new document, draws 400 rectangles, and then resizes them using the ‘Size » Width +10’ command. In v1.6 this took 94 seconds in CS3, and 146 seconds in CS5 (which also crashed very hard after running the test). Version 1.6.4 runs the same test 100 times faster, and is much less prone to crashing CS5 (though I’m still trying to pinpoint exactly why it crashes).
I have also added a nice “About Orange Commands” box:
As for the real changelog, here’s the list of changes:
- Massive rewrite, with focus on performance (keyboard resize commands are much faster now)
- eba55c4f95 (FIX: Support CS5′s ‘exact’ roundness in Properties » Set Rectangle Roundness in Pixels)
- 15ec6bcee1 (Use current roundness in Set Rectangle Roundness prompt.)
- bafac75f39 (NEW: Export » All Documents as JPG in…)
- f51f054b81 (Add ‘(copy)’ to duplicated pages via Pages » Duplicate Current command. Also, make the duplicated page current, as that is the most probable thing you’d want to do after duplicating a page.)
- 43f124410a (New About box)
Grab it from the Downloads section, and let me know how it works for you in the comments!
A small preview of something I’m working on…
Long time no see!
I have just uploaded a new version of Orange Commands, including a long time wished-for feature: the ability to export your document’s slices as CSS (so you can export sprites directly from Fireworks).
The way it works is very simple:
- Create a nice design in Fireworks. Save your document.
- Slice it as you see fit, using the “Slice” tool.
- Give each slice a name in the Property Inspector panel.
- Run the command in Commands » Export » Slices as CSS Sprite.
The command will do three things:
- Create a yourfilename.css file.
- Copy the contents of that file to the clipboard, so you can paste the styles in your editor of choice.
- Create a yourfilename.html file, so you can see a demo of how your sprites look like.
Right now the commands uses one type of sprite (block display, hidden overflow, negative text-indents), but I intend to make it generate different kinds of sprites (so you can use a sprite for inline icons on links, for example).
Download the new version at the Downloads section.
Please play with it and let me know how it works and what you’d change about it in the comments!
with the release of Fireworks CS5, some commands needed tweaking. Orange Commands 1.5 brings CS5 compatibility, some bug fixes, and a new command: Safe Flatten.
Safe Flatten (in the Commands » Effects menu) duplicates the current selection, flattens it, and hides the original. Fireworks is known to distort your symbols when they have complex vectors, something that kills their appearance when they are supposed to be pixel-perfect. This command fixes that problem.
Get 1.5 from the Downloads section!
This version adds four new commands for scaling under the Size menu:
- Size » Scale to Width: scales the selected objects proportionally so that they have the specified width.
- Size » Scale to Height: idem for height.
- Size » Scale to 16-9: changes the selected objects height so that they have a 16:9 aspect ratio (you’ll love this if you are designing TV sites : )
- Size » Scale to 4-3: idem for 4:3.
Special thanks to Juan Pablo for the inspiration for these commands.
Download away, and report your bugs on the comments : )