
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2011 03:39 AM
I would like to create a custom action for teamviewer. I would like to populate one of the custom fields with teamviewer's ID. Then create a custom action to launch teamviewer and pass the computer ID to it.
Thanks
Max
- Labels:
-
Product Feedback

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2015 02:12 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-26-2014 08:51 AM
i'm french and my english is very poor.
I try to explain my problem.
I have an error at line 13 i think i make a mistake when i wrote my user id and my password on the vbs script ,can you explain exactly where.
thanks a lot.
Thierry

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2012 08:27 PM
I wrote a simple vbs script to get the field from sql database and then pass it to a custom action to work with teamviewer
needed: teamviewer.vbs , teamviewer.exe
Save teamviewer.exe in the action folder as configured in {actionpath}
Save teamviewer.vbs in the same folder.
teamviewer.vbs
call Init
Public Sub Init
Dim rstAuthors, teamviewerid, shell
if isobject(cn) = false then
Set cn = CreateObject("ADODB.Connection")
Set rs = CreateObject("ADODB.Recordset")
cn.ConnectionString = "Provider=SQLOLEDB.1;Data " & _
"Source=sourcedatabase; Initial Catalog=lansweeperdb;user id = " & _
"'sa';password='yourpassword'"
cn.Open
strAuthorsQry = "Select tblCompCustom.Custom1 From tblComputers Inner Join tblCompCustom On tblComputers.Computername = tblCompCustom.Computername Where (tblcomputers.domain = '" & wscript.arguments(0) & "' AND tblcomputers.computer = '" & wscript.arguments(1) & "')"
set rstAuthors = cn.execute(strAuthorsQry)
rstAuthors.MoveFirst
teamviewerid = rstauthors("Custom1")
Set shell = CreateObject("WScript.Shell")
shell.Run "\\pathtoactionsfolder\teamviewer.exe -i " & teamviewerid & "", 1, false
Set shell = Nothing
end if
End Sub
then create a computer custom action
{actionpath}teamviewer.vbs {domain} {computer}
In this case I used domain and computer but you can use another parameter of your choice.
This worked for me, if you have any question please post and I will help as possible.
Remember to change the details of the connection/query with your environment parameters.
Alexandre.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2011 10:47 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2023 02:47 PM
When will this new feature be released?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2023 11:15 AM
Hello there!
While this feature is still on our customer wish list, it is not in active development. As such, we aren't able to guarantee that this feature will be implemented or provide you with an estimated release date at this time.
