The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Mobile Impact

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-17-2007, 03:04 AM   #1
Constant Bitrate
 
Join Date: May 2005
Location: Mother Earth
Vehicle: 2004 kia Sorento
Posts: 189
My Photos: (0)
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.
__________________
using Mobile Impact,Waiting on the rds radio.
nigwhyrito is offline   Reply With Quote
Sponsored Links
Old 04-17-2007, 09:16 AM   #2
Mobile Impact Creator
 
reddeath30's Avatar
 
Join Date: Mar 2005
Location: Placentia, California
Vehicle: 1991 Toyota Celica GT Coupe
Posts: 1,136
My Photos: (0)
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
reddeath30 is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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


All times are GMT -5. The time now is 06:59 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics