Announcement

Collapse
No announcement yet.

Browser from database to label

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Browser from database to label

    Is it possible to make a scrollable browser list of programs? For example I want to have a list in road runner the same as the music library (scrollable directory contents) but instead of music, I want it to open up files such as word documents or notepad txts.

    Also is it possible for road runner to read the text in either a word doc or txt and display this text on the screen as if it was part of the skin? (by this I mean I dont want to just embed the program but have the text as part of a skin (a label)).

    Or would it be possible to do this with roadrunner accessing a database (either access or just a comma delimited txt file.)

    see pic - I think I am bad at explaining what I mean.
    Attached Files
    Skins:
    /showthread.php?t=83814 (R.I.P.)
    /104373-golf-skin.html (R.I.P.)
    /106214-metal-spin-release.html(RIP)
    using own vw gypsy clone
    On 2nd PC: 1st one died.

  • #2
    [HL]"CLLOAD" - This allows you to load a custom list from disk (Probably saved with CLSAVE or by a script/application).
    Example: "CLLOAD;C:\MyList.txt" (Loads the list saved in "C:\MyList.txt")
    You can Optionally load a Plain Text file (line-by-line as items) into the list:
    Example: "CLLOAD;C:\MyText.txt;true" (Loads plain text file)[/HL]

    from Skin Commands.txt, to browse the list just use a directory list and set the path to where you have those txt files, and the button will have something like this

    i.e. C:\txt files\ is the folder where the txt files are.

    Code:
    "SETVARBYCODE;MYTXT;DLTEXT||CLLOAD;C:\txt files\$MYTXT$;true"
    BASSRR ==> [Audio Player/MusicDB/Cd Player/Ripper/Rate/Internet Radio/Audio Capture/Youtube Video]
    RRTube ==> [View/Download Youtube Videos]
    WifiMan ==> [Wifi Manager]
    RRec ==> [Audio Capture]

    If You Want To Be Given Everything, Give Everything Up ...
    Bird York -- In The Deep --

    Comment


    • #3
      Originally posted by EL CAMINO View Post
      [HL]"CLLOAD" - This allows you to load a custom list from disk (Probably saved with CLSAVE or by a script/application).
      Example: "CLLOAD;C:\MyList.txt" (Loads the list saved in "C:\MyList.txt")
      You can Optionally load a Plain Text file (line-by-line as items) into the list:
      Example: "CLLOAD;C:\MyText.txt;true" (Loads plain text file)[/HL]

      from Skin Commands.txt, to browse the list just use a directory list and set the path to where you have those txt files, and the button will have something like this

      i.e. C:\txt files\ is the folder where the txt files are.

      Code:
      "SETVARBYCODE;MYTXT;DLTEXT||CLLOAD;C:\txt files\$MYTXT$;true"
      couldnt have said it better myself.. thats all you need.
      mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
      Follow Me on Twitter or Facebook
      Live mp3Car Facebook Chat

      Comment


      • #4
        Thanks for your help guys but sorry, I'm confused. I am obviously doing something wrong. I have done this to test it:

        B,31,111,160,93,"SETVARBYCODE;MYLIST;DLTEXT||CLLOA D;C:\specs\$MYLIST$;true",
        S,251,72,486,459,0,0,0,0,0,0,0,0,0,0,0,0,252,252,2 52,0,0,0,,12,"Arial"
        B,19,19,153,80,"CLLOAD;C:\MyList.txt",

        but no luck.

        Do i just need the first button to sort of activate the directory list which will come up on the same skin screen?

        Mylist.txt on the C drive contains for example:

        one
        two
        three
        four

        (a list of words separated by enter on the keyboard)

        and a folder called specs on the c drive

        with files called one, two, three and four each with different text in. How do I get a click on a file to open a new skin screen with a label containing part or all the file's contents?

        thanks again
        Skins:
        /showthread.php?t=83814 (R.I.P.)
        /104373-golf-skin.html (R.I.P.)
        /106214-metal-spin-release.html(RIP)
        using own vw gypsy clone
        On 2nd PC: 1st one died.

        Comment


        • #5
          like i said, in what ever screen you want to display those txt files.
          1.- create a custom list (SC)
          2.- you can even have the directory list in the same screen if you have space.(S)
          (recommended)then add a directory list extention.(SD) heres where you set the path to your
          txt files root.
          i.e.
          Code:
          SD,00,01,28,28,"C:\txt files\","*.txt",False
          3.- the button to load is(sorry i missed a command before)
          Code:
          "SETVARBYCODE;MYTXT;DLTEXT||CLCLEAR;ALL||CLLOAD;C:\txt files\$MYTXT$;true"
          NOTE:all is well explained in the Skin Commands.txt, even the skin editor says how to do it give it a try and if you still get stuck, post you .skin file and we can help you out.
          BASSRR ==> [Audio Player/MusicDB/Cd Player/Ripper/Rate/Internet Radio/Audio Capture/Youtube Video]
          RRTube ==> [View/Download Youtube Videos]
          WifiMan ==> [Wifi Manager]
          RRec ==> [Audio Capture]

          If You Want To Be Given Everything, Give Everything Up ...
          Bird York -- In The Deep --

          Comment

          Working...
          X