Bob,

I think PlusPlus is in the Power pack.

Jan
 


-----Original Message-----
From: [email protected]
To: [email protected] (RBASE-L Mailing List)
Date: Wed, 15 Sep 2010 19:58:15 +0000 (UTC)
Subject: [RBASE-L] - Re: Load File Name plugin


Thanks!  I will need to look into getting the newer plug ins.
 
-Bob




----- Original Message -----
From: "A. Razzak Memon" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Wednesday, September 15, 2010 1:10:41 PM
Subject: [RBASE-L] - Re: Load File Name plugin

At 11:48 AM 9/15/2010, [email protected] wrote:

>Is there a parameter to sort the file listing in either of
>the load file name plugins. I need to list files in particular
>folder, in detail view mode, sorted by the modified date in
>decending order. (Most recent file down to the oldest file)
>
>I can do all the above but the sort order and I do not see an
>option in the PDF user file.  However, sometimes there are
>undocumented options so I thought I would ask. (I know the
>user can sort by clicking on the title block, but it would be
>very nice to have it pre-sorted. )

Bob,

First, what version and build of Plugin are you using?

If you are using the latest version of Plugins, use the
un-documented "SORT_FILES" option to achieve your goal.

Here's how:

-- Example 01
-- LoadFileNamePlusPlus_SortByName.RMD
-- A. Razzak Memon
-- 10-10-2010 10:10:10 AM
    CLS
    PLUGIN LoadFileNamePlusPlus.RBL 'vResult +
    |MULTISELECT ON +
    |TITLE Select File +
    |VIEW_MODE DETAILS +
    |SORT_FILES BY_NAME +
    |FILTER MS Word Files (*.rtf, *.doc, *.docx)#*.rtf;*.doc;*.docx'
    RETURN

-- Example 02
-- LoadFileNamePlusPlus_SortBySize.RMD
-- A. Razzak Memon
-- 10-10-2010 10:10:10 AM
    CLS
    PLUGIN LoadFileNamePlusPlus.RBL 'vResult +
    |MULTISELECT ON +
    |TITLE Select File +
    |VIEW_MODE DETAILS +
    |SORT_FILES BY_SIZE +
    |FILTER MS Word Files (*.rtf, *.doc, *.docx)#*.rtf;*.doc;*.docx'
    RETURN

-- Example 03
-- LoadFileNamePlusPlus_SortByType.RMD
-- A. Razzak Memon
-- 10-10-2010 10:10:10 AM
    CLS
    PLUGIN LoadFileNamePlusPlus.RBL 'vResult +
    |MULTISELECT ON +
    |TITLE Select File +
    |VIEW_MODE DETAILS +
    |SORT_FILES BY_TYPE +
    |FILTER MS Word Files (*.rtf, *.doc, *.docx)#*.rtf;*.doc;*.docx'
    RETURN

-- Example 04
-- LoadFileNamePlusPlus_SortByModified.RMD
-- A. Razzak Memon
-- 10-10-2010 10:10:10 AM
    CLS
    PLUGIN LoadFileNamePlusPlus.RBL 'vResult +
    |MULTISELECT ON +
    |TITLE Select File +
    |VIEW_MODE DETAILS +
    |SORT_FILES BY_MODIFIED +
    |FILTER MS Word Files (*.rtf, *.doc, *.docx)#*.rtf;*.doc;*.docx'
    RETURN

-- Example 05
-- LoadFileNamePlusPlus_SortByAttributes.RMD
-- A. Razzak Memon
-- 10-10-2010 10:10:10 AM
    CLS
    PLUGIN LoadFileNamePlusPlus.RBL 'vResult +
    |MULTISELECT ON +
    |TITLE Select File +
    |VIEW_MODE DETAILS +
    |SORT_FILES BY_ATTRIBUTES +
    |FILTER MS Word Files (*.rtf, *.doc, *.docx)#*.rtf;*.doc;*.docx'
    RETURN

{Resulting Variables
  vResult            = OK                                  TEXT
  vLFNFileCount      = 1                                   INTEGER
  vLFNFileName1      = C:\RBTI\RBG90_64\Tutorial.docx &nbs p;    TEXT
  vLFNFilePath1      = C:\RBTI\RBG90_64\                   TEXT
  vLFNFileNameS1     = Tutorial.docx                       TEXT
  vLFNFileExt1       = .docx                               TEXT
  vLFNFileDT1        = 10/10/2010 10:10:10 AM              TEXT
  vLFNFileSize1      = 7745873
}

Very Best R:egards,

Razzak.

Reply via email to