First of all, I'm an expect newbie. I wrote an expect (tcl) script a while back to hide prompts for user passwords when a user is not configured for scp on the box I'm trying to scp to. My origin...
http://www.experts-exchange.com/Programming/Languages/Scripting/TCL/Q_23354892.html