Skip to main content
Version: Next

SET DOCUMENT PROPERTIES

SET DOCUMENT PROPERTIES ( document : Text ; locked : Boolean ; invisible : Boolean ; createdOn : Date ; createdAt : Time ; modifiedOn : Date ; modifiedAt : Time )

ParameterTypeDescription
documentTextDocument name or Full document pathname
lockedBooleanLocked (True) or Unlocked (False)
invisibleBooleanInvisible (True) or Visible (False)
createdOnDateCreation date
createdAtTimeCreation time
modifiedOnDateLast modification date
modifiedAtTimeLast modification time
History
ReleaseChanges
6Created

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 createdOn and createdAt.
  • Pass the document last modification date and time in modifiedOn and modifiedAt.

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 safeyes
Modifies variableserror