Aaron, it worked fine for me until I impelmented the changes George
recommended below. I was trying to adapt the script to leave the return
address blank. Now I get errors too.
on 11/14/00 4:29 PM, Aaron Sills at [EMAIL PROTECTED] wrote:
> I've got George's old Envelope script to work for me opening a template file
> I've got and I also changed the envelope size to suit. I just tried the new
> PrintMultEnvelope from E to W and got the following script error:
>
> Can't make <<constant ****eHme>> into a string.
>
> Is anybody using this script successfully?
> Aaron
>
>
>
> On 15/11/00 6:00 AM, "George Clark" <[EMAIL PROTECTED]> wrote:
>
>> On 11/14/00 11:52, Keith Manley wrote:
>>
>>> How can I adapt the script �Print MultiEnvelope from E in W� for printing
>>> on stationary with pre-printed return addresses? Or where can I find such
>>> a script?
>>
>> Aaron Sills had a similar need and found that if he changed the VBA code to
>> include:
>>
>> OmitReturnAddress:=True
>>
>> ..that took care of it. To add this in Print MultiEnvelope, find this
>> section of the script:
>>
>> set vbScript to "recep = " & my Process_for_VB(theAddress)
>> set vbScript to vbScript & "retaddr = " & my
>> Process_for_VB(tempReturn)
>> set vbScript to vbScript & "ActiveDocument.Envelope.PrintOut
>> Address:=recep, _
>> ReturnAddress:=retaddr, PrintBarCode:="
>> if useBarcode is "Yes" then
>> set vbScript to vbScript & "True"
>> else
>> set vbScript to vbScript & "False"
>> end if
>>
>> Change the line:
>>
>> set vbScript to vbScript & "ActiveDocument.Envelope.PrintOut
>> Address:=recep, _
>> ReturnAddress:=retaddr, PrintBarCode:="
>>
>> to be:
>>
>> set vbScript to vbScript & "ActiveDocument.Envelope.PrintOut
>> Address:=recep, _
>> OmitReturnAddress:=True, PrintBarCode:="
>>
>>
>> That should do it.
>>
>> George
>
>
> --
> To unsubscribe: <mailto:[EMAIL PROTECTED]>
> To search the archives:
> <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
--
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
To search the archives:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>