Plugins menu (was: Re: Speaking of IDE Updates)

Wilhelm Sanke sanke at hrz.uni-kassel.de
Fri Jan 2 22:09:24 EST 2004


Three hours earlier I had written:

> I am unsure what should be added to the script of the Plugins menu 
> button. It works here without problems, but any suggestions and 
> modifications are of course welcome.

Despite his urgent preparations for the MacWorld Revolution seminar 
Richard managed  to simplify my script to the essential bare bones 
within minutes after my post and uploaded his modified mctools stack to 
the files section of the MC_IDE Yahoo group.

My own script, which is slighty more circumstantial, was taken from an 
experimental stack and then put into the added button of the Menu Bar.

I was somewhat unsure about the necessary length of the script, as the 
Revolution uses many more script lines to achieve a similar purpose, 
even distributing the script across the preopenstack handler of card 1 
of  stack "revmenubar" and button "Development" in the Menubar.
And the Revolution solution does not immediately update the text of the 
menu button when you change the contents of the "Plugins" folder during 
a Revolution session, because the updating script resides in the 
preopenstack handler.

Both Richard's and my script update the text of the menu button at once 
also during a "session" when  something is added to or removed from the 
"plugins" folder. Our scripts are much shorter than the corresponding 
Rev scripts - and especially Richard's solution is an excellent example 
of  "clean and lean" programming.


Regards,

Wilhelm Sanke




More information about the metacard mailing list