Notifications
Clear all

[Closed] Finally abandoned the maxScript editor

When I hit f9 (compile) in pspad i get the mxscom error pop-up message (roughly translated to english)

“Runtime error ‘429’: Object creation by ActiveX component not possible”

Any idea what this means?

I used the Rezn8 bridge and Crimson Editor a while back, but stopped as when any maxscript errored, there’s no feedback or line highlighting.

Anyone got any solutions to this?

Cheers,
Dave

1 Reply
(@alpineman)
Joined: 11 months ago

Posts: 0

Dave. None as yet. Some parts of the maxscript core would have to be overhauled for that to happen.

Chris J.

Can somebody reupload mxscom?

rezn8 site down… 🙁

Thanks

DeKoVV: I have attached the mxscom.zip file for you.

I have setup PSPad as follows:

  1. Settings > User Highlighters > load MaxScript.ini > Save
  2. Highlighter Settings > <not assigned> > Specification > User Highlighters > Maxscript
  3. Highlighter Settings > Maxscript > External Applications >

Name: Maxscript Execute
Application: %PSPath%Plugins\mxscom.exe -f %File%

Name: Maxscript Open
Application: %PSPath%Plugins\mxscom.exe -e edit “%File%”

  1. Settings > Program Settings > Key Map > File > Maxscript Execute Crtl+E > Maxscript Open Shift+F11 > Save to File (Otherwise your keymap won’t be saved)

Note: Crimson Editor will save prior to executing, PSPad does not or I am not sure how to enable it to do so. So if you execute Maxscript Open prior to saving the file it will open a temp file instead of the current file.

-Eric

Thank you Pixel_Monkey very much

 PEN

Does any one know where I can find color coding for crimson editor?

1 Reply
(@halfvector)
Joined: 11 months ago

Posts: 0

MAXScript syntax coloring comes with the Crimson Editor installation.

Yeah. I followed these instructions.

Greets.

 PEN

Looks like I have found colour coding for Max but I have not been able to get the bridge to work with Max 8. Has any one had any luck using crimsom editor with Max and the com bridge?

I forgot to mention that I edited the maxscript7.reg file that comes with the mxscom distribution. This is the final content:

REGEDIT

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;  1. Change the path in the last line of this file to point at your
;     current 3ds max executable directory, then
;  2. Double click this file in Windows Explorer
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; registration info MAX.Application (defaults to MAX.Application.8)

HKEY_CLASSES_ROOT\MAX.Application = OLE Automation MAX Application
HKEY_CLASSES_ROOT\MAX.Application\Clsid = {7FA22CB1-D26F-11d0-B260-00A0240CEEA3}
HKEY_CLASSES_ROOT\MAX.Application\CurVer = MAX.Application.8

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; registration info MAX 8.0

; (Application Object)
HKEY_CLASSES_ROOT\MAX.Application.8 = OLE Automation MAX 8.0 Application
HKEY_CLASSES_ROOT\MAX.Application.8\Clsid = {7FA22CB1-D26F-11d0-B260-00A0240CEEA3}

HKEY_CLASSES_ROOT\CLSID\{7FA22CB1-D26F-11d0-B260-00A0240CEEA3} = OLE Automation MAX 8.0 Application
HKEY_CLASSES_ROOT\CLSID\{7FA22CB1-D26F-11d0-B260-00A0240CEEA3}\ProgID = MAX.Application.8
HKEY_CLASSES_ROOT\CLSID\{7FA22CB1-D26F-11d0-B260-00A0240CEEA3}\VersionIndependentProgID = MAX.Application
HKEY_CLASSES_ROOT\CLSID\{7FA22CB1-D26F-11d0-B260-00A0240CEEA3}\LocalServer32 = C:\3dsmax8\3dsmax.exe

The only thing that changes is the 7s for the 8s. Also, don’t forget to replace the 3dsmax path (at the end of the file) with your installation directory. And of course, you have to execute that file (the reg file).

Hope that helps.

PD: oh, BTW, if you want the crimson editor window to stay always on top, you can use some utility like this one.

Paul,
The most up to date CE syntax files can be found here and previous version can be found here. Make sure that you install the script files in the max directory, change the registry entries, and setup up the shortcuts in CE. Personally I am switching to PSPad cause CE is no longer in development. There is a group making Emerald Editor, an open source version of CE, but nothing has been released so far.

-Eric

 PEN

Thanks guys I got it working. I didn’t know that CE isn’t being worked on any more. That is a shame as I have been using it for years for perl and other languages. Maybe I will have to switch as well.

I’ll have a look at it and see if I like it. I can’t imagine it is all that different.

Page 2 / 3