Page 10 of 21

Country and model changes

Posted: Wed Jan 05, 2011 1:34 pm
by jw1001
A small point - English versions of the B650 firmware have an extra Support Menu item - "Product Guide". The script for the DVB function needs an extra "down arrow" to select Self Diagnosis. Alternatively, a sequence of 4 "key_up" moves might work for all language versions.

I added some modifications to the Rev0.2.5 script to add this extra step if the config.ini option "lang" is "English"

Since a number of functions are model specific (e.g. extra User picture modes are for B750 and maybe some LEDs), it might be useful to have some model selection in config.ini. The script could then omit functions and buttons that are not supported.

I am a complete newbie to AutoIt, so syntax might not be perfect, but have tested these modifications on my B650.

config.ini

Code: Select all

[model]
; options B650, B750, B6000, B7000, whatever
TV = B650

[language]
; options English
lang = English
Variables

Code: Select all

$model = IniRead(@ScriptDir & $config, "model", "TV", "Samsung")
$lang = IniRead(@ScriptDir & $config, "language", "lang", "other")
Self Diagnosis for English menus

Code: Select all

	key_down()
	Sleep(1000)
	If $lang = "English" Then 
		key_down()          
		Sleep(1000)          
	Endif                           
	key_enter()
	Sleep(1000)
Model variation

Code: Select all

_GUICtrlStatusBar_SetText($status, $IPaddr & "  " & $model)

If $model = "B750" Then
	GuiCtrlCreateGroup("Picture mode", 198, 115, 145, 125)
		$btn_p_user1 = GUICtrlCreateButton("User 1", 270, 130, 65, 25)
		GUICtrlSetOnEvent($btn_p_user1, "key_p_user1")
		$btn_p_user2 = GUICtrlCreateButton("User 2", 270, 155, 65, 25)
		GUICtrlSetOnEvent($btn_p_user2, "key_p_user2")
		$btn_p_user3 = GUICtrlCreateButton("User 3", 270, 180, 65, 25)
		GUICtrlSetOnEvent($btn_p_user3, "key_p_user3")
		$btn_p_movie2 = GUICtrlCreateButton("Movie 2", 270, 205, 65, 25)
		GUICtrlSetOnEvent($btn_p_movie2, "key_p_movie2")
Else
	GuiCtrlCreateGroup("Picture mode", 198, 115, 80, 125)
EndIf
		$btn_pmode = GUICtrlCreateButton("Switch mode", 205, 130, 65, 25)
		GUICtrlSetOnEvent($btn_pmode, "key_pmode")
		$btn_p_dynamic = GUICtrlCreateButton("Dynamic", 205, 155, 65, 25)
		GUICtrlSetOnEvent($btn_p_dynamic, "key_p_dynamic")
		$btn_p_standard = GUICtrlCreateButton("Standard", 205, 180, 65, 25)
		GUICtrlSetOnEvent($btn_p_standard, "key_p_standard")
		$btn_p_movie = GUICtrlCreateButton("Movie", 205, 205, 65, 25)
		GUICtrlSetOnEvent($btn_p_movie, "key_p_movie")
GUICtrlCreateGroup ("",-99,-99,1,1)
The "If .. Else" function modifies the button group size, as the B650 version has only 4 buttons.

Re: Remote Control Signal Over Lan?

Posted: Wed Jan 05, 2011 4:41 pm
by jw1001
juuso wrote:I get problem on winXP (because of missing Aero i think)
My RC looks like: http://pics.kz/s1/ff/4f/bc/ff4fbc09f4df ... 147f40.png

all buttons change their look just after "Alt" pressing on keyboard. If i click on button by mouse, i get only separate button activated:
http://pics.kz/s3/fc/27/0a/fc270afaf421 ... 5a6fd3.png
Anyway, buttons are functional.
I get the same on Vista Home Premium, with Aero theme selected. Only the Window borders are transparent. Activated button remains highlighted until another button is clicked.

Re: Remote Control Signal Over Lan?

Posted: Wed Jan 05, 2011 4:48 pm
by jw1001
Colour buttons

It's fairly easy to add background colours to the buttons e.g. RGYB but then the colours don't change when the cursor hovers on them, as with the default styles. How can this be changed?

Code: Select all

$btn_red = GUICtrlCreateButton("R", 10, 385, 45, 25)
GUICtrlSetBkColor(-1, 0xFF0000); change colour
GUICtrlSetOnEvent($btn_red, "key_red")
Some users may be trying to put a background image behind the buttons, but they will still need some form of cursor highlighting even if they are invisible.

Remote LAN Control (v0.4) - Desktop app

Posted: Thu Jan 06, 2011 8:44 pm
by moras86
Next version

Image Image

File name: Remote LAN Control (v0.4).zip
File size: 542 KB

Changes:
- no aero for window
- add background image (only JPG for now)
- add second surface for B6000 (see config.ini file)
- little change for buttons labels


Next support TV's (maybe B750 and regional variations about B650) should be easy to add now.
Don't know why but button aren't smooth at edges when use image background :(


Tested at Windows 7 Professional x64 and Samsung LE40B651T3W
_____

@jw1001
Can you putt screenshot of you TV menu (this with Product Guide). At my TV (even if I change language to English) I got:
1. Legal notice (grey and automatic switch down)
2. Product guide
3. Diagnostic

Also I tray color buttons before, but don't look good :(

@juuso
Still search for easy use script what add PNG support.
Now buttons are in good places to replace them by images.


Cheers

Re: Remote Control Signal Over Lan?

Posted: Fri Jan 07, 2011 9:37 pm
by juusso
I miss here short keyboard gestures like:
If RC is active (or maybe not necessary in foreground?), then:

Code: Select all

Ctrl+arrow up -> vol up
Ctrl+arrow down -> vol down
Ctrl+left -> channel back
Ctrl+right -> channel forward
Ctrl+m -> menu
Ctrl+0...9 -> key0...9 (+ENTER?)
Ctrl +t -> tools
<...other possible simple shortcut codes...>
I think it is not hard to make. :roll:

Re: Remote Control Signal Over Lan?

Posted: Sun Jan 09, 2011 7:17 pm
by nescha
Since people started to get overwhelmed with ideas for this app, here are my 2 cents:
Create additional keyboard types for certain application which can simulate text typing by using arrow movements + Enter, or T9 keyboard approach.
Application that can have benefit of such features are: Youtube and other Widgets that use on-screen keyboard, NetSurf browser...

Re: Remote Control Signal Over Lan?

Posted: Sun Jan 09, 2011 7:20 pm
by juusso
Why do i need NetSurf if i have to use PC to input text on Netsurf...? I prefer use Mozilla or Opera to surf on web ;)

Re: Remote Control Signal Over Lan?

Posted: Sun Jan 09, 2011 9:53 pm
by nescha
Having computer content shown on TV aside streaming it from files was mine main objective recently. I tested couple of solutions and examined other possible solutions in terms cost/usability, and none is solid enough (Twonky, Intel Wireless Display, PlayOn, Tversity, VLC transcoding and desktop streaming...)

Using NetSurf from computer can have usage when presenting something from browser on large screen and I see problem with this only because NetSurf won't accomplish the need (missing JS and unexpected mouse behavior).

For Youtube, the best solution is internal Yahoo Widget (fastest loading, plays all content), so there is a space for keyboard usage. Also, if you want to name your analog/cable channels, keyboard would also be nice.

The best solution would be possibility to use keyboard directly attached to TV with Remote application (without desktop version) - keyboard driver for other usages aside NetSurf. People showed interest for this in many posts in several threads in this forum.

Re: Remote Control Signal Over Lan?

Posted: Sun Jan 09, 2011 10:56 pm
by juusso
I do not understand... You can use attached to TV keyboard and mouse (wireless too) with drivers from samygo. You can use samygo all extensions for that... Did you hear about?