contacts.getLastCreatedContactId
Description
Get the ID of the last contact created on the local computer.

Parameters
none

Return value
contactID number (< 1 for none)

Example
print("Last created contact ID: " .. contacts.getLastCreatedContactId())

Comments
The last created contact ID is cleared when an operator logs out.

See also

Back