Open notepad and txt document

How can I open some txt document in windows notepad with max script?
I will want that my script automatically opens txt file in witch has saved some object data, so that it can be reviewed.

Comments

Comment viewing options

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

shellLaunch

Copy and paste this in to MAXScript and change the "C:/temp/test.txt" to whatever text file you want to open.

shellLaunch "notepad.exe" "c:/temp/test.txt"

Does that help?

Cheers.

Script_Butler

koberko's picture

Scrap this... I have found

Scrap this... I have found how to do it (using ShellLaunch function).

Comment viewing options

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