eHome supports 6 extra user defined menus.
Go to the Windows START menu and under the eHome Digital Tools program group select 'Client menu Editor.
You now see 6 new menu items.
These correspond to 6 new functions in the eHomeClient.vbs file.
EXT_RUN_USER01
through
EXT_RUN_USER06
So if in menu 1 (EXT_RUN_USER01) we want to run Powerhome, We do this in the eHomeClient.vbs:
Function EXT_RUN_USER01()
'--- USER 01 Function
'msgbox "EXT_RUN_USER01"
'--- shells or finds a application
dim sadStartsWith: sadStartsWith = 0
dim sadContains: sadContains = 1
dim sadMatches: sadMatches = 2
Dim sPrgCation,sPathAndFile, nFindWinBy
nFindWinBy = sadContains
sPathAndFile = "C:\Program Files\powerhome\pwrhome.exe"
sPrgCation = "powerhome"
g_oGbl.EH_AppActivate sPrgCation,sPathAndFile, nFindWinBy
End Function
Its all VBS code so you can use, call any function VBS supports.
And now powerhome is added the the eHome main menu
NOTE To SELF... Its 3:27am Go to sleep

