Results 1 to 9 of 9

Thread: SWITCHBUTTON Variable Help

  1. #1
    Mod - all of it.
    Join Date
    Jul 2007
    Location
    Buena Park, So Cali
    Posts
    524

    SWITCHBUTTON Variable Help

    Okay so I thought I could use SWITCHBUTTON to do what I wanted to do, but it looks like that wont work with the press and hold feature. I have searched and read, but still don't quite get what I need to do.

    Here are the 2 buttons codes that I would like to have on one button. It is for GPS speed volume, and at one setting it has the volumes for my windows down and the other setting for the windows up. How do I code this all for one button to toggle between up and down, and still hold the button to change the settings.

    Along with this I would like the label to change for the button as well. Right now I have a + for the Windows Up and a - for the Windows Down buttons.

    Thanks as always.

    Code:
    B5,500,526,100,74,"SETVAR;speedatt;$p1speedatt$||SETVAR;speedattmute;$p1speedattmute$||SETVAR;speedattunit;$p1speedattunit$||SETVAR;speedattvola;$p1speedattvola$||SETVAR;s
    
    peedattvolb;$p1speedattvolb$||SETVAR;speedattspeeda;0||SETVAR;speedattspeedb;$p1speedattspeedb$||SETVAR;speedattmode;line||SETVAR;speedattmute;$p1speedattmute$||SETVAR;spee
    
    dattmaxstep;15||SAVETOINI;speedatt;$p1speedatt$||SAVETOINI;speedattmute;$p1speedattmute$||SAVETOINI;speedattunit;$p1speedattunit$||SAVETOINI;speedattvola;$p1speedattvola$||
    
    SAVETOINI;speedattvolb;$p1speedattvolb$||SAVETOINI;speedattspeeda;0||SAVETOINI;speedattspeedb;$p1speedattspeedb$||SAVETOINI;speedattmode;line||SAVETOINI;speedattmute;$p1spe
    
    edattmute$||SAVETOINI;speedattmaxstep;15",@LOAD;GPS_Speed_Preset1_Config.skin@,
    
    B6,600,526,100,74,"SETVAR;speedatt;$p2speedatt$||SETVAR;speedattmute;$p2speedattmute$||SETVAR;speedattunit;$p2speedattunit$||SETVAR;speedattvola;$p2speedattvola$||SETVAR;s
    
    peedattvolb;$p2speedattvolb$||SETVAR;speedattspeeda;0||SETVAR;speedattspeedb;$p2speedattspeedb$||SETVAR;speedattmode;line||SETVAR;speedattmute;$p2speedattmute$||SETVAR;spee
    
    dattmaxstep;15||SAVETOINI;speedatt;$p2speedatt$||SAVETOINI;speedattmute;$p2speedattmute$||SAVETOINI;speedattunit;$p2speedattunit$||SAVETOINI;speedattvola;$p2speedattvola$||
    
    SAVETOINI;speedattvolb;$p2speedattvolb$||SAVETOINI;speedattspeeda;0||SAVETOINI;speedattspeedb;$p2speedattspeedb$||SAVETOINI;speedattmode;line||SAVETOINI;speedattmute;$p2spe
    
    edattmute$||SAVETOINI;speedattmaxstep;15",@LOAD;GPS_Speed_Preset2_Config.skin@,
    CAR: 2007 G35 Sport Coupe 5AT
    HARDWARE: Dell D630 w/ dock, internal 80G HD, internal 320G HD, Verizon Wireless Card, iBlue GM-2 GPS w/iGuidance, OBDPros w/DashCommand, Visteon HD Radio w/ Home Made Cable, Current Version of RR w/ DFX Skin. My Install.

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    Let's simplify your example... this is what you have right now..

    B5,xxx,xxx,...,"<SETPRESET1>",@LOAD;GPS_Speed_Pres et1_Config.skin@
    B6,xxx,xxx,...,"<SETPRESET2>",@LOAD;GPS_Speed_Pres et2_Config.skin@

    To make them in one single button using switchbutton you'd NOT be able to switch the code for the press-and-hold action, so I would suggest you do this instead:

    B,xxx,xxx,...,"$LOADMYPRESET$",@$CONFIGMYPRESET$@

    Then have this in exectbl.ini (for simplicity):

    "LOADPRESET1","<SETPRESET1>" --- will be that whole code in B5 up there
    "LOADPRESET2","<SETPRESET2>" --- will be that whole code in B6 up there
    "CONFIGPRESET1","LOAD;GPS_Speed_Preset1_Config.ski n"
    "CONFIGPRESET2","LOAD;GPS_Speed_Preset2_Config.ski n"

    Then all you have to do is (instead of using Switchbutton) is set the variables LOADMYPRESET and CONFIGMYPRESET like this:
    Code:
    To activate preset 1 in the button:
    "SETVAR;LOADMYPRESET;LOADPRESET1||SETVAR;CONFIGMYPRESET;CONFIGPRESET1"
    
    To activate preset 2 in the button:
    "SETVAR;LOADMYPRESET;LOADPRESET2||SETVAR;CONFIGMYPRESET;CONFIGPRESET2"
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  3. #3
    Mod - all of it.
    Join Date
    Jul 2007
    Location
    Buena Park, So Cali
    Posts
    524
    And this will toggle between the 2 settings with one button touch, or do I need to set up a second button with the code portion to load the 2 presets?
    And I assume you mean the skins exectbl.ini not rr exectbl.ini

    Quote Originally Posted by guino View Post
    Let's simplify your example... this is what you have right now..

    B5,xxx,xxx,...,"<SETPRESET1>",@LOAD;GPS_Speed_Pres et1_Config.skin@
    B6,xxx,xxx,...,"<SETPRESET2>",@LOAD;GPS_Speed_Pres et2_Config.skin@

    To make them in one single button using switchbutton you'd NOT be able to switch the code for the press-and-hold action, so I would suggest you do this instead:

    B,xxx,xxx,...,"$LOADMYPRESET$",@$CONFIGMYPRESET$@

    Then have this in exectbl.ini (for simplicity):

    "LOADPRESET1","<SETPRESET1>" --- will be that whole code in B5 up there
    "LOADPRESET2","<SETPRESET2>" --- will be that whole code in B6 up there
    "CONFIGPRESET1","LOAD;GPS_Speed_Preset1_Config.ski n"
    "CONFIGPRESET2","LOAD;GPS_Speed_Preset2_Config.ski n"

    Then all you have to do is (instead of using Switchbutton) is set the variables LOADMYPRESET and CONFIGMYPRESET like this:
    Code:
    To activate preset 1 in the button:
    "SETVAR;LOADMYPRESET;LOADPRESET1||SETVAR;CONFIGMYPRESET;CONFIGPRESET1"
    
    To activate preset 2 in the button:
    "SETVAR;LOADMYPRESET;LOADPRESET2||SETVAR;CONFIGMYPRESET;CONFIGPRESET2"
    CAR: 2007 G35 Sport Coupe 5AT
    HARDWARE: Dell D630 w/ dock, internal 80G HD, internal 320G HD, Verizon Wireless Card, iBlue GM-2 GPS w/iGuidance, OBDPros w/DashCommand, Visteon HD Radio w/ Home Made Cable, Current Version of RR w/ DFX Skin. My Install.

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    You'll need a button or something to activate and/or switch the presets -- you CAN use switchbutton for that if you want.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  5. #5
    Mod - all of it.
    Join Date
    Jul 2007
    Location
    Buena Park, So Cali
    Posts
    524
    Well I was trying to do everything with one button only. Press first time Windows Up volume, Press second time Windows Down volume.

    I realized that I dont need to press and hold to get to the configuration screen as I have not touched this in months, so that can be done from a seperate skin if I need to get to it.

    So anyway I removed the load skin command portion, and was able to get the switchlable, and switchbutton working exactly how I want, minus the press and hold to get to the config.
    CAR: 2007 G35 Sport Coupe 5AT
    HARDWARE: Dell D630 w/ dock, internal 80G HD, internal 320G HD, Verizon Wireless Card, iBlue GM-2 GPS w/iGuidance, OBDPros w/DashCommand, Visteon HD Radio w/ Home Made Cable, Current Version of RR w/ DFX Skin. My Install.

  6. #6
    The Last Good Gremlin GizmoQ's Avatar
    Join Date
    Nov 2004
    Location
    St Louis
    Posts
    2,347
    Quote Originally Posted by drewbp View Post
    So anyway I removed the load skin command portion, and was able to get the switchlable, and switchbutton working exactly how I want, minus the press and hold to get to the config.
    So what did you finally come up with as a final solution. The suspense is killing me.

    I took a different route years ago so I know my code could probably be updated and simplified. My code is based on the fact that the only variable that really needs to change is the speedattvola. The vol at maxspeed doesn't ever need to change cause regardless what the min is set to I always want the max at 70MPH so my code just shifts the curve.

    In all my skins/screens the Vol-, Mute, and Vol+ buttons have been replaced with the following code:
    Code:
    B02,101,550,078,050,"SPEEDATTDN>>VOL-||SWITCHBUTTON;4||SWITCHBUTTON;2>>VOL-"
    B03,181,550,078,050,"MuteSpeedatt","Mute"
    B04,261,550,078,050,"SPEEDATTUP>>VOL+||SWITCHBUTTON;2||SWITCHBUTTON;4>>VOL+"
    L28,105,551,72,18,96,96,96,14,"GE Drover","=MIN:||=$speedattvola$||=%","CENTER"
    EXECTBL.INI:
    Code:
    /***  Speed Volume ****
    "MuteSpeedatt","Mute||SWITCHBUTTON;2||SWITCHBUTTON;4"
    "SPEEDATTUP1","EVAL;SPEEDATTVOLA;$SPEEDATTVOLA$+1" 
    "SPEEDATTUP5", "EVAL;SPEEDATTVOLA;$SPEEDATTVOLA$+5" 
    "SPEEDATTDN1","EVAL;SPEEDATTVOLA;$SPEEDATTVOLA$-1" 
    "SPEEDATTDN5", "EVAL;SPEEDATTVOLA;$SPEEDATTVOLA$-5" 
    "Speedattup","BYVAR;SPEEDATTVOLA;SPEEDATTUP1<<SPEEDATTUP1<<SPEEDATTUP1<<SPEEDATTUP1<<SPEEDATTUP1<<SPEEDATTUP1<<SPEEDATTUP1<<SPEEDATTUP1<<SPEEDATTUP1<<SPEEDATTUP1<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<SPEEDATTUP5<<VOL+"
    "Speedattdn","BYVAR;SPEEDATTVOLA;VOL-<<SPEEDATTDN1<<SPEEDATTDN1<<SPEEDATTDN1<<SPEEDATTDN1<<SPEEDATTDN1<<SPEEDATTDN1<<SPEEDATTDN1<<SPEEDATTDN1<<SPEEDATTDN1<<SPEEDATTDN1<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5<<SPEEDATTDN5"
    This takes into account several things like changed scale from 0-10, three way mute so I can get back to manual control, no need to reloadskin. I have an extra label to show what minvol is set at and my vol+/vol- buttons just ramp it up/down like any other volume buttons.
    HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

  7. #7
    Mod - all of it.
    Join Date
    Jul 2007
    Location
    Buena Park, So Cali
    Posts
    524
    Okay first how do I add a code window here in the forum like you guys are.

    Here is my label code and button code. I found a font that had what was called screen up and down which to me looked like a car window up or down, so my lable changes accordingly. I have all the bottom buttons and labels coded to a INC,*.txt file, so I only needed to change the 1 file for all skins.

    Code:
    L6,516,527,71,67,#DFX1R#,#DFX1G#,#DFX1B#,50,"Guifx v2 Transports","=\>>=|","CENTER"
    B5,500,526,100,74,"SETVAR;speedatt;$p1speedatt$||SETVAR;speedattmute;$p1speedattmute$||SETVAR;speedattunit;$p1speedattunit$||SETVAR;speedattvola;$p1speedattvola$||SETVAR;speedattvolb;$p1speedattvolb$||SETVAR;speedattspeeda;0||SETVAR;speedattspeedb;$p1speedattspeedb$||SETVAR;speedattmode;line||SETVAR;speedattmute;$p1speedattmute$||SETVAR;speedattmaxstep;15||SAVETOINI;speedatt;$p1speedatt$||SAVETOINI;speedattmute;$p1speedattmute$||SAVETOINI;speedattunit;$p1speedattunit$||SAVETOINI;speedattvola;$p1speedattvola$||SAVETOINI;speedattvolb;$p1speedattvolb$||SAVETOINI;speedattspeeda;0||SAVETOINI;speedattspeedb;$p1speedattspeedb$||SAVETOINI;speedattmode;line||SAVETOINI;speedattmute;$p1speedattmute$||SAVETOINI;speedattmaxstep;15||SWITCHLABEL;9||SWITCHBUTTON;5>>"SETVAR;speedatt;$p2speedatt$||SETVAR;speedattmute;$p2speedattmute$||SETVAR;speedattunit;$p2speedattunit$||SETVAR;speedattvola;$p2speedattvola$||SETVAR;speedattvolb;$p2speedattvolb$||SETVAR;speedattspeeda;0||SETVAR;speedattspeedb;$p2speedattspeedb$||SETVAR;speedattmode;line||SETVAR;speedattmute;$p2speedattmute$||SETVAR;speedattmaxstep;15||SAVETOINI;speedatt;$p2speedatt$||SAVETOINI;speedattmute;$p2speedattmute$||SAVETOINI;speedattunit;$p2speedattunit$||SAVETOINI;speedattvola;$p2speedattvola$||SAVETOINI;speedattvolb;$p2speedattvolb$||SAVETOINI;speedattspeeda;0||SAVETOINI;speedattspeedb;$p2speedattspeedb$||SAVETOINI;speedattmode;line||SAVETOINI;speedattmute;$p2speedattmute$||SAVETOINI;speedattmaxstep;15||SWITCHLABEL;9||SWITCHBUTTON;5",""
    I will tell you that this is not my code for the gps speed. INH wrote the code using the DFX skin as a start featured in post #1382, and I downloaded it and have been using it for a few months. I added the code for 2 of the configs to the vol+ and vol- buttons on the main menu, but wanted a 1 button solution, so added the SWITCHLABEL and SWITCHBUTTON portions. I use my headunit for volume so have no need for volume control directly in the skin.
    Attached Images Attached Images  
    CAR: 2007 G35 Sport Coupe 5AT
    HARDWARE: Dell D630 w/ dock, internal 80G HD, internal 320G HD, Verizon Wireless Card, iBlue GM-2 GPS w/iGuidance, OBDPros w/DashCommand, Visteon HD Radio w/ Home Made Cable, Current Version of RR w/ DFX Skin. My Install.

  8. #8
    The Last Good Gremlin GizmoQ's Avatar
    Join Date
    Nov 2004
    Location
    St Louis
    Posts
    2,347
    Quote Originally Posted by drewbp View Post
    Okay first how do I add a code window here in the forum like you guys are.
    Edit your post. select the text you want in the code section and hit the Code Tag Button .



    Quote Originally Posted by drewbp View Post
    Code:
    L6,516,527,71,67,#DFX1R#,#DFX1G#,#DFX1B#,50,"Guifx v2 Transports","=\>>=|","CENTER"
    B5,500,526,100,74,"SETVAR;speedatt;$p1speedatt$||SETVAR;speedattmute;$p1speedattmute$||SETVAR;speedattunit;$p1speedattunit$||SETVAR;speedattvola;$p1speedattvola$||SETVAR;speedattvolb;$p1speedattvolb$||SETVAR;speedattspeeda;0||SETVAR;speedattspeedb;$p1speedattspeedb$||SETVAR;speedattmode;line||SETVAR;speedattmute;$p1speedattmute$||SETVAR;speedattmaxstep;15||SAVETOINI;speedatt;$p1speedatt$||SAVETOINI;speedattmute;$p1speedattmute$||SAVETOINI;speedattunit;$p1speedattunit$||SAVETOINI;speedattvola;$p1speedattvola$||SAVETOINI;speedattvolb;$p1speedattvolb$||SAVETOINI;speedattspeeda;0||SAVETOINI;speedattspeedb;$p1speedattspeedb$||SAVETOINI;speedattmode;line||SAVETOINI;speedattmute;$p1speedattmute$||SAVETOINI;speedattmaxstep;15||SWITCHLABEL;9||SWITCHBUTTON;5>>"SETVAR;speedatt;$p2speedatt$||SETVAR;speedattmute;$p2speedattmute$||SETVAR;speedattunit;$p2speedattunit$||SETVAR;speedattvola;$p2speedattvola$||SETVAR;speedattvolb;$p2speedattvolb$||SETVAR;speedattspeeda;0||SETVAR;speedattspeedb;$p2speedattspeedb$||SETVAR;speedattmode;line||SETVAR;speedattmute;$p2speedattmute$||SETVAR;speedattmaxstep;15||SAVETOINI;speedatt;$p2speedatt$||SAVETOINI;speedattmute;$p2speedattmute$||SAVETOINI;speedattunit;$p2speedattunit$||SAVETOINI;speedattvola;$p2speedattvola$||SAVETOINI;speedattvolb;$p2speedattvolb$||SAVETOINI;speedattspeeda;0||SAVETOINI;speedattspeedb;$p2speedattspeedb$||SAVETOINI;speedattmode;line||SAVETOINI;speedattmute;$p2speedattmute$||SAVETOINI;speedattmaxstep;15||SWITCHLABEL;9||SWITCHBUTTON;5",""
    I will tell you that this is not my code for the gps speed. INH wrote the code using the DFX skin as a start featured in post #1382, and I downloaded it and have been using it for a few months. I added the code for 2 of the configs to the vol+ and vol- buttons on the main menu, but wanted a 1 button solution. I use my headunit for volume so have no need for volume control directly in the skin.
    HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

  9. #9
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,840
    Quote Originally Posted by drewbp View Post
    Okay first how do I add a code window here in the forum like you guys are.

    Here is my label code and button code. I found a font that had what was called screen up and down which to me looked like a car window up or down, so my lable changes accordingly. I have all the bottom buttons and labels coded to a INC,*.txt file, so I only needed to change the 1 file for all skins.

    Code:
    L6,516,527,71,67,#DFX1R#,#DFX1G#,#DFX1B#,50,"Guifx v2 Transports","=\>>=|","CENTER"
    B5,500,526,100,74,"SETVAR;speedatt;$p1speedatt$||SETVAR;speedattmute;$p1speedattmute$||SETVAR;speedattunit;$p1speedattunit$||SETVAR;speedattvola;$p1speedattvola$||SETVAR;speedattvolb;$p1speedattvolb$||SETVAR;speedattspeeda;0||SETVAR;speedattspeedb;$p1speedattspeedb$||SETVAR;speedattmode;line||SETVAR;speedattmute;$p1speedattmute$||SETVAR;speedattmaxstep;15||SAVETOINI;speedatt;$p1speedatt$||SAVETOINI;speedattmute;$p1speedattmute$||SAVETOINI;speedattunit;$p1speedattunit$||SAVETOINI;speedattvola;$p1speedattvola$||SAVETOINI;speedattvolb;$p1speedattvolb$||SAVETOINI;speedattspeeda;0||SAVETOINI;speedattspeedb;$p1speedattspeedb$||SAVETOINI;speedattmode;line||SAVETOINI;speedattmute;$p1speedattmute$||SAVETOINI;speedattmaxstep;15||SWITCHLABEL;9||SWITCHBUTTON;5>>"SETVAR;speedatt;$p2speedatt$||SETVAR;speedattmute;$p2speedattmute$||SETVAR;speedattunit;$p2speedattunit$||SETVAR;speedattvola;$p2speedattvola$||SETVAR;speedattvolb;$p2speedattvolb$||SETVAR;speedattspeeda;0||SETVAR;speedattspeedb;$p2speedattspeedb$||SETVAR;speedattmode;line||SETVAR;speedattmute;$p2speedattmute$||SETVAR;speedattmaxstep;15||SAVETOINI;speedatt;$p2speedatt$||SAVETOINI;speedattmute;$p2speedattmute$||SAVETOINI;speedattunit;$p2speedattunit$||SAVETOINI;speedattvola;$p2speedattvola$||SAVETOINI;speedattvolb;$p2speedattvolb$||SAVETOINI;speedattspeeda;0||SAVETOINI;speedattspeedb;$p2speedattspeedb$||SAVETOINI;speedattmode;line||SAVETOINI;speedattmute;$p2speedattmute$||SAVETOINI;speedattmaxstep;15||SWITCHLABEL;9||SWITCHBUTTON;5",""
    I will tell you that this is not my code for the gps speed. INH wrote the code using the DFX skin as a start featured in post #1382, and I downloaded it and have been using it for a few months. I added the code for 2 of the configs to the vol+ and vol- buttons on the main menu, but wanted a 1 button solution, so added the SWITCHLABEL and SWITCHBUTTON portions. I use my headunit for volume so have no need for volume control directly in the skin.
    If you have found a solution for your problem , do you have a zip file with your all skins DFX4 files modified by you ?

    Thanks

Similar Threads

  1. Changing Indicator variable to another name
    By potpeye in forum Road Runner
    Replies: 4
    Last Post: 06-18-2009, 12:09 PM
  2. Variable syntax questions
    By Iamthehor in forum FB Software
    Replies: 14
    Last Post: 02-25-2009, 09:58 PM
  3. Replies: 15
    Last Post: 10-11-2007, 06:12 PM
  4. found in fperrorlog
    By 510SX in forum FP Bug Reports
    Replies: 3
    Last Post: 09-21-2006, 08:01 AM
  5. yet another frodo install with problems.
    By Marsupial in forum FrodoPlayer
    Replies: 10
    Last Post: 08-27-2004, 06:28 AM

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
  •