在 vbscript 中取消传真

发布于 2024-09-29 09:03:39 字数 450 浏览 0 评论 0原文

我在任何地方都找不到执行此操作的方法,甚至没有提及。但是有没有一种方法可以使用传真服务器或传真文档对象以编程方式取消传真?我当前的代码看起来像这样:

Set doc=CreateObject("FaxComEx.FaxDocument")
Set server=CreateObject("FaxComEx.FaxServer")
server.Connect ""
doc.Body="c:\somefile.txt"
doc.DocumentName="test fax"
doc.Recipients.Add "1555555555555"
doc.Priority = 1
doc.ConnectedSubmit(server)

使用faxserver.faxserver 和faxserver.faxdoc 对象看起来并没有多大前途,因为我看到的唯一faxdoc 方法是Send。取消传真是不可能的吗?谢谢!

I can't find a way to do this anywhere, not even a mention of it. But is there is a way to programmatically cancel a fax using, say, a faxserver or faxdocument object? My current code looks something like this:

Set doc=CreateObject("FaxComEx.FaxDocument")
Set server=CreateObject("FaxComEx.FaxServer")
server.Connect ""
doc.Body="c:\somefile.txt"
doc.DocumentName="test fax"
doc.Recipients.Add "1555555555555"
doc.Priority = 1
doc.ConnectedSubmit(server)

Using the faxserver.faxserver and faxserver.faxdoc objects doesn't look much more promising, as the only faxdoc method I see is Send. Is canceling a fax just not possible? Thanks!

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

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

发布评论

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

评论(1

温暖的光 2024-10-06 09:03:39

FaxDocument 相关的类是 取消的">FaxOutgoingJob 方法。

我自己从未使用过它,但我认为您要做的是使用 FaxAccountFolders 对象,它是 OutgoingQueue 属性,具有 GetJobs 方法。

A related class to FaxDocument is FaxOutgoingJob that has a Cancel method.

I've never used it myself but I think that what you have to do is to use the FaxAccountFolders object and it's OutgoingQueue property which has a GetJobs method.

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