LotusScript to Recompile LotusScript in a Database

Is there a way to Recompile LotusScript in a Database via LotusScript?
Michael WilliamsApplication DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sjef BosmanGroupware ConsultantCommented:
Why would you want to do that? Or do you also modify your design through LotusScript? AFAIK there is no direct way to recompile LotusScript, and I don't even know if the server has a compiler, assuming that you want a background agent to recompile everything.

You could try in a foreground agent, using the keyboard library, sending keystrokes to Notes.
You could also try to find something in the C API...
Michael WilliamsApplication DeveloperAuthor Commented:
I wanted to see if it's possible because we have an elevation process for 11 databases. A part of this process is to recompile all LotusScript. Right now it is manual. Wanted to see if this was one of the steps I could put a part of a single action that will be performing a number of the current manual steps.
Sjef BosmanGroupware ConsultantCommented:
Ah, got it. It might not be impossible to do it using keyboard strokes. See https://www.openntf.org/main.nsf/project.xsp?r=project/LotusScript%20Gold%20Collection and then the SendKey.lss library.

And how about the TeamStudio suite?
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

Michael WilliamsApplication DeveloperAuthor Commented:
We have CIAO, Configurator and Delta however I do not believe we are going to purchase any additional licenses. I believe Build Manager has a feature to recompile LotusScript.

I will look at the Link you sent.
Michael WilliamsApplication DeveloperAuthor Commented:
I found the following Code and it appears to be working. It calls NSFNoteLSCompile to recompile LS of a specific Design Note.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Michael WilliamsApplication DeveloperAuthor Commented:
Link provided has sample code from Julian Robichaux.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.