Manage Learn to apply best practices and optimize your operations.

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)
**************

Dig Deeper on Domino Resources

SearchWindowsServer

Search400

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury

SearchDataCenter

SearchContentManagement

Close