Announcement

Collapse
No announcement yet.

Directory list box behavior

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

  • Directory list box behavior

    Are there any ways to change the default click/double click action results in a directory list box (S) in a roadrunner? Currently, double clicking a dir obviously open that dir, but double clicking on a single song clears my current play list and adds just that song to the current play list. Can the default behavior be changed inside that display box to some like "ADD1"?

  • #2
    Changing Road Runners double click behavior

    The following commands are available for use, and not listed in the skincommands.txt file:

    "ONFILECLICK",""
    "ONDIRCLICK",""
    "ONPLCLICK",""
    "ONDLCLICK",""
    "ONPBCLICK",""
    "ONPLSELCLICK",""
    "ONDLSELCLICK",""

    You can use any of them on a "defined skin". Meaning, in the exectbl.ini, you place the name of the skin that you want that function to work on.

    For instance, to double click something to ADD1 ONLY in the audio browser, use the following command:

    Code:
    "ONDLDBLCLICK","ADD1",Audio_Browser.skin
    (Notice the last part, the skin name, is outside of the quotes.)
    Simply add that line to the exectbl.ini.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

    Comment


    • #3
      Thanks John, knew it was something simple i was missing in the skin commands file.

      Comment


      • #4
        I have this half working except with that command in exectbl it adds the entire contents of the current directory. I also tried the ONFILECLICK string as well with the same result.If i browse Artist - Album, once i am in the Album (12 tracks listed) directory, i double click on track "foo.mp3" it adds the entire album. Maybe ADD1 isn't the right command i should be using? Would legacy "SELECT" be better?

        Comment


        • #5
          After many different combinations and toying with this command, still no luck.

          "ONDLDBLCLICK","ADD1",Audio_Browser.skin per John

          in my exectbl still adds the entire contents of the current folder to the playlist. Any ideas?

          Comment


          • #6
            FYI: ADD1 will add the currently selected item of the directoy list to the playlist. So if you select a single song in the directory list, just this song will be added to the playlist. If a directory is highlighted, the contents of the directory will be added to the playlist.

            "ONDLDBLCLICK","ADD1",Audio_Browser.skin per John
            What's this "per John" at the end ? I hope you didn't write this in the ExecTBL .

            Comment


            • #7
              The per John part was referring to John's suggestion below. My exectbl.ini is below. I have changed the exectbl to allow single click on directories (to open them) and single click on files to add to play lists. I am using the BROWSE and !ADD1 commands. The issue i still run into is if you double click a file, it clears the current play list and adds the song you double clicked to the play list. below is debug.txt as well. You'll notice that last command includes a "select" command which happens after the double click of the mp3 file name, which i think is what is triggering the play list to be cleared. I am just not sure what other lines need to be added to the exectbl to either disable double clicking or just make it act like the !ADD1 function.

              "ONFILECLICK","!ADD1",Audio_Browser.skin
              "ONDLCLICK","BROWSE",Audio_Browser.skin
              "ONDIRCLICK","BROWSE",Audio_Browser.skin
              "ONDLSELCLICK","!ADD1",Audio_Browser.skin
              "ONFILESELCLICK","!ADD1",Audio_Browser.skin





              1/25/2008 11:28:09 AM: Executing: BROWSE
              1/25/2008 11:28:09 AM: Leave Exec: False, audio_browser.skin, BROWSE, False
              1/25/2008 11:28:10 AM: Enter Exec: False, audio_browser.skin, "ONDIRCLICK", False
              1/25/2008 11:28:10 AM: Que Exec: True, audio_browser.skin, "ONDIRCLICK", False
              1/25/2008 11:28:10 AM: Executing: BROWSE
              1/25/2008 11:28:10 AM: Leave Exec: False, audio_browser.skin, BROWSE, False
              1/25/2008 11:28:11 AM: Enter Exec: False, audio_browser.skin, "ONDLSELCLICK", False
              1/25/2008 11:28:11 AM: Que Exec: True, audio_browser.skin, "ONDLSELCLICK", False
              1/25/2008 11:28:11 AM: Executing: ADD1
              1/25/2008 11:28:11 AM: Leave Exec: False, audio_browser.skin, ADD1, True
              1/25/2008 11:28:11 AM: Enter Exec: False, audio_browser.skin, "ONFILECLICK", False
              1/25/2008 11:28:11 AM: Que Exec: True, audio_browser.skin, "ONFILECLICK", False
              1/25/2008 11:28:11 AM: Executing: ADD1
              1/25/2008 11:28:11 AM: Leave Exec: False, audio_browser.skin, ADD1, True
              1/25/2008 11:28:12 AM: Enter Exec: False, audio_browser.skin, "select", False
              1/25/2008 11:28:12 AM: Que Exec: True, audio_browser.skin, "select", False
              1/25/2008 11:28:12 AM: Executing: select
              1/25/2008 11:28:12 AM: Que Exec: True, audio_player.skin, "ONSONGSTART", False
              1/25/2008 11:28:12 AM: Executing: ONSONGSTART
              1/25/2008 11:28:12 AM: Leave Exec: False, audio_player.skin, ONSONGSTART, False
              1/25/2008 11:28:12 AM: Enter Exec: False, audio_browser.skin, "ONFILECLICK", False
              1/25/2008 11:28:12 AM: Que Exec: True, audio_browser.skin, "ONFILECLICK", False
              1/25/2008 11:28:12 AM: Executing: ADD1
              1/25/2008 11:28:12 AM: Leave Exec: False, audio_browser.skin, ADD1, True

              Comment

              Working...
              X