Results 1 to 3 of 3

Thread: using setvar with ||

  1. #1
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    Location
    small town nebraska
    Posts
    263

    using setvar with ||

    Just found ++ I'll try that....

    I need to set a variable to a value that contains multiple commands ( using ||). Can this be done using setvar? Here is the line from my autoit script:
    $rr.Execute("SETVAR;" & "CMDDISK" & $n & ";" & $CDCOMMAND & "||LoadList;" & $MyDrive[$n])
    Here is an example of what RR gets...
    SETVAR;CMDDISK3;AUDIO||LoadList;Z:\
    RR sets CMDDISK3 = AUDIO and then executes LoadList;Z:\
    Anyway I can use setvar to set a value containing ||?

    This does work if I set the value of CMDDISK3 in skin.ini, then do a skin reload....I really don't want to do multiple skin reloads.
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

  2. #2
    FLAC
    Auto Apps:loading...
    EL CAMINO's Avatar
    Join Date
    Jul 2005
    Location
    upland california us
    Posts
    1,283
    try this code.
    Code:
    $rr.Execute('SETVAR;CMDDISK'& $n & ';' & $CDCOMMAND & '||LoadList;' & $MyDrive[$n])

  3. #3
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    Location
    small town nebraska
    Posts
    263
    The single quotes do the same thing and rr see's the || and assumes setvar is done and issues the next command. using ++ instead of || fixes the issue.
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

Similar Threads

  1. How many Australian mp3Cars are there out there?
    By MikGan in forum MP3Car Gatherings
    Replies: 356
    Last Post: 09-11-2013, 11:27 PM
  2. MENU POPUP with - SetVar / SetLabel question ...
    By kolemieux in forum Road Runner
    Replies: 9
    Last Post: 07-19-2007, 03:35 AM
  3. SKin SetVAR question...
    By GuMiSZu in forum Road Runner
    Replies: 2
    Last Post: 05-08-2007, 11:27 AM
  4. Looking for some one who can draw
    By Lando in forum Off Topic
    Replies: 18
    Last Post: 08-19-2005, 11:53 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
  •