And, in a break from the (currently) personal projects, here's one that there's actual money in! I'm helping to upgrade my previous company from the Adobe Creative Suite 2 to the current version 5, which involves a whole load of bits and pieces, but one in particular is the updating of the scripts that I wrote to automatically import images into InDesign.
InDesign is a page layout application with a number of advantages.
- it is (relatively) cheap
- it is very powerful
- it has excellent integration with Adobe's other products (particularly PhotoShop and Illustrator)
- it has marvellous scripting support that lets you write scripts to make life just that little bit easier.
It's actually the inspiration behind my first ploddings into JavaScript - I had becoe tired of importing hundreds of images into a book, and decided that it would be much more efficient to have a script do it for me. With a little experimentation, I managed to knock something together that just about worked, and from then on I never really looked back.
So now I get to look back on my handiwork of several years ago with a newly-qualified and practiced eye, and think: "Good grief. Did I really think that this was sophisticated? Yikes!"
I mean, really. In answer to the question "How do I check if a number is odd or even?", I had used the solution: divide by two, convert to string, and search for ".5" within the string. Bad form, old chap, bad form indeed.
So I'm really rather looking forward to rewriting these, both from an efficiency standpoint and to try and make them that much more featured. Obviously, progress will be noted here (where else) as well as what I'm learning.
So far, what I've learned is that the scripting features in the later versions of the CS are massively more advanced that the ones that I was originally using. For a start, it has a complete package for helping to write scripts (though I'm not actually finding it as useful as, say, Eclipse).
No comments:
Post a Comment