Renames the current document in response to the user choosing the Rename menu item.
- macOS 10.8+
The control sending the message.
This is the action method of the Rename menu item in a document-based app. The default implementation of this method initiates a renaming session in a window created by the
[self window message.