gpt4 book ai didi

xpages - 检查预定的本地代理是否可以在 Notes 客户端中运行

转载 作者:行者123 更新时间:2023-12-04 05:50:13 25 4
gpt4 key购买 nike

我在 XPiNC 中有一种方法(你可以添加那个标签)来检查 Notes 客户端中是否启用了“预定的本地代理”?或者如何在 LotusScript 代理中做到这一点。检查代理是否处于事件状态很容易,但这只是等式的一部分

最佳答案

TriggerIsEnabled NotesAgent 类的属性:

TRIGGER_AFTER_MAIL_DELIVERY (2) means "After new mail has arrived"
TRIGGER_BEFORE_MAIL_DELIVERY (6) means "Before new mail arrives"
TRIGGER_DOC_PASTED (3) means "When documents are pasted"
TRIGGER_DOC_UPDATE (5) means "After documents are created or modified"
TRIGGER_MANUAL (4) means "Action menu selection" or "Agent list selection"
TRIGGER_SERVERSTART (8) means "When the Domino server starts"
TRIGGER_NONE (0) is not used

TRIGGER_SCHEDULED (1) means "More than once a day," "Daily," "Weekly," "Monthly," or "Never"


编辑 :
This forum post suggests检查 Notes 客户端是否配置为允许运行调度代理可以这样完成:
if (Clng( Session.GetEnvironmentValue( "Preferences", True )) and &H8000000) > 0 then
msgbox "scheduled agents allowed"
end if

关于xpages - 检查预定的本地代理是否可以在 Notes 客户端中运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10151443/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com