After scripting madly for the past 12 hours, I finally finished adding custom export settings to dtsUtility.mel. Most of the time was spent figuring out how to save and load the settings, reset things to default states, working with local and global settings, and testing testing testing. I released a version that I believe works ok, but, as with any project like this, there could be bugs that I haven’t discovered yet. Seems pretty solid though.
I’ve definitely learned a bit more about working with MEL while updating dtsUtility. I didn’t really learn new commands, but rather, learned more about structuring a MEL script, handling flow control, working with preferences, and – the real doozy – parsing strings. I know I’m not anywhere near being a programmer, but I think I’m getting the logic down in my head now.
I also discovered that SubEthaEdit is an absolutely indespensible tool for my scripting needs. Syntax coloring alone is keeping me with SubEthaEdit. The color coding helps me sift through the hundreds of lines of MEL script that I have crammed into dtsUtility without straining my eyes too much. It even helps when spellchecking and troubleshooting things.
The function browser is also essential for quickly navigating to different sections of the massive script. The syntax mode file that I wrote color codes and flags local and global procedures differently, so it is much easier to see what is what in the long list of procedures. I know other programs have function browsers, but none of them are as easy to look at as the one in SubEthaEdit.
There is no way in hell I could’ve worked this quickly or smoothly with BBEdit. As much as I love the speed and power of BBEdit, the lack of a simple-to-create syntax coloring method is enough to stop me from using it for MEL scripting. I’m not a programmer. I’m not going to spend time writing and compiling a plugin to do syntax coloring for BBEdit when I can do the same thing in an XML file for SubEthaEdit.
Of course, SubEthaEdit isn’t perfect. The syntax coloring does introduce quite a bit of lag as I type. This is probably because it is parsing XML a it formats things.
It doesn’t have all the fancy text processing features of BBEdit, like line ending conversions, key commands for commenting and uncommenting blocks of text, text rewrapping. Yes, you can get those features in a system add-on, but it would be nice to have those options built into the program itself. Those aren’t really essential, but they would be nice to have.
Multi-file options would also be nice. Things like multi-file searches and file concatenation could come in handy. Again, these are not absolutely essential, but they can save a lot of time when processing multiple files from the same project.
Bottom line is SubEthaEdit does get the job done quite well. It has most of the features I need for my work, and it performs at an acceptable level. And, it doesn’t cost and arm and a leg like BBEdit.
Recent Comments