Announcement

Collapse
No announcement yet.

Problem /w SD Dir List properties (PATH)

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

  • Problem /w SD Dir List properties (PATH)

    Hi to all who can help me.

    In RR.INI my picspath=C:\PICS\

    Here some extracts:

    menu.skin -->
    B03,640,100,150,70,"PICS","" ..........which loads

    picviewer.skin -->
    SD,00,01,00,00,"c:\plan\","*.*",true
    S01,510,100,190,380,255,000,000,000,000,000,255,00 0,000,255,255,255,000,000,000,255,255,255,TRUE,14, "Arial:B"

    J01,010,100,480,380,"PICTURE:A"

    What does not work is browsing in "c:\plan\" or
    filtering by file-extension, e.g. *.jpg
    What works is the true/false term in the above SD-command

    Thanks

  • #2
    picviewer.skin is ruled by rr.ini variable "picspath"

    Either set the "picspath" variable to your picture directory or add a "SETPATH" command after you load picviewer.skin

    i.e.
    PICS||SETPATH;<your dir path>

    If you want to filter only one file type (i.e. *.jpg only), just create another custom picviewing skin w/ the properties you already provided.


    From Skin Commands.txt
    /, (SD) Directory List Properties -- (May be Extended later)
    /,
    /, a Disp w h Path Files ShowExt
    /, -- ---- ---- ---- ---- --------- ---------
    SD,AA,MODE,ICOW,ICOH[[[,PATH],FILETYPES],EXTENSION]

    The above defines extra propperties for the folder List on the current skin.
    AA is the Alignment of the Directory List (00=Left, 01=Right, 02=Center).
    Disp Mode sets the mode of display (00=Normal List, 01=Thumb Preview Icon List, 02=Thumb Preview Icons).
    Note: iLists require that you set Disp Mode to 03
    ICOW defines the Width of the Icon to display on display modes 1 and 2.
    ICOH defines the Height of the Icon to display on display modes 1 and 2.
    PATH defines the Directory/Folder location to display initially (OPTIONAL). If not present the path
    from the previous screen is used. Use "DEFAULT" for default path when needed. USE QUOTES.
    FILETYPES defines which filetypes to display. i.e. ".jpg,.bmp,.gif" -- "*.*" can be used for all files.
    EXTENSION defines if file extensions should be displayed. TRUE for displaying extension, FALSE otherwise.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

    Comment


    • #3
      picviewer.skin overrides the path and files you specify in the SD definition -- exactly so they work from settings defined in RR.INI and so it displays "known" file types. If you do a similar thing in a different skin it will work, but you'll need to an Indicator code to display the image as the J definition won't work by default.
      Ride Runner RR's Myspace

      "Being happy is not about having what you want, it's about wanting what you have."
      "The best things in life are always free - but that doesn't mean money can't buy you good things."

      Comment


      • #4
        Originally posted by guino View Post
        picviewer.skin overrides the path and files you specify in the SD definition -- exactly so they work from settings defined in RR.INI and so it displays "known" file types. If you do a similar thing in a different skin it will work, but you'll need to an Indicator code to display the image as the J definition won't work by default.
        In addition, if you want to filter only image files in your custom picviewer dl list, use the following format for the filetypes:

        "*.jpg;*.png;*.gif;*.bmp"

        GL
        Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

        Comment


        • #5
          Thank you all

          folks

          Comment

          Working...
          X