Go to: Synopsis. Return value. Flags. Python examples.
launch([movie=string], [pdfFile=string], [webPage=string])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
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.None
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
movie(mov)
|
string
|
|
||
|
||||
pdfFile(pdf)
|
string
|
|
||
|
||||
webPage(web)
|
string
|
|
||
|
||||
import maya.cmds as cmds #launch a web browser to open webpage http://www.autodesk.com cmds.launch(web="http://www.autodesk.com")