Start program minimized

Command group Flag affected Reversible Execute on client Platform(s)
Operating system YES NO NO Windows,Linux

Syntax

Start program minimized {program-name}

Description

This command starts up an application as a minimized icon. The program name must be the pathname of the executable file. You can also specify the full pathname of a file, and other parameters, separated by a space from the program name. You can use this command on Windows and Linux, although on Linux the command does not minimize the application. The flag is set if the program is found.

Example

# If the program lPath exists start it minimized
Calculate lPath as 'c:\program files\windows\accessories\wordpad.exe'
Test if file exists {[lPath]}
If flag true
  Start program minimized {[lPath]}
End If