Results 1 to 3 of 3

Thread: multiple skins based on time

  1. #1
    Constant Bitrate
    Join Date
    May 2005
    Location
    Mother Earth
    Posts
    195

    multiple skins based on time

    Well we all know Red is hard at work on the new MI version ..
    Does anyone out there use multiple skins.like a skin for daytime and a skin for night time? if so did you automate it.. IF you did what method did you use.
    i use hibernate with gammacontrol 2.14. GC can launch
    a file at day time and at night time.So this is how i use multiple skins.

    I made two batch files that will change the config.ini (in my case line10 column#j skinpath=)

    to skinpath=default for my daytime skin
    and skinpath=navy for my nightime skin..

    i then added it to an autoit script. and used the 2.exes in gamma control

    anyone else have anyother ideas let me know.

    the exe consists of
    ProcessClose( "mi.exe" )
    Run("C:\Program Files\Mobile Impact\night.bat") or day.bat
    Run("C:\Program Files\Mobile Impact\mi.exe")
    Exit

    the bat file is

    @echo off > night
    set /a skintype=0
    for /f "tokens=*" %%J in (config.ini) do call :subr1 %%J
    copy night config.ini > nul
    del night
    goto :eof

    :subr1
    set /a skintype+=1
    if %skintype% EQU 10 echo SKINPATH=Navy >> night
    if not %skintype% EQU 10 echo %* >> night
    goto :eof

    im not the greatest coder this is very basic.
    the equ 10 is line 10 and the %%j is right after the equal sign in skinpath= in the config.ini

    make sure if you use this you count the lines in your config ini

    Red love the program now i need to get my phoco license..
    and figure out why my home pc asf files are searchable but carpc isnt.
    KIAs can have car pcs too..

  2. #2
    Mobile Impact Creator reddeath30's Avatar
    Join Date
    Mar 2005
    Location
    Fontana, California
    Posts
    1,142
    Fantastic idea! I have been tossing around changing day and night skins within the program, but I have a huge problem with changing the skins on the fly. It requires some of the modules to be unloaded in some cases. While I wait for a USB FM radio to get shipped to me, I will work on this. Thanks!
    Mobile Impact
    Highly innovative car computer multimedia/entertainment system software.
    http://mobileimpact.biz.tm

  3. #3
    Newbie
    Join Date
    Dec 2008
    Posts
    17
    is there any updates on this? Or at least a way to dim the skin at night.

Similar Threads

  1. Features I would like to see in Streetdeck
    By Gayden in forum StreetDeck
    Replies: 1
    Last Post: 08-04-2006, 12:49 PM
  2. 1.0.4.7 bug
    By debugger in forum StreetDeck
    Replies: 9
    Last Post: 07-01-2006, 03:01 AM
  3. How do you adjust time format?
    By jonnybump in forum Road Runner
    Replies: 1
    Last Post: 04-30-2006, 11:17 AM
  4. Too much time on his hands...
    By rdrr in forum General MP3Car Discussion
    Replies: 3
    Last Post: 06-18-2004, 12:04 PM
  5. Does anyone have a multiple LCD screen setup?
    By Choser in forum LCD/Display
    Replies: 5
    Last Post: 02-04-2004, 11:32 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •