Favorites ADD=nameonly will do that.
Favorites ADD=nameonly
https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Favorites_Command.htm
How to use buttons and scripts from this forum