We have not exposed access to the overlay creator controls via scripting interfaces. Any responses you see elsewhere are using unpublished mechanisms that we do not support in any way.
Having said that, I'm definitely interested in exposing a supported way of doing this. Would you mind sharing your scenario? If you don't want to post it in this thread, send me a private message. Thanks!
Neil
North America
Europe, Middle East and Africa
Asia Pacific