pymel.core.system.launch

static system.launch(*args, **kwargs)

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

Flags:
Long name (short name) Argument Types Properties
movie (mov) unicode ../../../_images/create.gif
 
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) unicode ../../../_images/create.gif
 
A PDF (Portable Document Format) document. The file’s name must end with .pdf.
webPage (web) unicode ../../../_images/create.gif
 
A web page. Flag can have multiple arguments, passed either as a tuple or a list.

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' #

Previous topic

pymel.core.system.iterReferences

Next topic

pymel.core.system.launchImageEditor

Core

Core Modules

Other Modules

This Page