Jump to content
Sign in to follow this  

LotusScript + Formula Help with AutoIT

Recommended Posts


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

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...