needs saving
Peter M. Brigham, MD
pmbrig at gmail.com
Fri Nov 4 11:04:13 EDT 2011
Not so much, as it only gets triggered when closing the stack, and I want to set the dirty flag immediately when the user changes some content. Or as immediately as possible.
-- Peter
Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig
On Nov 4, 2011, at 10:20 AM, dunbarx at aol.com wrote:
> Peter.
>
> Does the "saveStackRequest" help"
>
> -----Original Message-----
>
> Anyone know what the IDE uses to decide whether to ask about saving a stack when
> it closes? I'm trying to implement a "markDirty" routine for the Mac. I have a
> frontscript that catches (then passes) closefield and sets the modifiedMark of
> the stack, but that won't catch field contents modified by script, or changed
> customprops, etc, unless I comb through over 30,000 lines of code to find all
> the places where I change the contents of the stack, and insert a "markDirty"
> command. If I could intercept whatever message the IDE uses for this it would
> simplify things immensely.
>
> -- Peter
>
> Peter M. Brigham
> pmbrig at gmail.com
> http://home.comcast.net/~pmbrig
More information about the use-livecode
mailing list