用于存档所选(电子邮件)文档的 Notes 工具栏按钮

发布于 2024-12-02 17:16:18 字数 128 浏览 0 评论 0原文

您可以使用菜单“操作”>“立即存档电子邮件”。存档>存档选定的文档。 如何创建一个可以单击来执行上述操作的工具栏按钮?

我已经创建了工具栏按钮来将文档移动到文件夹,因此我对创建输入公式语言命令的按钮的过程比较熟悉。

You can archive e-mails immediately by using the menu, Actions > Archive > Archive Selected Documents.
How can I create a toolbar button that I can click which will perform the above action?

I've already created toolbar buttons to move documents to folders so I'm semi-familiar with the process of creating a button entering formula language commands.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

国际总奸 2024-12-09 17:16:18

不确定你的问题是什么,但尝试一下。所以您想将逻辑放在“工具栏”中,以便可以在任何数据库上运行它,对吧?您必须能够致电负责这项工作的代理。好吧,如果您对邮件文件执行此操作,您实际上可以调用该命令

@Command([ToolsRunMacro];"Archive\\Archive Selected Documents");

您将需要双反斜杠,因为它是保存后的“转义”。

但如果您想尝试将此方法应用于任何数据库,那么您就会遇到麻烦。

工具栏以一种非常草率的方式寻找您想要运行的代理。因为,如果您尝试从工具栏运行代理,工具栏按钮中的公式会假定您正在查看的当前视图的数据库以及带有代理的数据库。

这并不比将代理复制到您想要运行代理的每个其他数据库中更好。这就是为什么上述存档解决方案仅适用于邮件文件,因为代理在每种情况下都应该存在。

否则,您将面临到处复制所需代理的开销。为了证明这一点,进行一个简单的测试。使用以下公式创建一个工具栏按钮。

@Prompt([Ok];"Hello Notes..";@Implode(@DbName;@Char(13)));

现在打开任何数据库。请注意,提示实际上显示了当前打开的数据库的详细信息。这是尝试运行该存档代理时工具栏按钮将出现的位置。

由于无法在 Notes 公式命令中指定 @command([ToolsRunMacro]) 中的数据库位置,因此我们无法调用集中代理来完成我认为您假设的工作。

这是一个好主意,也是供应商需要解决的一个值得解决的问题,但这是 IBM 自很久以前以来从未解决过的许多问题。

Not sure what you're question is, but having a stab at it. So you want to put the logic in the "toolbar" so you can run it on any database right ? You would have to be able to call the agent that does the job. Well, if you're doing this on mail files only, you can actually call the command

@Command([ToolsRunMacro];"Archive\\Archive Selected Documents");

You'll need the double backslash as it's an "escaped" after saving.

But if you're thinking of trying this to work on any database, you're in a bit of trouble.

Toolbars have a pretty sloppy way of looking for agents you want to run. Because, if you attempt to run an agent from the toolbar, the formula in the toolbar button assumes the database of the current view you are looking at, as the database with the agent as well.

This is no better than copying the agent into every other database that you want to run the agent on. That's why the above solution for archive, only works in mail files as the agent should be there in every case.

Otherwise, you are left with the overhead of copying the required agent around everywhere. To prove the point, a simple test. Create a toolbar button with the following formula.

@Prompt([Ok];"Hello Notes..";@Implode(@DbName;@Char(13)));

Now open any database. Note that the prompt actually shows you the details of the currently open database. This is where the toolbar button will look when trying to run that archive agent.

As there is no way to specify in Notes formula command, the database location in the @command([ToolsRunMacro]), we're unable to call a centralised agent to do the job that I think you're postulating.

A good idea, and a worthwhile problem for the vendor to solve, but this is one many things IBM has never addressed since ...way to long ago.

路还长,别太狂 2024-12-09 17:16:18

我推荐名为 SWING PDF Converter 的工具。
它添加了 Lotus Notes 工具栏按钮,可以将任何 Lotus Notes 文档转换为 PDF。

它支持从视图中转换单个文档、将多个文档转换为单独的 PDF 文件、PDF 包和书签 PDF 文档。您还可以以 XML 和 CSV 格式导出数据。

I would recommend tool called SWING PDF Converter.
It add's Lotus Notes toolbar button and can convert any Lotus Notes document to PDF.

It supports single document conversion from view, multiple documents conversion as separate PDF files, PDF package and bookmarks PDF document. You can also export data in XML and CSV format.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文