Quick question.
Is it possible to change the background from screen to screen?
Printable View
Quick question.
Is it possible to change the background from screen to screen?
Hello Mate,
not Sure I understand what you mean, can't you use the skin header to do that ? menu_off.jpg etc ?
I wrote an AutoIT script to change the Menu_off.jpg image in the Minimal skin. It copies from an image (either random or sequential) from a background directory and overwrites the menu_off.jpg image. I then had a button to allow you to change the background, but you needed to refresh the skin to make the change. Your welcome to use that (code below).
NOTE This script hard codes the ini file it uses
#Include <File.au3>
#Include <Array.au3>
;Read vars from Minimal.ini
$SkinPath = _PathFull(@ScriptDir & "..\")
$SkinIni = $SkinPath & "Minimal.ini"
$BGPath = $SkinPath & "Backgrounds"
$BG = IniRead($SkinIni, "Minimal Skin", "MinLastBG", "File Not Found")
$Debug = IniRead($SkinIni, "Minimal Skin", "MinDebug", "File Not Found")
; check for random background
$setBG = IniRead($SkinIni, "Minimal Skin", "MinBGrandom", "NotFound")
; Get list of files into an array
$BGList=_FileListToArray($BGPath,"*.*",1)
; if Debug is on, put the files in the background directory into a sorted list
if $Debug >0 then _ArrayDisplay($BGList,"$BGList")
_ArraySort( $BGList,0,1)
If (Not IsArray($BGList)) and (@Error=1) Then
MsgBox (0,"","No Files\Folders Found.")
Exit
EndIf
; select new BG seq or random dependant on setting in ini
if $setBG = 1 then $BG=random(1,$BGList[0],1)
if $setBG = 0 then $BG=$BG+1
if $BG>$BGList[0] then $BG=1
; Prepare & write the file, and update Minimal.ini
$FS = $BGPath & "\" & $BGList[$BG]
$success = FileCopy($FS, $SkinPath & "\Menu.jpg",1)
IniWrite($SkinIni, "Minimal Skin", "MinLastBG", $BG)
; If debug is on dump data for error checking
if $Debug > 0 then MsgBox(4096, "Result", "SetBG="&$setBG & @CRLF & "BG="&$BG & @CRLF & $BGList[$BG] & @crlf & $FS & @crlf & $success)
if $Debug > 0 then _ArrayDisplay($BGList,"$BGList")
and heres the ini file
[Minimal Skin]
; 0 = Off 1 = On
MinDebug=0
; 0 = Sequential 1 = Random
MinBGrandom=1
; last background used
MinLastBG=1
I have the script in a directory off the skin dir, the ini file is in the skin dir itself.
Hope this helps.
KPJUK
Hi Guino,
I'm playing with your new update and it works very well,I uploaded a patch for my skin to let others test it too ;).
I saw some strange behaviour, they can't be called bugs I think... At the start appear the loading skin showing the loading status.
It shows:
- something about mixer I think... too fast to see :P
-Starting Winamp
-AUDIO ADV
-NAVIGATION
-LIBRARY
-AUDIO ADV
-NAVIGATION
-LIBRARY
The fact that catched my eyes was that all except the first are written in CAPITAL LETTERS (I'm sorry, I know it's not a problem, but I was just checking my skin and I saw it :P) after this I saw that AUDIO ADV, NAVIGATION, LIBRARY repeat twice.. Is it normal? Is it redoundant?
Another strange behaviour is in the menu.skin file:
------------------------------------------------------------------------------------------------------------
MEDIACAR Skin
MEDIACAR MainMenu Skin
menu2_off.png,menu2_off.png,menu_on.png,menu_down. png
INC,colors.txt
INC,topdisplay.skin
INC,bottomvolume.skin
INC,titlebutton0.txt
INC,titlebutton1.txt
INC,titlebutton2.txt
INC,titlebutton3.txt
INC,titlebutton4.txt
INC,titlebutton5.txt
[...]
-----------------------------------------------------------------------------------------------------------
with this code RR doesn't include titlebutton0.txt (it's just a one line file with a /DEFINE)
but include titlebutton1.txt...
...I tryed with this code...just one blank line more...
------------------------------------------------------------------------------------------------------------
MEDIACAR Skin
MEDIACAR MainMenu Skin
menu2_off.png,menu2_off.png,menu_on.png,menu_down. png
INC,colors.txt
INC,topdisplay.skin
INC,bottomvolume.skin
INC,titlebutton0.txt
INC,titlebutton1.txt
INC,titlebutton2.txt
INC,titlebutton3.txt
INC,titlebutton4.txt
INC,titlebutton5.txt
[...]
-----------------------------------------------------------------------------------------------------------
and it works, tryed also with this code... changed order...
------------------------------------------------------------------------------------------------------------
MEDIACAR Skin
MEDIACAR MainMenu Skin
menu2_off.png,menu2_off.png,menu_on.png,menu_down. png
INC,colors.txt
INC,titlebutton0.txt
INC,titlebutton1.txt
INC,titlebutton2.txt
INC,titlebutton3.txt
INC,titlebutton4.txt
INC,titlebutton5.txt
INC,topdisplay.skin
INC,bottomvolume.skin
[...]
-----------------------------------------------------------------------------------------------------------
and it works too...
The error is repeateable.
Thank you for the good work.
P.S.:Is there a possibility of removing the % char in the volume label? :)
The RoadRunner Updater has been updated.. lol. see HERE for more info. :) There is now only ONE version, for both normal and touchscreen monitor usage.
I used the updater now my silabs will not play in rr. What do I do?
It shows that it is on but I get no signal bars, I confirmed that it still works outside of rr. Are there setting I need to change? it is defaulted to radiator, is that correct?
Radiator is no more necessary. All you have to do is set radiomode=7 in your rr.ini
Sonix and Rafster:
I noticed a problem with the weather as well with your(Sonix's) beta. Just by dumb luck it stopped working when I put the GPS timer line in after I realized my weather Button wasn't showing the gps city name. I added the line to the rr.ini, reloaded RR and the weather was not working. I tried a couple of times, and didn't know what was wrong. I removed the line from the rr.ini, fired up RR the weather worked again. Not sure if it is related to the exact problem you guys are having, but definitely worth a mention.
Is this caused by the new tranparent capability in RR? Is there a way to turn it off?