Leston Drake wrote/ schreef:

> At 06:23 PM 11/10/00 +0100, Sjoerd wrote:
>> Leston Drake wrote/ schreef:
>> 
>>> I want to build a system for automatically tracking version information for
>>> my stacks. What I'm thinking is storing version information in a property
>>> of the stack, and updating that information each time the stack is saved.
>>> But I don't see any way to intercept the save message (MC doesn't let you
>>> write an "on save" handler in your script). Is this possible? Has anyone
>>> else created a system for version tracking that they would share?
>> Yes, it is possible
>> 
>> There isn't a built in "save" message, but you could make it if you want.
>> You have to open the Metacard Menu Bar, and 'follow' the message. Put the
>> script within the save script, or let it send a message to your
>> versionTracker stack.
> 
> Hmm...yes, that should work.
> But if I change the script in the Menu Bar stack, I will lose that with
> each update (and we all know how quick Scott is at updating things).
Well, maybe ask Scott to build in a "saveStackRequest" message ;-)
> This is a viable solution if not a perfect one. Thanks Sjoerd.
> 
> Still open to other ideas, preferrably w/o modifying the MC system stacks.
> 
>>> TIA,
>>> Leston
>>> 
>>> 
>>> Leston Drake, President
>>> LetterPress Software, Inc.
>> Hope this helps,
>> Sjoerd
>> 

> Leston Drake, President
> LetterPress Software, Inc.
Regards,
Sjoerd


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to