Launch the appropriate application to open the document, web page or directory specified.
Flags:
Long Name / Short Name | Argument Types | Properties | |
---|---|---|---|
directory / dir | unicode | ![]() |
|
|
|||
movie / mov | unicode | ![]() |
|
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, .mp4, .wmv, .mov, or .qt. |
|||
pdfFile / pdf | unicode | ![]() |
|
|
|||
webPage / web | unicode | ![]() |
|
|
Derived from mel command maya.cmds.launch
Example:
import pymel.core as pm
#launch a web browser to open webpage http://www.autodesk.com
pm.launch(web="http://www.autodesk.com")
# Result: u'http://www.autodesk.com' #