Lotus Notes - 从“操作”按钮打开一个文件 [英] Lotus Notes - open a file from Action Button

查看:696
本文介绍了Lotus Notes - 从“操作”按钮打开一个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有机会打开位于(例如)C盘中的文件/文档(.pdf / .txt):从操作按钮?

<我在LotusScript中阅读了关于Shell函数的信息,其中您必须指定路径。



有没有其他的解决方案?

解决方案

打开一个像.pdf或.txt这样的文件,这个扩展名在Windows中与打开的程序相连,那么你只需要指定你的文件的路径即可。



将是公式:

$ $ p code命令([Execute];C:\\temp\\myFile。 pdf)

以及这个LotusScript代码:

  Dim result As Integer 
result = Shell(C:\temp\myFile.pdf,1)


Is there any chance to open a file / document ( .pdf / .txt ) that is located in (for example ) the C drive: from an action button?

I read about Shell function in LotusScript, in which you must specify the path.

Are there any other solutions?

解决方案

If you want to open a file like .pdf or .txt and this extension is connected in Windows with a program to open with then you need only to specify the filepath of your file.

This would be the formula:

@Command([Execute]; "C:\\temp\\myFile.pdf")

and this the LotusScript code:

Dim result As Integer
result = Shell("C:\temp\myFile.pdf", 1)

这篇关于Lotus Notes - 从“操作”按钮打开一个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆