I certainly apprecite the help. After writting the last message I figured out some of what you were referring to. This is what I have now:
(Code)[import arcpy
mxd = arcpy.mapping.MapDocument("M:\\par-prod\\checking\\legal.mxd")
dfmain = arcpy.mapping.ListDataFrames(mxd, "Legal")[0]
dfsec = arcpy.mapping.ListDataFrames(mxd, "section")[0]
dftown = arcpy.mapping.ListDataFrames(mxd, "township")[0]
lyrmain = arcpy.mapping.ListLayers(mxd, "GCDB*", dfmain)[0]
lyrsec = arcpy.mapping.ListLayers(mxd, "GCDB*", dfsec)[0]
lyrtown = arcpy.mapping.ListLayers(mxd, "GCDB*", dftown)[0]
data_file = open('todo.txt', 'r')
for item in data_file:
arcpy.SelectLayerByAttribute_management(lyrsec, "NEW_SELECTION", "TOWN like '"+item[:5]+"'")
dfsec.zoomToSelectedFeatures()
arcpy.SelectLayerByAttribute_management(lyrsec, "CLEAR_SELECTION")
arcpy.SelectLayerByAttribute_management(lyrsec, "NEW_SELECTION", "TOWN = '"+item+"'")
arcpy.SelectLayerByAttribute_management(lyrtown, "NEW_SELECTION", "TOWN = '"+item+"'")
arcpy.SelectLayerByAttribute_management(lyrmain, "NEW_SELECTION", "TOWN = '"+item+"'")
dfmain.zoomToSelectedFeatures()
arcpy.SelectLayerByAttribute_management(lyrmain, "CLEAR_SELECTION")
arcpy.RefreshActiveView()
for elm in arcpy.mapping.ListLayoutElements(mxd, "Text_Element"):
if elm.name == "Date":
elm.text = 'Date: <dyn type="date" format="short"/>'
if elm.name == "Location":
elm.text = "SEC "+item[5:7]+", T"+item[:2]+"R"+item[2:5]
mxd.save
arcpy.mapping.PrintMap(mxd)]
That seems to work, but I am still having a problem. The map that I am setting up has 3 dataframes. One showing the county and a selected section showing where in the county, the second showing the township and the selected section highlighted and the third is the the main map showing that section. For the some reason the selection for the first 2 is not working because they are not highlighted (it did zoom to the correct township for the second dataframe). Also, if my list has more than one item in it (example 3) it will print 3 maps, but the first 2 maps will be the full extents of the county and not zoomed in to the correct section, but the third one prints fine. I don't understand why it is doing that. The todo.txt looks like this:
2S24E16
1N26E16
1S25E12
I am getting it but It just takes me some time. I appreciate the help that you are providing.