query a field within a given boundary - script help

Discussion created by jessclarke on Jan 6, 2013
Latest reply on Jan 8, 2013 by jessclarke

I'm looking to query a shapefile with a field query, and a known boundary box.
My algorithm is a bit like this:

open shapefile,
select bounding box area,
query the bounding box area with a given string (ie FIELD in (value1, value2')) -- I originally thought there might be a filter method?
print the locations of the features found and/or a number of features found

I am not quite sure which functions are appropriate for this task. I'm not terribly familiar with the tools and lingo, so searching via google is a bit hit and miss.

Could someone please point me in the right direction.