  | | | Mel SYSTEM calls | Mel SYSTEM calls 2003-12-04 - By Brian Ward
Back there is syntax probs. your mixing " with ' for one. also i don't think you can parse that workspace variable inside this command.
try this: eval ("system (start cmpPackage.exe " + $workSpace + "directory\\fileName.ext)");
~B
-- -- Original Message -- -- From: "Brian Bullock" <Brian@(protected)> To: <maya@(protected)> Sent: Wednesday, December 03, 2003 9:27 AM Subject: Mel SYSTEM calls
> > > I'm trying to write a mel script that will open a cmp file based on the > workSpace variable and a set cmp name. > > > EG: > > system ('start cmpPackage.exe " + $workSpace + "directory\\fileName.ext'); > > > I'm trying to run the script off the top of my head and there maybe syntax > problems, but hopefully you get the point... > > > Any ideas? > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- > List-help: <mailto:listar@(protected)?Subject=help> > List-unsubscribe: <http://www.highend3d.com/maya/listserver/> > List-subscribe: <http://www.highend3d.com/maya/listserver/> > List-archive: <http://www.highend3d.com/maya/archive/> >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- List-help: <mailto:listar@(protected)?Subject=help> List-unsubscribe: <http://www.highend3d.com/maya/listserver/> List-subscribe: <http://www.highend3d.com/maya/listserver/> List-archive: <http://www.highend3d.com/maya/archive/>
|
|
 |