Reputation: 2169
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?
Upvotes: 2
Views: 6296
Reputation: 30970
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)
Upvotes: 3