My first big question is, what kind of script IS that? It isn't AppleScript.

On or near 2/28/01 10:05 AM, Gary at [EMAIL PROTECTED] observed:

> 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
> 

-- 
Peace,
Allen Watson <[EMAIL PROTECTED]> XNS name: =Allen Watson
A Mac family since 1984 <http://home.earthlink.net/~allenwatson/>
Applescripts for Outlook Express and Entourage:
<http://homepage.mac.com/allenwatson/>


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

Reply via email to