PDF Scripted Boundary

I have a PDF Data Mapper and want to define the boundary dynamically. Can the “PROPERTY TAX STATEMENT” string in the script below be an automation variable? How about the coordinates that define the region?

if (boundaries.find(“PROPERTY TAX STATEMENT”, region.createRegion(0,0,356,356)).found) {
boundaries.set();
}

Not sure why I decided to post before simply trying. But the answer is yes, the Boundary Script has access to automation variables:

var strDocBreak = automation.variables.DocBreakString;

if (boundaries.find(strDocBreak, region.createRegion(0,0,356,356)).found) {
boundaries.set();
}