Start applications using @command({execute})and parameters

Usually the syntax is: @Command( [Execute] ; application ; filename )

Usually the syntax is:

@Command( [Execute] ; application ; filename )

Notes does not find the application if a parameter is used. To start an application using a parameter this parameter must be set before the filename.

Example: Start a new Winword document using a special Template (/t) As shortcut in Windows can be used c:\PROG\OFFICE97\winword.exe /t"C:\Data\Templates\letter.dot"

As formula for a button you can use:

program:="C:\\PROG\\OFFICE97\\winword.exe";
parameter:= "/t";
name:="C:\\Data\\Templates\\letter.dot";
blank:=@Char(34);
filename:=parameter+blank+name+blank;
@Command([Execute];program;filename)
**************
This was first published in April 2002

Dig deeper on Domino Resources

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.uk

Close