Notifications
Clear all
[Closed] exectueing external exe using maxscript
Nov 30, 2009 6:40 am
i have a program a friend of mine made and I was wondering if theres a quick way to run it using maxscript?
4 Replies
Nov 30, 2009 6:40 am
shelllaunch @“c: hefolder hefile.exe” “”
the last “” can be arguments such as a file to open or something
Nov 30, 2009 6:40 am
alright one more question im sorry i’ve been trying to research the solution with no luck.
but im also writing my own config file using maxscript. My friends program then reads that config file and changes its varibles based on that. but when i write strings to files maxscript writes the quotes as well. Is there a way to write to file the contents of a string but without the quotes showing up in my .txt file?
thank you everyone for your time
Nov 30, 2009 6:40 am
i think you want to use:
myString = "some string"
format "%
" myString to:myFile
-- instead of:
-- print myString to:myFile