SET DOCUMENT PROPERTIES
SET DOCUMENT PROPERTIES ( document ; locked ; invisible ; created on ; created at ; modified on ; modified at )
Parameter | Type | Description | |
---|---|---|---|
document | Text | → | Document name or Full document pathname |
locked | Boolean | → | Locked (True) or Unlocked (False) |
invisible | Boolean | → | Invisible (True) or Visible (False) |
created on | Date | → | Creation date |
created at | Time | → | Creation time |
modified on | Date | → | Last modification date |
modified at | Time | → | Last 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
Properties
Command number | 478 |
Thread safe | ✓ |
Modifies variables | error |