Genii Weblog

Creating and modifying image resources with @Midas 3.30

Thu 29 Apr 2004, 01:20 PM

by Ben Langhinrichs
The title is almost the same, but this post shows the same logic as the one before, but using @Midas Formulas 3.30 instead.  Compare the two and see what you think.

pathName := @Prompt([OkCancelEdit]; "Graphic Pathname""Enter the full pathname for the graphics file:");
fileName := @RightBack(pathName; "\\");
@DbCommand("Midas":"NoCache""CreateImageResource"; ""; fileName; pathName);

Sheesh!  It makes the 32 lines of the Midas Rich Text LSX version look long.  Granted, the live version has some error checking and stuff, but it almost makes you wonder why IBM can't come up with this stuff.  Anyway, I just wanted to let you know I was still here... still testing.  I should come up for air soon.

Copyright 2004 Genii Software Ltd.

What has been said:

152.1. Bruce Elgort
(04/29/2004 11:49 AM)

Nice! Now why can't Lotus include such a @command. Blows me away sometimes.

152.2. Christopher Byrne
(04/29/2004 01:00 PM)

Hey Ben...

I like the simplicity of the formula but the detail of the script (so I have a little bit more of a handle about that is going on).

Bruce: What and admit they have been wrong all this time and put Ben out of business?

When are they going to buy you out Ben? Heck, your tool is a lot more vaulable to most developers than Aptrix (no slam to the Leon and the other folks at Aptrix intended here..just a value assessment).

152.3. Ben Langhinrichs
(04/29/2004 11:03 PM)

You clearly have a lot more control and far more ability to write complex scripts with our Midas Rich Text LSX that with @Midas Formulas, but since there are always people who simply need one function or set of functionality, it is nice for them to have this kind of power in a smaller package. I am also always surprised at how many people want to buy Midas but don't have any Lotuscript experience at all, or very, very little. That is why we have samples like this, to get them most of the way, and if @Midas is easier for that, cool.

As for IBM buying Midas, they seem to have a bad case of not-invented-here when it comes to "core functionality".