Extension Attribute for Team Viewer.

Not applicable

With Justin Rummel (and other's help)

Hear it is in simple form:


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


New Contributor II

Updated for Team Viewer 9:

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

New Contributor III

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

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