Results 1 to 7 of 7

Thread: Can get the cmd ONDLPOSCHANGE after BROWSE and BACK?

  1. #1
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    380

    Can get the cmd ONDLPOSCHANGE after BROWSE and BACK?

    Hi

    Is it possible to get the cmd ONDLPOSCHANGE after BROWSE and BACK when the new directory/path was browsed?

    I think browse and back is also an event for ONDLPOSCHANGE.

    Why i'd like to get this?
    Because i use this cmd for my plugin RRm3uCreator and want set the icon of a button. To get a dynamic button.
    Cases in Directorylist are:
    File = the plugin sets a var for button icon, which shows to add these files to playlist
    Folder = the plugin sets a var for button icon, which shows to browse the directory
    .. = the plugin sets a var for button icon which, shows to go back the directory

    The issues exist with browse and back
    if the browsed folder after BROWSE is empty, the selected value is ".." my button stays on browsefolder icon
    if i want go back with BACK, the directory jumps back. my button would stay on back icon. but i added a workaround where the plugin sets the icon after BACK cmd to browse icon.

    Or exist an other command, when the target folder is reached?
    Last edited by harryberlin; 02-14-2014 at 03:23 PM.

  2. #2
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,255
    i can add that event to "back" and "browse" but its not as simple as you think
    and off the bat the events would be duped, when you click on a folder, and click on ".."
    so some thought has to be put in to this
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  3. #3
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,255
    also "browse" will generate this event if the position truly changes

    ie, try the 2nd folder down from the "..", and use the "browse" command, you will see event

    as 2 <> 1 and that will generate that event...

    if you use the 1st folder (below a ".."), and do the "browse" command
    you wont get an event
    as 1 == 1

    it could be argued that's a bug, but has no simple fix
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  4. #4
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,255
    ok, I have a solution, I completely rewrote ONDLPOSCHANGE (simplified actually)
    should do the other ON position changes
    but, this needs some testing
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  5. #5
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,255
    new installer on my ftp
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  6. #6
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    380
    cool thx. i try it in the afternoon.

  7. #7
    Variable Bitrate
    Join Date
    Sep 2012
    Location
    Germany - Munich
    Posts
    380
    Great Thx for the optimized ONDLPOSCHANGE event

Similar Threads

  1. Browse by A, B, C, ..., Z
    By NoTicketsPlease in forum Road Runner
    Replies: 7
    Last Post: 05-07-2006, 03:43 PM
  2. How do you browse this forum?
    By MaleBuffy in forum Off Topic
    Replies: 8
    Last Post: 05-25-2005, 03:42 PM
  3. Can't browse music
    By garo in forum Road Runner
    Replies: 8
    Last Post: 02-04-2005, 12:10 PM
  4. Browse USB...
    By yokeren in forum MediaCar
    Replies: 4
    Last Post: 10-29-2004, 08:07 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
  •