Andre Guirard hat wieder mal im Designer Wiki zugeschlagen:
Manipulating Design Elements with LotusScriptThere are many reasons you might want to write a program whose inputs (and sometimes, outputs) are Notes design elements. This article presents the basic techniques for doing this, and discusses the limitations. The examples all use LotusScript, but the same techniques can be done using Notes' Java API, if you prefer.
Example applications for these techniques might be:
* Update view selection formula to change over time (to avoid use of @Today in a view).