Skip to main content
Version: Next

SET DOCUMENT PROPERTIES

SET DOCUMENT PROPERTIES ( document ; locked ; invisible ; created on ; created at ; modified on ; modified at )

ParameterTypeDescription
documentTextDocument name or Full document pathname
lockedBooleanLocked (True) or Unlocked (False)
invisibleBooleanInvisible (True) or Visible (False)
created onDateCreation date
created atTimeCreation time
modified onDateLast modification date
modified atTimeLast modification time

Description

The SET DOCUMENT PROPERTIES command changes the information about the document whose name or pathname you pass in document.

Before the call:

  • Pass True in locked to lock the document. A locked document cannot be modified. Pass False in locked to unlock a document.
  • Pass True in invisible to hide the document. Pass False in invisible to make the document visible in the desktop windows.
  • Pass the document creation date and time in created on and created at.
  • Pass the document last modification date and time in modified on and modified at.

The dates and times of creation and last modification are managed by the file manager of your system each time you create or access a document. Using this command, you can change those properties for special purpose. See example for the command GET DOCUMENT PROPERTIES.

See also

GET DOCUMENT PROPERTIES

Properties

Command number478
Thread safe
Modifies variableserror