• Erstellung von Replik-IDs mittels @Text-Funktion
    @Text( @Now; "*" )
    Source
  • NoPersist option in SetProfileField/GetProfileField:
    @SetProfileField([NoPersist];"Value to store";@Username)

    This is a neat flag used to set variables in a virtual profile document - it doesn't really exist. It's kind of like an environment variable, except instead of writing to Notes.ini, you're writing to a temporary client session cache. This only works in the UI between windows in the same database for the life of the current session. Each database has its own NoPersist cache on the Notes client, so unlike environment variables, this will only work in the same database.
    Source

  • Undocumented DOM LotusScript Inventory:
    Here's an inventory of LotusScript COM/OLE classes holding undocumented properties and methods. I compiled it using Notes/Domino release 7 type library. OMT notation is used for brevity...
  • Befehl, um die Namen über den Browser aus dem Adreßbuch zu holen:
    @DbCommand("Domino";["LoadAddressListByIndex" | "LoadAddressListByName"];"names.nsf"; txtTargetField; strMax; [strIndex | strKey])
  • the LoadAddressListbyIndex command to work was the ($PeopleGroupsFlat) view to be included in my database
  • Stellt Informationen aus der aktuellen Arbeitsumgebung bereit:
    @LocationGetInfo([HomeServer])
    @LocationGetInfo([CatalogServer])
    @LocationGetInfo([SametimeServer])
    @LocationGetInfo([NamePreference])
    @LocationGetInfo([MailProtocol])
    @LocationGetInfo([WebRetriever])
    @LocationGetInfo([BookmarksFileName])
    @LocationGetInfo([InternetMailAddress])
    @LocationGetInfo([AreaCode])
    @LocationGetInfo([**Feldname***]) Einfach mal andere Feldnamen probieren... ;-)
  • Codiert eine URL, so dass auch Sonderzeichen/Umlaute/reservierte Zeichen genutzt werden können, siehe auch escape()-Funktion in JavaScript:
    @URLEncode
  • Stellt Einträge aus der Registry zur Verfügung:
    @RegQueryValue("HKEY_LOCAL_MACHINE"; "SOFTWARE\\Network Associates\\TVD\\Shared Components\\VirusScan Engine\\4.0.xx\\"; "szDatVersion")
  • Zeigt den Dialog zum Öffnen einer Datenbank: Quelle
    @Prompt([ChooseDatabase]; ""; ""; ""; "")
    Rückgabe-Liste: ServerName : FileName/Path : DatabaseTitle
  • Zeigt den Dialog zum Öffnen einer Datenbank in LotusScript: Quelle
    variant = notesUIWorkspace.Prompt( type%, title$, prompt$ [, default ] [, values ] )
    type% = 13 benutzen
    Rückgabe-Liste: s.o.
  • Zeigt den Dialog zum Öffnen einer Datei:
    @Prompt([LOCALBROWSE]; "Title"; "Text")
  • Undocumented LotusScript from DominoUpdate Journal:
    Dim s As New NotesSession
    Dim db As NotesDatabase
    Set db = s.CurrentDatabase
    If (db Is Nothing) Then
    Exit Sub
    End If
    Dim flds As Variant, x As Integer, fldList As String
    flds = db.GetFields(False)
    For x = 0 To Ubound(flds)
    fldList = fldList + flds(x) + Chr(13)
    Next x
    Msgbox fldList, 0, db.Title + " fields"

    db.RetrievePOP3MAIL("server address",port,"username","password",(True/False to retain mail), (True/False to use SSL))

    Db.CreateNewsGroup("group name")

    Dim s As New NotesSession
    Dim db As NotesDatabase
    Set db = s.CurrentDatabase
    If (db Is Nothing) Then
    Exit Sub
    End If
    Dim dc As NotesDocumentCollection
    Dim doc As NotesDocument, gid As String, html As String
    Set dc = db.AllDocuments
    For x = 1 To dc.Count
    Set doc = dc.GetNthDocument(x)
    gid = doc.GenerateMessageID
    html = doc.GenerateHTMLString
    Next x

    Dim s As New NotesSession
    Dim idom As String, ihost As String, win As Variant, cr As String
    cr = Chr(13)
    idom = "Internet Domain: " + s.InternetDomainName
    ihost = "Internet Host: " + s.InternetHostName
    Set win = s.GetWin32Domain
    Msgbox idom + cr + ihost + cr + "Win32 Domain: " + win.ServerName, 0, "Example 3"
    Call s.Close()

    Dim uiw As New NotesUIWorkspace
    Dim uidoc As NotesUIDocument
    Set uidoc = uiw.CurrentDocument
    Print uidoc.ParentViewName

    Dim uiw As New NotesUIWorkspace
    Call uiw.AddDatabaseToPortfolio()
    Call uiw.AddBookmark("Example 5")

    Dim s As New NotesSession
    Dim db As NotesDatabase
    Set db = s.CurrentDatabase
    If (db Is Nothing) Then
    Exit Sub
    End If
    Dim dc As NotesDocumentCollection
    Dim doc As NotesDocument
    Dim item As NotesItem
    Dim pt As Variant, html As String
    Set dc = db.AllDocuments
    For x = 1 To dc.Count
    Set doc = dc.GetNthDocument(x)
    Set item = doc.GetFirstItem("combo")
    pt = item.PartialText
    Next x

    Dim s As New NotesSession
    Dim db As NotesDatabase
    Set db = s.CurrentDatabase
    Dim dc As NotesDocumentCollection
    Dim doc As NotesDocument, temp As NotesDocument
    Dim rt As NotesRichTextItem
    Dim pt As Variant, html As String
    Set dc = db.AllDocuments
    Set temp = dc.GetFirstDocument
    For x = 1 To dc.Count
    Set doc = dc.GetNthDocument(x)
    Set rt = doc.GetFirstItem("Body")
    pt = rt.PartialText
    Call rt.AddLinkByIDS(db.ReplicaID, "","",temp.UniversalID)
    Call doc.Save(False, False)
    Next x
    Quelle
  • Es gibt in R5 und R6 einen pracktischen undokumentierten Formalsprachebefehl:
    list:=@GetMembers(List;Pos[;Anzahl])
    Der Befehl holt aus einer Liste ein oder mehrere Elemente ab der stelle Pos. Wenn die Anzahl weggelassen wird, wird ein Element geholt.
    Quelle
  • Sent by Jim Fricker (10.10.2008):
    • @LocationGetInfo([AbbreviatedName])
      @LocationGetInfo([FullName])
      @LocationGetInfo([UNID])
    • @AddBusyTime(|text; text; date)
    • @FindFreeTime(|text; text; date; number)
    • @MailConfirmPreference
    • @MailFoldersPreference
    • @LocationGetOSTZ
      @LocationGetTZ(|variant)
      @LocationGetTZ
    • @CharSetInfo([Charsets])
      @CharSetInfo([Encoding])
      @CharSetInfo([DefaultCharset])
    • @AdminPerformAction(|date; [variant])
      @AdminCreateRequest(|date; [variant])
      DeleteUser
      DeleteGroup
      DeleteServer
    • @URLSubmit(|number)
      @URLSubmit
    • @NetAccount([DeleteNTUser])
      @NetAccount([IsNetworkAdmin])
    • @FindFreeResource(|text; text; text; text; [variant])
      InGMT
      InLocalTime
    • @DbUnreadCount(|text)
    • @OpenCalendar(|date; [variant])
      Group
      Individual
    • @X509Certificates(|date; text; [variant])
      DeleteX509Cert
    • @MailFilterAddToFolder(|text)
    • @AccountGetInfo(|text; text)
    • @AdminDelegateMailFile(|number; text; text; text; text; text; text; text; text; text; text; text; text; text; text; text; text)
    • @BitAnd(|[number])
      @BitOr(|[number])
      @BitXor(|[number])
      @BitNot(|number)
      @BitShift(|number; number)
    • @GetMembers(|variant; number; number)
    • @AddBookmark(
    • @UpdateViewDesign(|text)
    • @ExpandNameList(|text; text)
    • @CRLList(|[keyword]; fieldname; start at; max return)
      IssuedBy
      ThisUpdate
      ThisNext
      RevokedDate
      RevokedSerialNumber
    • @DbAdminServer
    • @IsDbPrimaryAB
    • @IsSoftDeleteEnabled
    • @GetSoftDeleteExpireTime
    • @SetSoftDeleteExpireTime(|number)
    • @CertBlobPack(|blob item name; blob type; prefix; number)
      @CertBlobUnpack(|blob item name; blob type; prefix; number)
    • @IsXACLEnabled
    • @MailFilterStopProcessing
    • @DbBuildVersion
    • @CRL(|[Export]; fileName)
    • @RecoverIDFile(|[keyword]; backupfilename; recoveredfilename; newpassword)
    • @WhichFolders
    • @ShowParentPreview
    • @ManageECL(|server : database)

    Habt Ihr weitere undokumentierte @Function- oder LotusScript-Formeln?
    Bitte sendet sie mir zu, damit ich sie veröffentlichen kann...

Undokumentierte @Formeln/LotusScript im Lotus Notes Client/Server的更多相关文章

  1. 使用LotusScript操作Lotus Notes RTF域

    Lotus Notes RTF域的功能也非常强大,除了支持普通的文本以外,还支持图片.表格.嵌入对象.Http 链接.Notes 链接.附件等等众多的类型.本文将介绍如何使用这些类来灵活操作富文本域. ...

  2. Lotus Notes 学习笔记

    这是一个学习关于如何使用Lotus Notes的Agent功能来实现自动化办公的学习笔记. 一. 介绍 Lotus Notes/Domino 是一个世界领先的企业级通讯.协同工作及Internet/I ...

  3. Lotus Notes中编程发送邮件(二)

    在编程发送各种类似通知的邮件时,时常会需要发件人显示为某个特定的帐户,比如某个部门的名称或者管理员的名字.另一种需求是,用户收到某封邮件后,回复邮件的地址不同于发件人栏显示的地址.而正常情况下,发送邮 ...

  4. C# Windows Service调用IBM Lotus Notes发送邮件

    近日研究了下IBM Lotus Mail,这货果然是麻烦,由于公司策略,没有开放smtp,很多系统邮件都没有办法发送,于是入手google学习Lotus Mail,想做成Windows服务,提供wcf ...

  5. 46. Lotus Notes中编程发送邮件(一)

    邮件是Lotus Notes体系的核心和基本功能,以至于Send()是NotesDocument的一个方法,任何一个文档都可以被发送出去,Notes里的一封邮件也只是一个有一些特殊字段的文档.在程序开 ...

  6. 52. 模版和设计元素——Lotus Notes的代码重用

    不论是理论上还是实用上,代码重用都是编程的一个重要议题.可以从两个角度来讨论代码重用. 一是逻辑上代码以怎样的方式被重用.既可以通过面向对象的思想普及以来耳熟能详的继承的方式.比如先建了一个车的基类, ...

  7. C# 使用 Lotus notes 公共邮箱发送邮件

    公司的邮件系统用的是反人类的 Lotus notes, 你敢信? 最近要实现一个功能,邮件提醒功能,就是通过自动发送提醒邮件 前前后后这个问题搞了2天,由于公司的诸多条件限制,无法直接调用到公司发送邮 ...

  8. [并发并行]_[线程模型]_[Pthread线程使用模型之三 客户端/服务端模型(Client/Server]

    Pthread线程使用模型之三 客户端/服务端模型(Client/Server) 场景 1.在客户端/服务端模型时,客户端向服务端请求一些数据集的操作. 服务端执行执行操作独立的(多进程或跨网络)– ...

  9. 深入浅出 Redis client/server交互流程

    综述 最近笔者阅读并研究redis源码,在redis客户端与服务器端交互这个内容点上,需要参考网上一些文章,但是遗憾的是发现大部分文章都断断续续的非系统性的,不能给读者此交互流程的整体把握.所以这里我 ...

随机推荐

  1. 一个使用方便的对FMDB进行封装的框架和一个可以切应用图标的应用

    框架的git地址 :https://github.com/Joker-King/JKDBModel 切割图标的应用地址 http://pan.baidu.com/s/1kVjflwr

  2. NSDate--日期格式

    日期格式: 年: y 将年份 (0-9) 显示为不带前导零的数字 yy 以带前导零的两位数字格式显示年份 yyy 以四位数字格式显示年份 yyyy 以四位数字格式显示年份 月: M 将月份显示为不带前 ...

  3. I hate it

    Description 很多学校流行一种比较的习惯.老师们很喜欢询问,从某某到某某当中,分数最高的是多少.这让很多学生很反感. 不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老 ...

  4. C++中new和malloc的区别

    原文:http://blog.163.com/ji_wei8888/blog/static/4868044620117361747282/ 1.new 是c++中的操作符,malloc是c 中的一个函 ...

  5. Repeater 使用方法

    ItemTemplate: 包含要逐一呈现给数据源中的每个数据项的 HTML 元素和控件 AlternatingItemTemplate: 包含要逐一呈现给数据源中的其他每个数据项的 HTML 元素和 ...

  6. Dojo注意

    关于插件的加载: 回调函数中的顺序,是按照插件的顺序填写的,否则就很可能会插件加载出错.

  7. C# async await 学习笔记1

    由于我的开发工具为vs.net 2010(.net 4.0),需先做以下两步才能进行: 1.下载并安装Async CTP (http://www.microsoft.com/en-us/downloa ...

  8. "产品测试管理&敏捷项目管理"研讨会在深圳成功举办!

    2016年1月9日,由深圳市共创力企业管理咨询发起的"产品测试管理&敏捷项目管理"研讨会在深圳南山科技园创新谷咖啡成功举办!参加此次研讨会的企业有华为.中兴.烽火.腾讯.康 ...

  9. 泛型,存放N张图片

    (* ************************************************* 1.里面放多张图片,用文件名作为索引 2.线程在背后从硬盘加载到内存 3.批量加载 4.加载完 ...

  10. Linux下查看所有CPU核心使用率的方法

    两种方法: 1.方法一: sar -P ALL 查看历史CPU使用率: sar -f /var/log/sa/sa01 2.方法二: mpstat -P ALL