Launch the appropriate application to open the document, web page or directory specified.
| Long name (short name) | Argument Types | Properties | |
|---|---|---|---|
| directory (dir) | unicode |
|
|
|
|||
| movie (mov) | unicode |
|
|
|
|||
| 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' #