Email Alerts
-
Modify a rich text field in the UI without having to save and re-open
With this LotusScript code, you can modify any rich text fields and reflect those changes in the UI without being forced to save the document. Tip
-
Optimize performance of your LotusScript code
Ever wondered where the bottleneck is that makes you code so darn slow? With the lsTimer class below, you can easily pinpoint any time-consuming method piece of Lotus script code. Tip
-
Change view design or scheduled agent runtimes
This LSX lets you use LotusScript to set a parameter doc (NotesDocument) with view criteria (formulas, settings, columns, etc) and then build it. Tip
-
An easier way to find values for Microsoft constants
Many people write code in Excel to get a message box to reveal the constant's value, but there is an easier way. Tip
-
Quickly parse URL parameters
Tired of cutting out ParentUNID and Count Start when submitting a page from browsers? This function makes a list of parameters and their corresponding values, if any. Tip
-
How to fake a relational database within Notes
Save new values in the QueryClose event to a new doc, and then you can use an agent to fetch and update appropriate "dependent" docs, like you would in a relations database. Tip
-
Speed up exports to Excel
Use this code to speed up exports to Excel by using the clipboard and pasting the results to Excel, rather than dealing with each cell. Tip
-
A better way to track field changes
If you really to ensure fields have changed, and in an easy way, don't use computed fields to display -- just use LotusScript. Tip
-
Print all attachments using shellExecute in Windows
This script prints all attachments on a Notes doc's Body field. You do not need to know the attachment names ahead of time, or the app that needs to be invoked to print them. Tip
-
Scott Lemieux on Java vs. LotusScript
In this final of a four-part series, Scott Lemieux weighs in on the dev forum question, "What are the advantages & disadvantages of writing a Java agent over a LotusScript agent?" Tip