Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Switch button ?

  1. #1
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671

    Angry Switch button ?

    I have tried every thing to swap gotofirst and gotolast on the same button


    "GOTOFIRST;SWITCHBUTTON;2" - "GOTOLAST;SWITCHBUTTON;1"
    "GOTOLAST||SWITCHBUTTON;1"

    "GOTOFIRST>>GOTOLAST"

    Help
    2001 S10 ZR2

    Chucks Skin - to old

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    The Button number is relative to the position of the B line in the file.. make the button with this code: "GOTOFIRST||SWITCHBUTTON;1>>GOTOLAST||SWITCHBUTTON ;1" the first 'Bxx' line of the .skin file.
    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
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Thanks guino it work like a champ
    2001 S10 ZR2

    Chucks Skin - to old

  4. #4
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Now this is one for guino

    I am trying to make a button for xm stop (mute), play (unmute) and have a lable on the button that says stop when unmuted and play when muted by using switchbutton and switchlable at the same time.

    Is this possible?
    2001 S10 ZR2

    Chucks Skin - to old

  5. #5
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Button Code:
    "PAUSE||SETLABEL;!MYMUTE;Play||SWITCHBUTTON;1>>RES UME||SETLABEL;!MYMUTE;Stop||SWITCHBUTTON;1"

    Label code:
    "!MYMUTE","Stop"

    Apparently I don't have setlabel in the .txt either..
    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."

  6. #6
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Thank guino

    Set label is in the .txt file but I would not have known to use it much less figured it out with switch button.

    This is what I ended up doing
    Button Code:
    "PAUSE||SETLABEL;!MYMUTE;||SETLABEL;!MYMUTE2;Play| |SWITCHBUTTON;1>>RESUME||SETLABEL;!MYMUTE;Stop||SE TLABEL;!MYMUTE2;||SWITCHBUTTON;1"

    Label code:
    "!MYMUTE","Stop"
    "!MYMUTE2","

    By the way when you put the text in the label code caps will not work but after setlabel changes the label caps work.
    2001 S10 ZR2

    Chucks Skin - to old

  7. #7
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    I guess if you're using 2 labels it would allow you choose font and color separately for displaying Play or Stop...

    What do you mean by "caps will not work" ?
    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."

  8. #8
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    When the skin first opens all the letters are in lower case till the button changes the labels even if you have all capital letters in the Label code: as in my stop above.
    2001 S10 ZR2

    Chucks Skin - to old

  9. #9
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    This morning I loaded this skin in to the truck computer and pause and resume did not seem to work in XM. Is this true and should I use mute instead or is it just the version of rr I have?
    2001 S10 ZR2

    Chucks Skin - to old

  10. #10
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    I don't think Pause/Resume work propperly with XM (I seem to remember a bug where it seems they are inverted..) I have to fix it.. but earlier versions may not even have it implemented.
    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."

Page 1 of 2 12 LastLast

Similar Threads

  1. New product - PC Power switch with wired remote
    By hd54321 in forum General Hardware Discussion
    Replies: 5
    Last Post: 03-08-2006, 11:48 PM
  2. Capture GPS data at the flip of a switch
    By Mr. Inquisitive in forum GPS
    Replies: 4
    Last Post: 02-02-2005, 07:06 PM
  3. I want my pc to come on with a toggle switch
    By muldrick in forum Power Supplies
    Replies: 13
    Last Post: 07-04-2004, 11:10 AM
  4. Installing On/Off Switch with Opus 90W
    By Judgement in forum Power Supplies
    Replies: 6
    Last Post: 07-02-2004, 02:43 AM
  5. Need clairification on wiring on/off switch
    By syclone477 in forum Newbie
    Replies: 9
    Last Post: 03-23-2004, 05:59 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
  •