At 02:09 PM 9/23/2011, Ajay Sanghvi wrote:

I need help understanding using the FILTER parameter in the
LoadFileNamePlus.RBL plugin. I am using the following command
but the resulting window is not filtering the file listing.
It is displaying the whole directory.

PLUGINS LoadFileNamePlus.rbl vfilename  +
|FULLPATH on  +
|TITLE search FOR gc file  +
|VIEW_MODE details  +
|INITIAL_DIR r:\  +
|FILTER *.raw  +
|MULTISELECT off

Ajay,

Here is an example that you can customize for your code:

-- Example:
-- Using LoadFileNamePlus.RBL to filter and select file
CLS
SET VAR vResult TEXT = NULL
PLUGIN LoadFileNamePlus.RBL 'vResult +
|MULTISELECT OFF +
|TITLE Select Text File +
|NO_CHANGE_DIR ON +
|VIEW_MODE LIST +
|FILTER TXT Files (*.txt)#*.txt'
RETURN

-- Notice the entire string embedded with single quotes.

Hope that helps!

Very Best R:egards,

Razzak.

Reply via email to