path to castLibs
filename castLibs

I use this one so often, I even have several entry points to make 
up for my most frequent typos...

on listLibs mode
  set LpLibs = [:]
  set Lib_Anz=the number of CastLibs
  repeat with index = 1 to Lib_Anz
    set fn= the filename of castlib index
    addProp LpLibs,symbol(the name of Castlib index),fn
    if mode <> #silent then 
      -- you might want to add some formatting here
      -- (which I stripped before posting)
      put index && (the name of Castlib index) && fn
    end if    
  end repeat
  return LpLibs

Home shock + cgi Bits 'n pieces Director Lingo Shocklets Contact