ScriptSpot

Script

External MaxScript IDE

By Svennovich · 2012-08-20

Votes
11
Download
Download
Description

  • Develop Scripts and Manipulate 3dsMax from your favorite IDE or application
  • Write MaxScript with external IDE of choice
  • Directly execute it from your IDE of choice
  • Notepad++ 
  • Notepad++ User-Defined Language template for highlighting
  • Notepad++MaxScript Dictionary for auto-complete
  • Easy setup
  • Download External MaxScript IDE
  • View full Syntax list , if you want to port it to your IDE
  • Full Documentation and Help

Viewing MaxScript Code in NotePad++ thanks to Syntax Highlight and Syntax Dictionary

Tags: maxscript, scripting, development, dictionary, ide, external, notepad++, syntax, highlight

Comments (19)

Notepad++ Crash

amartinez1660 · 2016-05-13

After importing the style configurator userDefinedLang.xml in notepad++, opening a .ms file in it crashes instantly.
Any thoughts?

having trouble installing on max2015 x64. please help!

PureSandvich · 2014-07-31

Hi I've ran ExternalMaxScriptIDE_install.ms and got the following error.


false
-- Error occurred in OpenConnection(); filename: C:\Users\owner\AppData\Local\Autodesk\3dsMax\2015 - 64bit\ENU\scripts\ExternalMaxScriptIDE\ExternalMaxScriptIDE_system.ms; position: 3676; line: 124
--  Frame:
--   userScriptsPath: "C:\Users\owner\AppData\Local\Autodesk\3dsMax\2015 - 64bit\ENU\scripts"
--   assembly: dotNetClass:System.Reflection.Assembly
--   dllPath: "C:\Users\owner\AppData\Local\Autodesk\3dsMax\2015 - 64bit\ENU\scripts\ExternalMaxScriptIDE\MaxScriptReceiverForm.dll"
--   maxScriptReceiverForm: dotNetObject:MaxScriptReceiverForm.MaxScriptReceiver
--   maxHndl: 525900P
--   maxHandlePointer: 525900P
--   sysPointer: dotNetObject:System.IntPtr
--   maxHwnd: undefined
--   called in anonymous codeblock; filename: C:\Users\owner\AppData\Local\Autodesk\3dsMax\2015 - 64bit\ENU\scripts\startup\ExternalMaxScriptIDE_startup.ms; position: 230; line: 5
--  Frame:
-- Error occurred during fileIn in "C:\Users\owner\AppData\Local\Autodesk\3dsMax\2015 - 64bit\ENU\scripts\ExternalMaxScriptIDE\ExternalMaxScriptIDE_system.ms"; line number: 124
-- Runtime error: Cannot resolve type: MaxCustomControls.Win32HandleWrapper

can anyone help me out with this?
Thanks!

Link Down

dkail · 2014-07-24

dropbox link is down.
can anyone reupload the files. ?

Crashes Notepad++

superrune · 2013-08-14

I tried to install just the language definitions, but that made Notepad++ crash each time I open a maxscript file. This is in version 6.4.3. Have anyone else tried this with a later version of Notepad++ ?

Crashes

locke · 2013-08-20

This looks very helpfull but it makes Notepad++ Crashes when i copy userDefineLang.xml to my AppData Folder. I'm on windows 8 x64 / Notepadd++ 6.4.5

Wow!

Anubis · 2012-09-02

Thank you very much for the source code!

As for the editor, it's ConText, but it not so powerful like Notepad++. I just using it from a long time and it's my habit :)

Svennovich · 2012-08-21

thanks for the great comments, I am glad that it's helping developers. I am still finding difficulties in setting up the perfect language settings for notepad++.
Sometimes maxscript code is still not so clear (space sensitive)

I will check with the notepad++ simultaneously saving and executing for evading muscle pain :)

Also will improve the documentation in how to setup notepad++ for maxscript developement.

stuff i still want to add is the dynamically feedback from max to notepad to show where errors occurs.

Exciting

lightcube · 2012-08-21

This is exciting. FInally I don't have to worry about making an infinite loop that crashes Max and kills the unsaved MAXScript files I'm working on :)

I'm a little confused about the installation instructions regarding the Notepad++ link:

Notepad++ Connection
--------------------
Run->Run...
C:\ExternalMaxScriptIDE.exe "$(FULL_CURRENT_PATH)"
Save as "MaxScript" and link the shortcut Ctr+E to it

Can you provide step-by-step on this as I didn't really get it.

Thanks a million!

kilad · 2012-08-21

ctrl + s, ctrl + e

muscle memory.

miauu · 2012-08-21

Yep. Every time. :)

lightcube · 2012-08-25

Thank you! The instructions on getting the code to save and execute in Notepadd++ helped me.

exe? Can you share the code?

Anubis · 2012-08-28

I use other editor (not NP++) and VBScript to run my MS code from my editor, but am curious about our solution. Well, if you intend to keep your programming code I'll understand you ;)

Svennovich · 2012-08-29

Which one are you using? Cause I am looking for an editor that supports a more wider syntax, since np++ is kinda limited in number of colors and the ( ) signs don't work as they should....

Of course i don't mind sharing my code. Hope you can learn from it.
I was planning to publish it publicly soon and explaining the technique.
I ll make a google doc in how the system works soon.

The main Idea behind it is sending strings using multiple WindowsMessages

Here is the source code.
https://dl.dropbox.com/u/1652825/MaxScript/ExternalMaxScriptIDE/Source/E…

Thanks a million!

sergo · 2014-02-20

Thank you for sharing the code Sven! I was wondering how are running the maxscript so that code with errors does not show up in red in listener. Now I can learn from your code. Thanks again.
I'm using your tool with sublime text.

Great Stuff Sven !!If you are

spacefrog · 2012-08-21

Great Stuff Sven !!
If you are like me and prefer dark colors instead, here's the "userDefineLang.xml" with DarkScintilla -like Color definitions. Note: you'll still have to adjust the global style to match those colors in this userdefinelang.xml ( global back color etc ... )


 

Attachments

Norman3D · 2012-08-20

This is awesome man!! :D

kimarotta · 2012-08-20

+1
Good...
Very thanks...