How to run a script? (yes I'm asking that)

Hello, im new at maxscript. Ive read the help (not complete, of course) and searched google, and to my suirprise, i cant find the way to run (or execute, or apply) a script I wrote.
Let me be clear: I open Notepad, type the code, change the extension to .ms, open max, click on maxscript, click on run script, load the script, and nothing happens. Where's the secret button to make it actually run?

Regards,
Mariolillo

Comments

Comment viewing options

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

may be display script here

may be display script here will you ?

Swordslayer's picture

If you run it via Run script,

If you run it via Run script, it should be okay so it probably has to do with some error/mistake in the script itself. Check the maxscript listener (F11) after running the script if it doesn't say something like that.

Anyway, for experiments with code it's better and more flexible to just write them directly in max (click the New script menu item) as you don't have to save them to see them work, you've got the color syntax highlighting and a whole lot more than notepad can offer. Then you'd be executing it via CTRL+E.

JokerMartini's picture

ctrl+e or under tool

ctrl+e

or under tool evaluate.

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

Comment viewing options

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