eHome Digital Tools Web help
Document Release 1 - ALPHA!
![]()
- Setting up eHome Video Skype.
In your home eHome Video Skype allows you to create a true video intercom or add Skype phone calls to your existing touch screens.
NOTE: This application was written
against Skype4COM-1.0.29.0 SDK and tested in Skype Version 3.6.0.248
While we would hope it will work with different versions I cannot guarantee it
but it should work with all future versions. If you are having trouble location
a suitable version please post a message to the forum.
Setting up Skype
Step 1:
Install Skype 3.6.0.248 if you have not already. Now
make sure Skype is working correctly. Check video if your are going to use Skype
video service. Make a few calls and check your contacts. See that you have all
needed equipment and it is working.
Step 2:
Now we need to change a Skype hot key. Open Skype and go to: Tools, Options,
Advanced, Hotkeys. Change the 'Focus Skype' hotkey to CTRL-ALT-SHIFT F10. Try
this out. Minimize Skype and see if CTRL-ALT-SHIFT F10 makes it the front
window.
NOTE: When eHome Video Skype starts up for the first time it will fail to connect to Skype. Bring up Skype and look for the notification of the external program. Click this and follow the prompts, tell Skype all is ok.
Step 3:
Run the eHome Video Skype installer. If you are using eHome Digital Tools just
restart the client. The new Video Skype menu will appear automatically. If you
are using this outside of a eHome system then you need to shell to it - activate
it. The file is 'eHomeSkype.exe' and is in the folder C:\eHome\Client-Server.
Customizing
See Here for socket server usage.
Your eHome Video Skype application includes a custom VBS file so you can truly tailor it to its location. Scripting events are fired on key Skype events: ringing, call terminated, etc...
Sample: (You do not need to modify this file to use the program - this is for custom installers)
'================================================================================
' © Copyright 2001 - 2008 Sad+ / eHome Creations -- All rights reserved.
'================================================================================
' Module Name: eHomeSkype.vbs
' Description: internal scripting mod
' Created By: Steven De George SR
' Creation Date: 03/19/2008
'================================================================================
'
'
' This file is yours!!!! It will never get over written in an update! Have fun!
' This file is yours!!!! It will never get over written in an update! Have fun!
' This file is yours!!!! It will never get over written in an update! Have fun!
' This file is yours!!!! It will never get over written in an update! Have fun!
'
'
'
'Global Objects
' g_oGbl '=== Controlling class and misc functions
' g_frmMain '=== main application form
' g_frmMain.oSkype '=== the skype SDK object
' g_oSckCtrl '=== socket interface
'
'Methods - functions
' g_frmMain.btnCallReject_Click 0 '=== rejects an incoming call
' g_frmMain.btnCallAnswer_Click 0 '=== answers an incoming call
' g_frmMain.ShowContactsOnlineOffline '=== refreshes the contacts page online
status's
' g_frmMain.btnMenu_Click 1,0 '=== exits the application
' g_frmMain.p_sAutoAnswer = "NO" '=== turn auto answer on and off
' g_oGbl.SendEventGhostEvent "EVENT_NAME" '=== invoke an event in eventghost
' g_oGbl.AppActivate(sFormCaption, sFilePath, 0) '=== shells or activates an
applicaion
' g_oGbl.Shell2File "FILE 2 RUN" '=== shels to a file and sets normal focus
' g_oGbl.Log2Disk "Write me to disk", "c:\log.txt" '=== logs text to a disk file
' g_frmMain.btnMenu_Click 4,0 '=== hide the application
' g_frmMain.btnDeleteNums 0 '=== clear dialing numbers
' g_frmMain.lblNumbers.caption = "18005551234" '=== enter numbers to dial
' g_frmMain.btnMenu_Click 2,0 '=== start a call using the values in lblNumbers
'
'Your global vars (this is global user var storage and can also store refs to
ActiveX - COM objects)
' g_oGbl.Cargo_Add vVar, "YOUR VAR NAME" '=== Create and add a value (Number,
string, object) to a global var
' g_oGbl.Cargo_Remove "YOUR VAR NAME" '=== Remove a global var
' sVar = g_oGbl.Cargo_Item("YOUR VAR NAME") '=== Get a value (string, number)
from a global var
' Set oVar = g_oGbl.Cargo_Set("YOUR VAR NAME") '=== Get a value (object) from a
global var
'
'global vars
'g_frmMain.p_bCallInProgress - read only!!!! is a call in progress?
'
'================================================================================
Function REMOTE_SS_CMD(sCmd, sParams)
'--- socket server cmd - fires before eHome takes action,
'--- this is where you can create your own socket svr
messages
'msgbox "REMOTE_SS_CMD() "
'--- if this is FALSE then eHome will NOT process the SS
command
REMOTE_SS_CMD = True
End Function
Function APP_LOAD()
'--- application is loaded
'msgbox "APP_LOAD()"
End Function
Function APP_CLOSE()
'--- application is closing
'msgbox "APP_CLOSE()"
End Function
Function CALL_ANSWERED()
'--- call has been answered
'msgbox "CALL_ANSWERED()"
End Function
Function CALL_REJECTED(bSentToVoiceMail)
'--- call has been rejected
'msgbox "CALL_REJECTED()"
'bSentToVoiceMail will be used in the future
End Function
Function SKYPE_CALL_STATUS(sMessage)
'--- official skype call status messages Dialing, Ringing,
etc
'msgbox "SKYPE_CALL_STATUS() " & sMessage
End Function
Function CALL_ENDED()
'--- call has ended
'msgbox "CALL_ENDED()"
End Function
'================================================================================
If you edit this file you need to restart the program for the new changes.