23rd August 2008 - There was an issue with our name caching server at around 08:00AM GMT. It has been fixed.

Link directly to an HA screen from the top menu?

Well, ask how to?

Link directly to an HA screen from the top menu?

Postby martlist on Sun Feb 17, 2008 6:38 am

I only have a few HA screens and would prefer to have them at the top level rather than a level down in the HA section. For one, if I spend most of my time on the HA screens then I am missing out on the time and weather.

For example, Lights seem like something that should be at the top level.

I know I can add a button for an external program, but what about a HA screen?

Martin
martlist
 
Posts: 39
Joined: Sat Feb 09, 2008 8:17 am

Postby JakeBullet on Sun Feb 17, 2008 12:19 pm

OK. You need to add a user defined menu.

So...

Stop eHome
Goto START menu, eHome digital tools and then Client Menu editor. Turn on one of the user defined menus. (I used #6 in the sample)

Now... In your eHomeClient.ini file....
Find the function 'EXT_RUN_USER06' and paste in this code.

Code: Select all
  Dim sScrn2Switch
  Dim sComputerName
  sComputerName = "Lister"
  sScrn2Switch = "ScrCam"
  g_oGbl.Shell2File g_oGbl.p_sApplicationPath & "eHomeSS.exe " & sComputerName & "$$EH_SWITCH_SCRN$$HA$$" & sScrn2Switch
  ' msgbox "eHomeSS.exe " & sComputerName & "$$EH_SWITCH_SCRN$$HA$$" & sScrn2Switch


Now you need to change sComputerName to the name of your computer and sScrn2Switch to the ID of the screen you want.

Save and re-start eHome and test.


Here is DOCS for the Socket Server
http://www.ehomecreations.com/eHomeHelp/help-sserver.htm

If you still have problems let me know!
:o
JakeBullet
Site Admin
 
Posts: 1102
Joined: Thu Mar 23, 2006 8:13 am

Postby TonyNo on Sun Feb 17, 2008 1:56 pm

Nice one, Martin!

Thanks, JB!
TonyNo
 
Posts: 351
Joined: Sat Mar 17, 2007 3:53 pm
Location: Illinois USA

Postby JakeBullet on Sun Feb 17, 2008 2:42 pm

In the next version... 5.14 In Beta

g_oGbl.EH_HA_SWITCH_SCRN "scrCam"

Will work!!! But the above example works fine for now
JakeBullet
Site Admin
 
Posts: 1102
Joined: Thu Mar 23, 2006 8:13 am

Postby martlist on Sun Feb 17, 2008 4:08 pm

Excellent! Now how do I assign a custom icon to a user button. I'll have to poke around the docs.
martlist
 
Posts: 39
Joined: Sat Feb 09, 2008 8:17 am

Postby TonyNo on Sun Feb 17, 2008 4:25 pm

The client INI file.
TonyNo
 
Posts: 351
Joined: Sat Mar 17, 2007 3:53 pm
Location: Illinois USA

Postby JakeBullet on Sun Feb 17, 2008 4:37 pm

To change 1 icon...

http://www.ehomecreations.com/eHomeHelp/How%20To.htm

search for 'Change icons for the main menu'

or make a copy of the icon folder, name it something and set the INI file to the new folder
JakeBullet
Site Admin
 
Posts: 1102
Joined: Thu Mar 23, 2006 8:13 am

Postby martlist on Sun Feb 17, 2008 8:04 pm

Works great except I get an EXIT_RUN_06 message pop up before it switches.

Also, how do I change the label from User 6 to something more descriptive?
martlist
 
Posts: 39
Joined: Sat Feb 09, 2008 8:17 am

Postby JakeBullet on Sun Feb 17, 2008 8:11 pm

Works great except I get an EXIT_RUN_06 message pop up before it switches.


Put a ' in front of the msgbox

so msgbox is now... 'msgbox

save file and restart eHome
JakeBullet
Site Admin
 
Posts: 1102
Joined: Thu Mar 23, 2006 8:13 am

Postby JakeBullet on Sun Feb 17, 2008 8:16 pm

Also, how do I change the label from User 6 to something more descriptive?


Go to the eHome menu editor.
START menu, eHome digital tools and then Client Menu editor.

Click open INI in notepad (bottom button)

search for $$USER06$$

Line should look like:
M26_M=USER06.UP.png$$EXT$$USER06$$user 6

change the last entry 'user 6' to whatever
Save - restart eHome.
JakeBullet
Site Admin
 
Posts: 1102
Joined: Thu Mar 23, 2006 8:13 am

Postby martlist on Sun Feb 17, 2008 8:18 pm

Thanks! As you can tell I have never used VB script and so I guess now is time to learn. Especially for powerhome integration!
martlist
 
Posts: 39
Joined: Sat Feb 09, 2008 8:17 am


Return to How to...

Who is online

Users browsing this forum: No registered users and 1 guest



FREE FORUM Hosting by AtFreeForum. Create your Free WEB FORUM Hosting now!
GROUP DISCUSSION Features - Free FORUM HOSTING Directory Listing - DISCUSSION FORUM Terms of Service - FREE PHPBB Hosting Privacy
- FASHION ACCESSORIES
cron