iterating through documents in a script

Hello, All,

I would like to process all the study tables in a particular folder in my project. The on-line documentation shows how to do this for ALL study tables in the project


foreach my \\\$key (keys %Documents) {    my \\\$doc = \\\$Documents{\\\$key};    next unless \\\$doc->Type eq "StudyTable";    ...}

Is there a way to limit this to specific folders?

thanks,

george