Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner


Reply
 
Share Thread Tools Display Modes
Old 09-07-2008, 02:00 PM   #1
Wants to make it harder
 
monkeyracer's Avatar
 
Join Date: May 2007
Location: Lakehood, CO
Posts: 1,414
monkeyracer is an unknown quantity at this point
Rotating through setvar commands?

I am trying to finish up my hAv1c+ release, and I want to have the track info cycle through 3-5 items on a timer. I'd like to use setvar and byvar rather than referencing a txt /DEFINE file.

The problem I have is how to get the setvar back to 0. for example:

Code:
"ONSKINSTART","SETVAR;SONGCHOICE;0" "TIMER","SETVAR;SONGINFO;$SONGCHOICE$||EVAL;SONGCHOICE;$SONGCHOICE$+1" L01,,,,,,,,,,"BYVAR;SONGINFO;TRACKTITLE<<TAGARTIST<<TAGALBUM"

With this, on skin start, the label displays the Track Title, and on the next interval, it switches to the Artist, and the next interval it switches to the Album, but after that it displays nothing (since the setvar will show 3 or more from $SONGCHOICE$...

So, how do I cycle back to 0 once it's at the end of the list?
__________________
2007 Chrysler PT Cruiser TE
Car PC Progress:
Planning.......[---------X-] 95%
Parts...........[---------X-] 90%
Fabrication...[---------X-] 90%
RR Skin........[---------X-] 95%
View my
Worklog
Road Runner Skins
Website
Favorite thread EVER!

Last edited by monkeyracer; 09-07-2008 at 02:03 PM.
monkeyracer is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 09-07-2008, 02:58 PM   #2
FLAC
 
Chuck's Avatar
 
Join Date: Sep 2003
Location: Ellicott City, MD
Posts: 1,670
Chuck is on a distinguished road
Code:
No need for "ONSKINSTART","SETVAR;SONGCHOICE;0" they always start at 0 unless you save them "TIMER","BYVAR;SONGCHOICE;SETVAR;SONGCHOICE;1<<SETVAR;SONGCHOICE;2<<SETVAR;SONGCHOICE;0" L01,,,,,,,,,,"BYVAR;SONGCHOICE;TRACKTITLE<<TAGARTIST<<TAGALBUM"

__________________
2001 S10 ZR2

Chucks Skin - to old

Last edited by Chuck; 09-07-2008 at 03:03 PM.
Chuck is offline   Reply With Quote
Old 09-07-2008, 03:12 PM   #3
Wants to make it harder
 
monkeyracer's Avatar
 
Join Date: May 2007
Location: Lakehood, CO
Posts: 1,414
monkeyracer is an unknown quantity at this point
Ah, that makes sense, thanks, I'll try this tonight.
__________________
2007 Chrysler PT Cruiser TE
Car PC Progress:
Planning.......[---------X-] 95%
Parts...........[---------X-] 90%
Fabrication...[---------X-] 90%
RR Skin........[---------X-] 95%
View my
Worklog
Road Runner Skins
Website
Favorite thread EVER!
monkeyracer is offline   Reply With Quote
Old 09-07-2008, 11:14 PM   #4
Wants to make it harder
 
monkeyracer's Avatar
 
Join Date: May 2007
Location: Lakehood, CO
Posts: 1,414
monkeyracer is an unknown quantity at this point
That worked! Thanks!
__________________
2007 Chrysler PT Cruiser TE
Car PC Progress:
Planning.......[---------X-] 95%
Parts...........[---------X-] 90%
Fabrication...[---------X-] 90%
RR Skin........[---------X-] 95%
View my
Worklog
Road Runner Skins
Website
Favorite thread EVER!
monkeyracer is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Commands to control car! CarCoder Engine Management, OBD-II, Engine Diagnostics, etc. 12 06-22-2008 04:08 AM
Can you do voice commands with iGuidance in Centrafuse? nobb Centrafuse 0 05-31-2007 08:57 PM
Rotating car as rotating logo. BartDP RR Skins 1 05-07-2007 02:12 PM
SpeakEasy Voice Recognition - Beta 1 ruairi Road Runner 31 08-23-2006 12:12 AM
send commands to apps not working? liquid_smoke Road Runner 15 10-27-2005 05:42 AM



All times are GMT -5. The time now is 01:45 PM.


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