save_document

save_document()

Perform saving the frontmost document of the application.

The key type "Command+S" is emulated.