table.getCursorAddress

Syntax table.getCursorAddress ()

Params None.

Action Determines which database object should be operated on in response to a user command.

If the frontmost window is a table, it returns the address of the object pointed to by the table cursor.

If the frontmost window is another type, it returns the address of the object displayed in the frontmost window.

If no window is open it returns nil.

Returns The address of the object to operate on.

Examples table.getCursorAddress () //an outline window is frontmost

   » @["C:\\Palm Springs\\Websites\\docserver.root"].table.getCursorAddress

Notes This verb is primarily used in scripts that run when the user chooses a menu command.

Discuss