Announcement

Collapse
No announcement yet.

Can get the cmd ONDLPOSCHANGE after BROWSE and BACK?

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

  • 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, 04:23 PM.
    RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
    RR-Plugin: IBusCommunicatoRR new Updates

  • #2
    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

    Comment


    • #3
      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

      Comment


      • #4
        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

        Comment


        • #5
          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

          Comment


          • #6
            cool thx. i try it in the afternoon.
            RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
            RR-Plugin: IBusCommunicatoRR new Updates

            Comment


            • #7
              Great Thx for the optimized ONDLPOSCHANGE event
              RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
              RR-Plugin: IBusCommunicatoRR new Updates

              Comment

              Working...
              X