I'm setting up a Data Driven Pages mapbook mxd for a series of parking locations. I have dynamic text that updates according to the current map sheet, but I also have text that needs to update using a script. I need the dynamic text to return the LotType attribute, but it is coded using a domain, so it returns an integer rather than the string associated with the integer (such as "Special Permit", "Fac/Staff", "Metered", etc). I have a VBscript from an old MPS Atlas MXD that returns the associated string, but I don't know of any way to use a script with non-MPS Atlas dynamic text. Is it possible to embed a python script into the MXD that runs whenever the user changes pages in the map book? Or is there a way to include scripts within the core Arc10 dynamic text?