Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Normally, Origin title bar looks like this

 Image Modified

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

Image Modified

After login, the "@" character is replaced by the "=" character, like this

Image Modified

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. .

...

CommandDescription     Examples        
doc -pwa [password]

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 -pwa

doc -pwa

...

test

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 passworddoc -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

 

CommandDescription          Examples       

layer -lw n

set worksheet write access bits lay -lw hex(82);//set active sheet to protect data and structure
page -lw nset workbook write access bits