Hi Pranav,
> Hi Ramesh and Karina....
> Thanx for the scripts....but they don't seem to work.
> I keyed in "put directoryToList(the moviePath)" in the
> message window and
> it throws back a "handler not found" error. Wot did I miss?
> :-/
You're not missing the actual Xtra by any chance? ;)
In the message window type:
put xtra("FileXtra").interface()
You should get a list of the Xtra's methods.
Also try this:
showXlib
-- XLibraries:
-- Xtra: propSave
-- Xtra: SetMouseXtra
-- Xtra: FileXtra3
-- Xtra: FileXtra
-- etc.
This gives you a list of ALL the installed xtras, including their correct
names.
If you don't have FileXtra but do have FileXtra3 then you need to use a
different syntax:
fx_FolderToList object me, string folderName
You'll need to birth it first and then discard it, like this:
pxFileXtra3 = xtra("FileXtra3").new()
fileList = pxFileXtra3.fx_FolderToList (the moviePath)
pxFileXtra3 = 0
And then do whatever you want with the file list.
if you're missing both of them, I believe FileXtra comes somewhere on the
director CD, and FileXtra3 is at: http://www.kblab.net/xtras
Karina
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]