This script, created in Script Editor, runs perfectly from there and from
Smile.

However, it will NOT run when placed in Entourage Script Menu Items folder,
nor will it run from OSA Menu. (Error is "Application is not responding.")

Will the Entourage menu only "take" AppleScript, not OSA in general?
Any ides why OSA Menu wouldn't do it?

/* the script */
var rage = MacOS.appBySignature("OPIM");

// we are required to use a property called "recipient" to
// specify the recipients of a new message but the
// recipient property is not declared as a property in the
// dictionary -- it's declared as a class,
// so override Entourage dictionary 'error'

rage._strict = false; // do the override, to ignore discreprancy

rage.activate();
var message = rage.make(rage._types.outgoing_message,
            null, null, // form entourage expected record
            {subject:"Gary's Test",
            content:"Here is the text of my test message",
            recipient:[{address:"[EMAIL PROTECTED]", display_name:"Gary"},
            {address:"[EMAIL PROTECTED]"}]});
/* end */



Thanks, Gary


-- 
To unsubscribe:               <mailto:[EMAIL PROTECTED]>
To search the archives: 
          <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to