ScriptSpot home

DarkScintilla: Maxscript Editor dark scheme

Downloads

  • Version 1.2dListed version

    Listing updated

    Visit author’s download pagewww.frogsinspace.at

    Release notes

    V1.2d - fixed too dark-blue color for FPS and struct properties...

Earlier releases (8)
  • Version 1.2c

    Release notes

    V1.2c - fixed yet another typo in "MXS_EditorUser.properties" which was breaking coloring of verbatim strings..

  • Version 1.2b

    Release notes

    V1.2b - fixed typo in "MXS_EditorUser.properties" ( "indent.closeing" changed to "indent.closing" )

  • Version 1.2a

    Release notes

    V1.2a- Fixed some stupid install script error popup happening on older Max versions.

  • Version 1.2

    Release notes

    V1.2 - provided an installer Script. Just Drag and Drop the complete packacke ( *.mzp) into a 3ds Max viewport

  • Version 1.1a

    Release notes

    V1.1a- Updated readme for people having trouble installing. The "MXS_EditorUser.properties" has to go to the Max

  • Version 1.1

    Release notes

    V1.1 - integrated ALL tweaks in "MXS_EditorUser.properties", replacing maxscript.properties NO LONGER necessary !!!

  • Version 1.0a

    Release notes

    V1.0a - Fixed "MXS_EditorUser.properties" to not modify global color styles( back color most noticable )

  • Version 1.0

    Release notes

    V1.0 - Initial release

3ds Max compatibility
See original listing claims
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
1.2d
From original requirements
2008 or newer
Original version requirement
3ds Max 2008 and up
Author’s update date
Legacy votes
42
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

spacefrog

Josef Wienerroither

More by this author

Description

A dark color scheme for the Maxscript Editor, inspired by dark schemes available for other IDEs

As i was doing more and more max scripting lately, the urge to do something with the eye hurting Maxscript Editor colors escalated. So i sat down today and had a walkthrough on the various options Scintilla (Maxscript Editors core) provides.

 

After that i started to tweak, and integrate the color scheme and font settings which i use in other IDE's like Monodevelop, Flashdevelop or Eclipse ( even VS is set to the dark scheme here). Additionally i transfered nearly all of the color settings previously in the "maxscript.properties" to the "MXS_EditorUser.properties" file, using symbolic color names etc...

So here is the result:
It has not been tested to all it's extends, but this is a pretty complete set.

Updates:

  • V1.2d - fixed too dark-blue color for FPS and struct properties...
                 slightly brightened color for global constants and made it use bold fonts
  • V1.2c - fixed yet another typo in "MXS_EditorUser.properties" which was breaking coloring of verbatim strings..
                  ( corrected line is "colour.string.verbatim=...", the equals-sign was typed as colon   )
                  Huge thanks for reporting this go to Klaas Nienhuis from the beautiful netherlands
                  Made caret color a bit darker ( this is global), now it should be better visible on white backgrounds
  • V1.2b - fixed typo in "MXS_EditorUser.properties" ( "indent.closeing" changed to "indent.closing" )
                  Now autoindenting should work again as expected (thx go to James Haywood for reporting)
  • V1.2a- Fixed some stupid install script error popup happening on older Max versions.
                 Note: you can't assign a string-variable to a maxscript  label-text during roll out creation.🙂
  • V1.2  - provided an installer Script. Just Drag and Drop the complete packacke ( *.mzp) into a 3ds Max viewport
                 The Installationscript will guide you through the complete installation (or uninstallation) process
                 Some minor color tweaks...
  • V1.1a- Updated readme for people having trouble installing. The "MXS_EditorUser.properties" has to go to the Max
                  user- folder. See readme. I will create a install script over the weekend, so stay tuned...
  • V1.1  - integrated ALL tweaks in "MXS_EditorUser.properties", replacing maxscript.properties NO LONGER necessary !!!
                 I recommend to restore the original from your backup, or use the one in [maxscript.properties ORIGINAL] in the zip
                 Thanks go to Johan Boekhoven for the hint...
  • V1.0a - Fixed "MXS_EditorUser.properties" to not modify global color styles( back color most noticable )
  • V1.0    - Initial release

Notes:

  • Internet Explorer tends to rename *.mzp  (Maxscript Package)  downloads to *.zip -  please change extension back to *.mzp
  • !!! BACKUP YOUR ORIGINAL FILES !!!
  • There is no adapted html.properties, so html file display with Maxscript editor is not "recolored" -> see readme in the zip
  • This scheme uses Microsofts Consolas font, which is freely downloadable at MS ( see link inside the zip)
  • Changes can easily be done, just edit self-explaining symbolic color values in MXS_EditorUser.properties
  • If you make some improvements and tweaks, please contact me and share and i will integrate them

Suggestions, improvements etc.. are welcome

Here is how it looks

 

Dark Color Scheme for Maxscript Editor

Comments (41)

Comment policy

Thomas

Any plans for script listener window?

This is great but sadly the script listener window is still white. while it's nice to have dark colors in the editor it doesn't do much good when the debugger window is still blinding white.

Reply to Thomas
Laurent CHEA

Those values are accessible via maxscript.
You could put them in an autoloaded script.

listenerBackgroundColor = (color 40 40 40)
inputTextColor = (color 225 225 225)
outputTextColor = (color 153 204 102)
listenerSelectionBackgroundColor = (color 58 82 184)
listenerSelectionForegroundColor = (color 255 218 18)
messageTextColor = (color 255 0 0)
macroRecorderBackgroundColor = (color 60 60 60)
macroRecorderTextColor = (color 225 225 225)
macroRecorderSelectionBackgroundColor = (color 58 82 184)
macroRecorderSelectionForegroundColor = (color 255 218 18)

Benjámin Földi

Python editor version?

Hello.

Super useful!

Could you help or give some guidance how to copy/create the same for the Python editor too?

Thanks a lot!

obaida

Thanks for the update :) , the colour.structFPS was so dark .

jeffreysbrown

Thank you!

Just found this. I'm using Max 2022, and while that is an ~OK~ upgrade from Max 2020, this dark theme is an awesome upgrade to the MXS editor. Thank you thank you thank you.

Josef Wienerroither

small update after a very long time

Just wanted to give a headsup that i've just uploaded two fixes for small issues i came across just now ...
But anyways, colorscheme still keeps working on newest 3ds Max versions

andrej

Good day.

Write the following code in the editor
____________________________________________________

ModObj = $Modified_Shapes/* as array
ini = abs (in coordsys $CameraProject ModObj[1].pos.z)
for i = 2 to ModObj.count do
_______________________________________________________

The color coding of the code disappears after the symbol /*.

Reply to andrej
Josef Wienerroither

This is to be expected:
the /* sequence opens a comment block ( same as -- , just for multiple lines of text ). Comment blocks are colored using a single color. This is one of the quirks of the maxscript language definitions i guess ...
Not sure how to work around this as i never used this kind of syntax ..

Reply to andrej
lutteral

it happens also with the vanilla editor, it is because of maxscript formatting. Add "--*/" (without the quotes) at the end of the first line to restore the formatting

NicolasC

Awesome !

Perfect, thanks a lot !

triff

Aah, lovely...

Found this scheme a year or two ago but completely forgot what it was called, then I tripped over it on cbuelter.de. Thanks for saving me from the almost-but-not-quite-Comic-Sans default setup again :)

Steve Burke

Love it

Thanks! This makes a world of difference. I never realized just how horrible the default maxscript editor color scheme was; I have been enlightened.

Nikolay Litvinov

Thanks!

--Nice script of dark scheme.
Brad Thompson

Thanks!

So much easier on the eyes. Thanks for creating this!

borent

Alexey

Cool thanks!!!

hedphelym

Thanks, it works perfectly!
I really enjoy using this.

ravenslayer

awesome, just what i wanted!
tnx :)

Tim Little

After spending 8 hours straight one day staring at the retina-frying beams of my white maxscript page I decided there must be something out there that could change the default colors. I was very grateful when I found your UI script. Thank you very much for sharing your secret to avoid scalded eyeballs.

Mario Blanco

thanks!

i like very much the color scheme!
I installed but my previous autocomplete script from Jan is not working anymore, how can i add the autocomlete tools to this beutiful scheme?
thanks in advance

Pichaya Popanyasak

Good Job Man. I Like It.

Josef Wienerroither

Thanks all for the nice comments ;-)

@argonavt3D:
the answer is already a few posts below your post, basically the answer is no, because this color scheme depends a lot on the "maxscript" language lexer

but of course you could simply grab the color values and edit the standard SciTE's properties file manually. You just can't take this one and simply copy it over, it will not work in standard SciTE...

argonavt3D

Great color scheme!
It's possible to make it work in standalone SciTe ?

lalamax3d

thanks for sharing

its amazing..

Michael Burgoyne

Thanks, I love it

rotem

Thanks!

As said, this is very pleasant to look at and easy on the eyes. Thanks for the many future headaches you've saved me! :)

Josef Wienerroither

Thanks guys for your nice comments - highly appreciated ;-)

@Klaas :
special thanks go to you for detecting the verbatim bug, it's actually a typo in the symbolic color name, the '=' was mistakenly replaced by ':' . I have fixed that and made the verbatim string coloring a bit stronger compared to standard strings. Never would ever have found that by myself, because i even was'nt aware of any maxscript verbatim string usage ;-)

@easyfrog:
Dont exactly understand .. you want to use it for standalone Scite or d oyou have problems installing the mzp package ?

Reply to easyfrog
Josef Wienerroither

ahh - well - i guess that will not be possible without heavily modifying the user properties file i created as it depends on the other changes and properties Autodesk implemented for the Maxscript editor ...

i guess your best luck would be searching for customized SciTE color themes via google ...

Klaas Nienhuis

It's a very relaxed color-scheme, not so shouty. I've noticed that on my system the verbatim-strings (@"string here") are the same as normal strings. I had a very hard time to change this, but otherwise: very nice!
Klaas

easyfrog

How can i use this scheme to my sciTE??

I'm very like this scheme. It's pretty cool . so how to use this scheme to my sciTE??

br0t

Hey, nice job with that installer, that really helped make things easier. The first version in copying files by hand did fail for me and I was kinda frustrated, but now it works fine, cheers!

Curtis W. Tooley

This NEEDED to be done.

I am so happy that I no longer have to go blind writing maxscripts.

Curt

Branko Živković

Thanks man. I missed it. In this website actually has the nice themes. I have not used Eclips, so I was not thinking in that direction. However, I like your idea about the converter. I hope that your plan will be achieved soon. Cheers :}

Josef Wienerroither

@barigazynice dark scheme

@barigazy nice dark scheme !

actually i'm currently considering doing something like an eclipse to Maxscript editor theme converter, possibly even integrating online resources like this:
http://www.eclipsecolorthemes.org
.

No promises, but that's the plan...

BTW:
You still have the "indent.closeing" typo in the themes you posted hence autointending does'nt work correctly - that bug was fixed with V1.2b ( only fix from V1.2a - so you easily can fix it manually yourself..)

Branko Živković

Hallo, spacefrog
Nice work,man! You save are eyes.
I send you my MXS_EditorUser.Properties (Dark and Light Elegant Schemes).
I do not know that you thought to write a script that could edit the files as the Notepad++ ( "Style Configuration").That would be the right thing.

Attachments
Ruben Mayor

my bad ;)

thx for the update. :)

Ruben Mayor

I can't download it

The requested URL /downloads/DarkScintilla_V1.2.mzp was not found on this server.

Reply to Ruben Mayor
Josef Wienerroither

Had to pull it for about an hour, because some stupid label error kept appearing on older Max Versions when trying to install. Is back online now with V1.2a

Sorry for the hassle ;-)

Michele Marcelli

Wow! Nice and very helpful! Thanks