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
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Nov 4, 2011, at 10:20 AM, dunb...@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
> pmb...@gmail.com
> http://home.comcast.net/~pmbrig

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to