espero que esto te sirva:
_________________________
__Usage
mdm.Process.create(title:String, xPos:Number, yPos:Number, width:Number, height:Number, appName:String, app:String, startInFolder:String, priority:Number, windowStatus:Number):Number
__Parameters
title:String - Title of the window
xPos:Number - X position of the application
yPos:Number - Y position of the application
width:Number - Width of the application
height:Number - Height of the application
appName:String - Application name
app:String - Name and extension of the application to be launched
startInFolder:String - The current folder for the new application
priority:Number - CPU priority for the new application
windowStatus:Number - Status of new application
__Returns
A Number
__Description
Executes a new process (application) and returns the identifier for that process.
__Notes
The 'title' parameter is only applicable with "command.com"
The 'appName' parameter MUST be a blank string.
Valid values for the 'priority' parameter are:
1 = Idle
2 = Normal
3 = High
4 = Realtime
Valid values for the 'windowStatus' parameter are:
1 = Hidden
2 = Minimized
3 = Maximized
4 = Normal
On Windows, a child process is created. This means that when your application closes, all processes started with this command will also be closed.
__Example Code
Código :
var processID:Number = mdm.Process.create("My Title", 0, 0, 500, 600, "", "command.com", "C:\\windows", 2, 4);
// Execute normal program (Windows):
var processID:Number = mdm.Process.create("", 0, 0, 0 ,0, "", "C:\\Program Files\\Internet Explorer\\iexplore.exe", "C:\\", 2, 4)
// Execute normal program (Mac)
var processID:Number = mdm.Process.create("", 0, 0, 0, 0, "", "/Applications/Safari.app/Contents/MacOS/Safari", "/", 2, 4)
// Execute application with parameters (Windows)
var processID:Number = mdm.Process.create("", 0, 0, 0, 0, "", "C:\\Windows\\notepad.exe C:/test.txt", "C:\\", 2, 4)
// Execute application with parameters (Mac)
mdm.Process.setParams("/Users/[user]/Desktop/test.rtf");
var processID:Number = mdm.Process.create("", 0, 0, 0, 0, "", "/Applications/TextEdit.app/Contents/MacOS/TextEdit", "/", 2, 4)