Results 1 to 7 of 7

Thread: Directory list box behavior

  1. #1
    Newbie
    Join Date
    Apr 2007
    Location
    Washington, DC
    Posts
    36

    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. #2
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,723
    Blog Entries
    1

    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

  3. #3
    Newbie
    Join Date
    Apr 2007
    Location
    Washington, DC
    Posts
    36
    Thanks John, knew it was something simple i was missing in the skin commands file.

  4. #4
    Newbie
    Join Date
    Apr 2007
    Location
    Washington, DC
    Posts
    36
    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?

  5. #5
    Newbie
    Join Date
    Apr 2007
    Location
    Washington, DC
    Posts
    36
    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?

  6. #6
    Maximum Bitrate
    Join Date
    Aug 2004
    Location
    Germany
    Posts
    520
    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 .

  7. #7
    Newbie
    Join Date
    Apr 2007
    Location
    Washington, DC
    Posts
    36
    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

Similar Threads

  1. Starting Fiberglass sub box!
    By pcmofo in forum Fabrication
    Replies: 266
    Last Post: 09-07-2009, 12:47 AM
  2. Box Loudness.... Help?
    By Harlanc03 in forum Car Audio
    Replies: 13
    Last Post: 06-08-2005, 11:10 PM
  3. problem with directory search
    By Farkum in forum FP Bug Reports
    Replies: 2
    Last Post: 02-16-2005, 05:48 AM
  4. Replies: 1
    Last Post: 12-14-2004, 12:55 AM
  5. Focus toggle between 'Directory' and Playlist?
    By MegatronUK in forum FrodoPlayer
    Replies: 0
    Last Post: 11-18-2004, 10: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
  •