PDA

View Full Version : Opening Maxscript Editor from Maxscript


Bercon
07-09-2008, 11:29 AM
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.

DaveWortley
07-09-2008, 12:11 PM
actionMan.executeAction 0 "40468"

Doesn't allow you to code which file you open though....

I'm sure Zebox will know the answer...

ZeBoxx2
07-09-2008, 12:20 PM
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.

Bercon
07-18-2008, 07:24 AM
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!

CGTalk Moderation
07-18-2008, 07:24 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.