open xref object

Hello, I would like to open selected xref object with a script,
this one works :
(
a = $.srcFileName
ShellLaunch a ""
)
but if I want to specify the .exe I want I got error :
(
a = $.srcFileName
ShellLaunch "3dsmax.exe" @a
)
Any help ? Thanks.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
titane357's picture

Thanks a lot Miauu !!! It

Thanks a lot Miauu !!! It works. :-)

miauu's picture

.

Not works for me too, but if you specified the full path to the 3dsmax.exe it works

(
 
	ShellLaunch "C:\Program Files\Autodesk\3ds Max 2014\3dsmax.exe" (mapPaths.getFullFilePath $.srcFileName)
 
-- 	ShellLaunch "C:\Program Files\Autodesk\3ds Max 2014\3dsmax.exe" $.srcFileName
 
)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.