ScriptSpot

Forum topic · General Scripting

Open notepad and txt document

By koberko · 2011-06-17

Description

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 (2)

shellLaunch

Script_Butler · 2011-06-17

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?

koberko · 2011-06-17

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