How to tell if a stack has been edited
revdev at pdslabs.net
Wed Mar 28 00:50:12 CDT 2007
How is the data stored? In fields, custom props, ???
I'm thinking you might have to detect changes from messages fired (e.g.
closeField) but I would love to be wrong.
I suppose you could get the md5digest of the stackfile at preopenstack time and
store it in a global; then at closeStackRequest time you could do it again
and... naaah, that assumes the stack was saved along the way.
Is there some kind of equivalent way to see if in-memory stuff has changed? I
guess that's your basic question, isn't it?
Hmmm. This is less easy than one might wish. :o) Please do tell us if you find
Sarah Reichelt wrote:
> Is there any way to tell if the data in a stack has been edited? I
> don't want to have to keep track of every field and record any changes
> so I am hoping there is a hidden property somewhere that can tell me
> this. It has to work in a standalone, not just in the IDE.
More information about the use-livecode