Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

launch [-movie string] [-pdfFile string] [-webPage string]

launch is undoable, NOT queryable, and NOT editable.

Launch the appropriate application to open the document specified. This command works only on the Macintosh and Windows platforms.

Return value

None

Flags

movie, pdfFile, webPage
Long name (short name) Argument types Properties
-movie(-mov) string create
A movie file. The only acceptable movie file formats are MPEG, Quicktime, and Windows Media file. The file's name must end with .mpg, .mpeg, .wmv, .mov, or .qt.
-pdfFile(-pdf) string create
A PDF (Portable Document Format) document. The file's name must end with .pdf.
-webPage(-web) string create
A web page.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

//launch a web browser to open webpage http://www.autodesk.com
launch -web "http://www.autodesk.com";