GetObjectLock Object Query Command

GETOBJECTLOCK Object Queries

Gets the lock status of an object.

getobjectlock [DOCUMENT name | WINDOW name | OBJECTID number]

DOCUMENT/s The document name.

WINDOW/s The window name.

OBJECTID/i The number of the object to edit.

Results:

Returns the lock status (ON | OFF | UNKNOWN) to RESULT. Unknown means that objects with conflicting lock attributes are selected.

Notes:

All options default to the current values if not specified.

Examples:

getobjectlock window 'View.1'
say 'Object lock is '||result

 

GetObjectLock  Command Definition  url:PGScmd/getobjectlock
  created:2006-03-30 22:20:07   last updated:2006-03-30 22:20:07
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetObjectLock
Dan Kilroy wrote...2006-05-03 19:22:41

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

flag<ON | OFF | UNKNOWN> = GetObjectLock ([DOCUMENT document | WINDOW document-window | OBJECTID objectid])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For GetObjectLock