Right mouse button gives you a context menu. Choose the entry "Copy to SMath". This fills the clipboard with the appropriate string, just paste that into SMath.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9