Tom,

You’ll need to get the content of the 4D Write document and compare the old to 
the new to know if it has been changed.

David Ringsmuth

From: Tom Benedict via 4D_Tech
Sent: Friday, August 2, 2019 10:27 AM
To: 4D iNug Technical
Cc: Tom Benedict
Subject: 4D Write Pro Equivalent of wr modified?

I want to know if a 4D Write Pro document has been modified. In 4D Write 
Classic the command is WR GET AREA PROPERTY(WriteArea;wr modified;$isModified) 
which does just that. Is there a similar 4D Write Pro attribute which can tell 
me this?

I’ve dug around in the documentation but haven’t found anything yet. I know I 
can get the modification date time from the document using OB 
Get(WriteObject;"dateModified”), but that’s doesn’t tell me whether the 
document is ‘dirty’ (has any unsaved changes). I guess I could store that value 
when the document is opened, then compare it later. I’m hoping there is 
something built in.

Tom Benedict

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to