Is it possible to start Teamviewer, to accept connections, from commandline?

前端 未结 8 1555
北荒
北荒 2021-01-31 04:34

There is a question on how to start, Teamviewer from commandline, to make outward connections, however I want to start the Teamviewer from commandline (So it can accept incoming

8条回答
  •  南方客
    南方客 (楼主)
    2021-01-31 05:18

    I am following up with @Queenvictoria's comment on @Aldekein's answer.

    As mentioned, you can use take a screenshot of TeamViewer with:

    osascript -e 'tell application "TeamViewer" to activate' && screencapture ~/Desktop/teamviewer.jpg
    

    However, email servers usually don't trust email coming from non-commercial sources. So my solution to receiving the screenshot to use SCP.

    scp [user]@host:/Users/[user]/Desktop/teamviewer.jpg ~/Desktop/
    

提交回复
热议问题