...
Normally, Origin title bar looks like this
there is a "-" that separates the 32/64 bit and the path of the file. To save space, we are just changing this "-" character to indicate Admin status.
For OPJ file that has added Admin password, the "-" character will be replaced by the "@" character before you enter the Admin password to login, like this
After login, the "@" character is replaced by the "=" character, like this
Admin Mode LabTalk Commands
The The following is a listing of the currently supported doc commands control the Admin mode. Text inside square brackets indicate optional, so in this case password is optional. .
...
Command | Description | Examples |
---|---|---|
| Add Admin password password to the project. You will still need to login after adding password to turn on Admin mode. When you do not specify a password, then "origin" is assumed. Not using password will help situation where security is not so much of a concern and not running the risk of forgetting the password used. |
|
...
|
doc -pw [password] |
...
login with password, if no Admin password added yet |
...
, error message will be shown | doc -pw; doc -pw test; |
doc -pwx |
...
logout, once logout, cannot change anything related to protections | ||
doc -pwta |
...
list all the book/sheets with protection turned on | ||
doc -pwr [password] |
...
remove password, if no password specified, then must login first to do so, otherwise must give correct password | doc -pwr; |
After a command is entered, you App title will change accordingly, so will the status bar to indicate current status.
Workbook Worksheet Protection Commands
Command | Description | Examples |
---|---|---|
| set worksheet write access bits | lay -lw hex(82);//set active sheet to protect data and structure |
page -lw n | set workbook write access bits | |