Jump to content

Recommended Posts

Posted (edited)

http://integrate.teamviewer.com/en/index.aspx

 

"

With the TeamViewer integrations and the TeamViewer API, TeamViewer integrates seamlessly into your daily workflow.

Develop a custom application or integrate pre-built solutions into your working environment, such as ticket systems, CRM or mail applications.

"

Is there anyone interested in creating a special UDF?

 


EDIT:

http://downloadeu1.teamviewer.com/download/integrate/TeamViewer_API_Documentation.pdf

 


EDIT:

API is REST and JSON based

http://integrate.teamviewer.com/en/develop/documentation/

http://integrate.teamviewer.com/en/develop/examples/

examples are in PowerShell Python and VBScript

It can be integrated with Active Directory

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

The first thing I plan to do is download the reports.

Personally, I do not use Active Directory, so that to me is not yet significant part of the API.
 
I'm thinking of using the other available functions.
Besides I have already reported to the manufacturer several other Feature Request.
 
And by the way, service TeamViewer through the API and integration with CRM, I reported to the TeamViewer at the beginning of this year, at that time according to the official response did not have this functionality, even in applications development plans.
 
EDIT:
download the reports, and process it in my own CRM system (designed for my needs for my company)
Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • 1 month later...
Posted (edited)

I've already created a bit of code for TV8 and it's pretty handy... Started on a UDF, but never made it.

Here's what I have, which isn't much, but it might help someone playing with Tv8. TV8 interfacing was made more difficult, because of the advertisement being on TOP of the TeamViewer remote support window with a similar title, but invisible. So you need to be exact, using Opt("WinTitleMatchMode", 3).

Oh, and very nice find on the TV9 API, mlipok. I've been waiting a while for this.

@Jfish, You really can't think of one reason why someone would want to easily interface with a free remote support client? A preexisting UDF would make this easier...   :mellow:

We all love easy...  :D

-Take note, this bit of code fits my personal needs and isn't in correct UDF form. For ex; It exits on error...  :lol:

Func _SetStatus($lStatus)
    ControlSetText("TeamViewer", '', "[CLASS:Static; INSTANCE:2]", $lStatus)
EndFunc   ;==>_SetStatus
; #FUNCTION# ====================================================================================================================
; Name ..........: _GetTV_Info
; Description ...: Will get ID, Password, and Status from TV client.
; Syntax ........: _GetTV_Info($Switch)
; Parameters ....: $lSwitch - 1,2,3 [ID, Pass, Status]
; Return values .: 1 = ID, 2 = Password, 3 = Status, and 0/@error for error.
; Author ........: BinaryBrother
; ===============================================================================================================================
Func _GetTV_Info($lSwitch)
    ; NEED Opt("WinTitleMatchMode", 3) SET!
    Local $lID, $lPass, $lStatus
    $lID = 0
    $lPass = 0
    $lStatus = 0
    Select
        Case $lSwitch = 1
            $lID = ControlGetText("TeamViewer", '', "[CLASS:Edit; INSTANCE:1]")
            If StringLen($lID) <= 0 Then
                If $gDebug Then _Debug("_GetTV_Info(" & $lSwitch & "): Failed to acquire TV ID.")
                MsgBox(16, "Error", "Failed to interface with TeamViewer.")
                Exit
            Else
                Return $lID
            EndIf
        Case $lSwitch = 2
            $lPass = ControlGetText("TeamViewer", '', "[CLASS:Edit; INSTANCE:2]")
            If StringLen($lID) <= 0 Then
                If $gDebug Then _Debug("_GetTV_Info(" & $lSwitch & "): Failed to acquire TV password.")
                MsgBox(16, "Error", "Failed to interface with TeamViewer.")
                Exit
            Else
                Return $lPass
            EndIf
        Case $lSwitch = 3
            $lStatus = ControlGetText("TeamViewer", '', "[CLASS:Static; INSTANCE:2]")
            If StringLen($lID) <= 0 Then
                If $gDebug Then _Debug("_GetTV_Info(" & $lSwitch & "): Failed to acquire TV ID.")
                MsgBox(16, "Error", "Failed to interface with TeamViewer.")
                Exit
            Else
                Return $lStatus
            EndIf
        Case Else
            If $gDebug Then _Debug("_GetTV_Info(" & $lSwitch & "): Invalid Switch sent to method.")
            MsgBox(16, "Error", "Invalid switch while interfacing with TV.")
    EndSelect
EndFunc   ;==>_GetTV_Info

Func _Debug($lInput)
    If Not @Compiled Then
        ConsoleWrite($lInput & @CRLF)
    Else
        FileWriteLine(@DesktopDir & "\TVS_Debug.txt", $lInput)
    EndIf
EndFunc   ;==>_Debug
Edited by BinaryBrother

SIGNATURE_0X800007D NOT FOUND

Posted (edited)
 
  On 12/24/2013 at 6:25 PM, BinaryBrother said:

 

I've already created a bit of code for TV8 and it's pretty handy... Started on a UDF, but never made it.
 

-Take note, this bit of code fits my personal needs and isn't in correct UDF form. For ex; It exits on error...   :lol:

 
thanks for sharing
I will look for this in new year,
now I try to had a holiday ;)
 
 

 

  On 12/24/2013 at 6:25 PM, BinaryBrother said:

Oh, and very nice find on the TV9 API, mlipok. I've been waiting a while for this.

 

Thanks
I also cared, so I called TeamViewer and I talked about it about half a year ago.
As you can see listen to my advice.
 
Moreover, I reported to them, about 10 comments and problems, including one very important from the point of view of data security.
Do not be afraid does not apply to data security.
Just what is happening with the system clipboard, in case if it is open several sessions at the same time.
I do not know if you noticed but in version 8 to version 9 TeamViewer and storage system is transferred automatically between sessions, regardless whether TeamViewer window is active or not.
Independently from that session is open to all sessions always have access to the system clipboard all connected workstations.
Data are transferred simply everywhere in all directions without any taboos.
 
Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • 4 weeks later...
Posted

@BinaryBrother

I just try your script

It is very useful

 

ps.

there is no $gDebug declared.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • 9 months later...
Posted

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

oh ...
sorry
It may sound strange as it was me, I opened this thread, but I  not notice that this is not the CHAT but GH&S.

After reflection I can clarify one question:

Here:

http://download.teamviewer.com/integrate/TeamViewer_API_Example_Reporting.zip

are examples, there is VbsJson.vbs.

There are json.Decode and json.Encode

I know there is many UDF for json .

Can some body tell me which UDF is closest to the above mentioned json methodes ?

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • 2 years later...
Posted

Finally:

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...