Skip to main content
Question

Extension Attribute for Team Viewer.

  • June 20, 2011
  • 3 replies
  • 16 views

With Justin Rummel (and other's help)

Hear it is in simple form:

#!/bin/sh

result=/usr/libexec/PlistBuddy -c "Print :ClientID" ~/Library/Preferences/com.TeamViewer.Settings.plist

echo "<result>$result</result>"

Major caveat, it will only work with the full Teamviewer App or theirSHost Module, not the QS app (It doesn't make a plist)

--
Doug Hanley doug at mac-tek.com - 702-396-0697 Apple Certified Systems Administrator - Apple Certified Trainer Apple Certified Support Professional - Apple Certified Technical Coordinator
MacTEK Consulting & Training - http://www.Mac-TEK.com Apple Authorized Training Center (IT & Pro Apps) - Adobe Authorized Training Center
Apple Consultants Network Member - Apple Authorized Service Provider

3 replies

Forum|alt.badge.img+2
  • New Contributor
  • March 16, 2014

Updated for Team Viewer 9:

#!/bin/sh
result=`/usr/libexec/PlistBuddy -c "Print :ClientID" /Library/Preferences/com.teamviewer.teamviewer9.plist`
echo "<result>$result</result>"

Forum|alt.badge.img+6
  • Contributor
  • November 24, 2020

Thanks for the share.
Adapted for TeamViewer Host (Version 15+)

#!/bin/sh
result=`/usr/libexec/PlistBuddy -c "Print :ClientID" /Library/Preferences/com.teamviewer.teamviewer.preferences.plist`
echo "<result>$result</result>"

Forum|alt.badge.img+5

Thanks for the share.
Adapted for TeamViewer Host (Version 15+)

#!/bin/sh
result=`/usr/libexec/PlistBuddy -c "Print :ClientID" /Library/Preferences/com.teamviewer.teamviewer.preferences.plist`
echo "<result>$result</result>"

Amazing – confirming this works with TeamViewer Host 15.58.4 and macOS Sequoia 15.1 beta!