Changing 'reply to' script to use Entourage

Hello,

I’m a newbie for DTP and scripting, so could someone help me adjust the script for replying to archived emails within DTP so that it uses Entourage rather than Mail. I’ve tried simply changing the named application within the script but only get the error
“Microsoft Entourage got an error: Can’t set visible of outgoing message id 55703 to true”.

Many thanks,

Stephen