hydroxide Posted April 7, 2008 Posted April 7, 2008 (edited) Hi, I'm trying to use LotusScript and Formula language with AutoIT using COM I get errors when I try to invoke a formula using the Evaluate method in the NotesSession class. My code is as follows Dim $s = ObjCreate("Notes.NotesSession") Dim $db = ObjCreate("Notes.NotesDatabase") Dim $vw = ObjCreate("Notes.NotesView") Dim $doc = ObjCreate("Notes.NotesDocument") $db = $s.GetDatabase("myserver/myorg", "testdb.nsf") $vw = $db.GetView("All Documents") $doc = $vw.GetFirstDocument() $fn = $s.Evaluate("@AttachmentNames", $doc) The error I get is "Error: The requested action with this object has failed." Has anyone here tried evaulating formulae through LotusScript? Thanks in advance, Edited April 7, 2008 by hydroxide
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now