Has “Open Application” window (Ctrl+O) the equivalent in the lotus script? I need to select the database to chnage its properties - is it possible ?
Cheers,
Marcin
Has “Open Application” window (Ctrl+O) the equivalent in the lotus script? I need to select the database to chnage its properties - is it possible ?
Cheers,
Marcin
Subject: NotesUIWorkspace
I believe you can use the OpenFileDialog method of the NotesUIWorkspace. By specifying filters$ and the initialDirectory$ you should be able to present a list of Notes Databases.
You can also use the Prompt method of NotesUIWorkspace, one of the options is PROMPT_OKCANCELLIST and you can derive a list of databases from the Catalog.
And since I’m stuck in R7 there may be others in R8.x
Finally, review the @Commands reference in the Designer Help, especially the commands which start with “File”. If you find an appropriate command you can execute the @Command inside an Evaluate statement in LotusScript.
Hope this helps/
Subject: try this
dim uiwork as new notesuiworkspacedim getdb as variant
getDb = uiwork.prompt(13,“”,“”)
This returns an array as follows:
getDb(0) Server (null is local)
getDb(1) Filename
getDb(2) Database title
Subject: thanks Debbie!
I was looking for this a while back and never figured out a way to do it. I wonder when they added PROMPT_CHOOSEDATABASE to NotesUIWorkspace.Prompt. ![]()