Hi Pranav,

property pMovie
on getPropertyDescriptionList me
  pdList = [:]
  listofFiles = directoryToList(the moviePath)
  repeat with x in directoryToList(the moviePath)
    if not(x contains ".dir") then
      listofFiles.deleteOne(x)
    end if
  end repeat
  pdList.addprop(#pMovie, [#comment:"Choose a Movie", #format:#movie,
#default:"", #range:listOfFiles])
  return pdList
end

>I would like to get file names of all movies in the current folder to be
>used in the GPDL box.

----------------------------------------------------------
Ramesh CT
Phoenix Global Solutions (I) Pvt Ltd
http://www.lingoman.net/
----------------------------------------------------------



[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!]

Reply via email to