CGTalk > Software > Autodesk 3ds max > 3dsMax SDK and MaxScript
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 01-17-2014, 06:47 PM   #1
Mambo4
not a jedi yet
 
Mambo4's Avatar
portfolio
Logan Bender
Game Technical Artist
Greater Seattle, USA
 
Join Date: Nov 2010
Posts: 432
newScript() window size

I frequently check my data by writing to a new script window
but newScript() spawns a window that's impractically small.

The only way I found to control it is to manuall size / position a newScript() window as I wish, then the next call of newScript() "remembers" that size, so it must be stored somehow.

is there any way to control the window position and size via mxs?
 
Old 01-17-2014, 09:53 PM   #2
gazybara
Architect
 
gazybara's Avatar
portfolio
Branko Živković
Freelancer
Niš, Serbia
 
Join Date: Apr 2011
Posts: 1,103
Quote:
Originally Posted by Mambo4
I frequently check my data by writing to a new script window
but newScript() spawns a window that's impractically small.

The only way I found to control it is to manuall size / position a newScript() window as I wish, then the next call of newScript() "remembers" that size, so it must be stored somehow.

is there any way to control the window position and size via mxs?

See this tool by Pete (lonerobot)
__________________
Looking in the right side. [bgaTools]
 
Old 01-18-2014, 10:49 AM   #3
gazybara
Architect
 
gazybara's Avatar
portfolio
Branko Živković
Freelancer
Niš, Serbia
 
Join Date: Apr 2011
Posts: 1,103
And this works only in max 2014
Code:
fn openNewScript x: y: w: h: = ( newscript() hwnd = (windows.getChildHWND 0 "Untitled - MAXScript" parent:#max)[1] as integer windows.setWindowPos hwnd (box2 x y w h) on ) openNewScript x:50 y:100 w:800 h:600
__________________
Looking in the right side. [bgaTools]
 
Old 01-18-2014, 10:49 AM   #4
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 09:43 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.