Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create a new mail in Lotus Notes w ith AppleScript



Title: Re: How to create a new mail in Lotus Notes w ith AppleScript
on 4/07/2006 1:57 AM, 陈浩 at email@hidden wrote:

Dear all,
  I need to write an AppleScript to create new mail,attach a document,and let user edit it.
I use composedocument to create a document,but I donnot know how to fill its parameters. The definition of composedocument for NotesUiWorkspace object is:
  ComposeDocument([server][,file][,form])  If call this method as:
  ComposeDocumnet("","","Memo"),it will create a new mail directly. But in the applescript,
how to call it with these three parameters?
 
  Thanks in advance!
 
  Horky
  2006-7-3

tell application "Notes"
    composedocument {"", "", "Memo"}
end tell

but it doesn’t work. I can’t seem to specify the database, so the mail db must be active when the script is run and even then I can’t specify the form; I get a list of available forms instead. It appears that the arguments are spurious.

--
Dave
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >How to create a new mail in Lotus Notes w ith AppleScript (From: "陈浩" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.