FORMULA LANGUAGE


AttachmentLaunch @Command
Example

Launches the selected attachment by opening the application in which it was created, if possible.

Syntax

@Command( [AttachmentLaunch] )

Usage


This @command does not work in Web applications. If a rich-text field on a form contains an attachment on the Web and you click the attachment's icon, Notes either launches the attachment (TXT files, for example) or prompts the user to detach the file by saving it to disk (NSF files, for example).

This @command does not work when used in a hotspot button. The hotspot button takes focus away from the attachment that must be selected to be launched. Use in an action button instead.

If the user's machine does not have the program that runs the attachment being launched, the following error is generated, "Sorry, an application to open this document cannot be found."

Language cross-reference

Shell function of LotusScript language

Example
See Also