On 7/12/04 11:01 am, "Scott Haneda" <[EMAIL PROTECTED]> wrote:
> on 12/7/04 12:34 AM, Paul Berkowitz at [EMAIL PROTECTED] wrote: > >> OK. How far have you got on your own? What code have you come up with so >> far? > > I ended up with this, which is perhaps better since I would not ever use a > real signature in E-rage, so hard coded is cleaner, suggestions appreciated: > > set theBody to "I have added a new image to my photoblog, please take a look:" > & return & "----> <http://www.photoxicated.com/>" & return & return & "--" & > return & ":: p h o t o x i c a t e d . c o m ::" & return & "Scott Haneda" & > return & "<[EMAIL PROTECTED]>" Note that the standard signature separator is "-- " (dash, dash, space), not "--" as you have it. > > tell application "Microsoft Entourage" > set MyMessage to make new draft window with properties � > {recipient:"photoxicated.com", subject:":: p h o t o x i c a t e d .c > o m :: photoblog update", content:theBody} > end tell That will work. If you did want to use a signature (which is better, IMHO), you just add to the property list: {..., signature type: other, other signature choice: signature "xyz"} Where "xyz" is the name of the signature you have created, _not_ the text of the signature. The property you tried to use 'signature type' is the _type_ of signature - i.e. 'none' (no signature), 'Random' (choose a random signature) or 'other' (one that you can then declare) > > Also, what is the best way to add real returns to the long theBody string and > not get leading spaces when it is inserted? ??? I don't understand the question. 'Real returns' are what you just added (return & return & return...). Where are you getting the leading spaces? -- Barry Wainwright Microsoft MVP (see http://mvp.support.microsoft.com for details) Seen the All-New Entourage Help Pages? - Check them out: <http://www.entourage.mvps.org/> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> archives: <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/> old-archive: <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
