Re: Setting a dirty flag for a file

2011-07-21 Thread Bill Vlahos
I use it in InfoWallet and It is terrific but it isn't available any longer. Bill Vlahos Sent from my iPhone On Jul 21, 2011, at 5:00 PM, Ken Ray wrote: >> But don't forget that the modifiedMark property only showed up in LC 4.6, >> and Charles said he's using v. 4.0. > > True, but FYI Sean

Re: Setting a dirty flag for a file

2011-07-21 Thread Ken Ray
> But don't forget that the modifiedMark property only showed up in LC 4.6, and > Charles said he's using v. 4.0. True, but FYI Sean Shao has an external that works with 4.0 that does the same thing. I've been using it in Stykz for quite a while. You can contact her if you need it... Ken Ray S

Re: Setting a dirty flag for a file

2011-07-21 Thread Charles Szasz
Mark, Thanks very much! I work on this tonight. Sent from my iPad ___ 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/li

Re: Setting a dirty flag for a file

2011-07-21 Thread Peter Brigham MD
On Jul 21, 2011, at 4:02 PM, Mark Schonewille wrote: > Hi Charles, > > I read your e-mail again. I understand that you want to know whether one or > more fields have changed, not whether a file is open. > > Usually, I generate an md5Digest and save that: > > on closeField > makeDigest > end

Re: Setting a dirty flag for a file

2011-07-21 Thread Mark Schonewille
Hi Charles, I read your e-mail again. I understand that you want to know whether one or more fields have changed, not whether a file is open. Usually, I generate an md5Digest and save that: on closeField makeDigest end closeField on makeDigest put empty into myDigest repeat with x = 1 t

Re: Setting a dirty flag for a file

2011-07-21 Thread Charles Szasz
Devin and Mark, Thanks for your suggestions! I think this is one of those areas that should be covered by LiveCode in their Lessons. I would not be surprised that others had questions about how to do this task. Charles Szasz csz...@mac.com ___ us

Re: Setting a dirty flag for a file

2011-07-21 Thread Devin Asay
On Jul 21, 2011, at 1:20 PM, Richard Gaskin wrote: > Charles Szasz wrote: > >> I am using Rev. 4.0. How do you set a "dirty flag" for a data >> file that that has been saved but still open in your app stack? >> My app creates a data file that saves the contents of 16 fields. >> I have code to sh

Re: Setting a dirty flag for a file

2011-07-21 Thread Richard Gaskin
Charles Szasz wrote: > I am using Rev. 4.0. How do you set a "dirty flag" for a data > file that that has been saved but still open in your app stack? > My app creates a data file that saves the contents of 16 fields. > I have code to show an initial save dialog when the user makes > changes. I w

Re: Setting a dirty flag for a file

2011-07-21 Thread Charles Szasz
Hi Mark, Can you elaborate on what you are suggesting here and how you can do it? Charles Szasz csz...@mac.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Setting a dirty flag for a file

2011-07-21 Thread Mark Schonewille
Hi Charles, Isn't it sufficient to simply no close the file until you're done? You might need to keep records of open files, but if you do this properly, you could open them once and close them all when your app closes or if the user closes some window. on openSomeFIle open file gFile // d