Notifications
Clear all

[Closed] Opening Maxscript Editor from Maxscript

Is there any way to open the maxscript editor from maxscript? I’d like to be able to open maxscript files in it using maxscript.

3 Replies
actionMan.executeAction 0 "40468"

Doesn’t allow you to code which file you open though…

I’m sure Zebox will know the answer…

you rang?

edit <filespec>

But do you actually want to edit a specific file – or just open the editor (the tabbed interface as per Max2008+)?

actionMan.executeAction 0 "40839"

Edit: Might as well add the latter case; that can be easily grabbed from the macro recorder.

Ah thanks! edit “filename” works perfectly and opens the file in question as a tab in maxscript editor which is exactly what I was looking for.

Thanks again for both of you!