|03 March 2013||#1|
CEO / Supervisor
Join Date: Apr 2004
3dsmax 2013 - readchars
we using an setup for organizing our scripts from our server to the local machines and putting them on the menu bar..(edited aeron setup) so far all is working fine but we llike to switch to 2013/14 this year and the scirpt seems to have a problem with theese setup. we found that the error seems comming from this part of the script:
scriptFile = "test.ms"
scriptFile = openFile scriptFile mode:"rt"
macroToolTip = (readExpr scriptFile)
macroButtonText = (readExpr scriptFile)
seek scriptFile #eof
seek scriptFile 0
skipToString scriptFile "--start macro\n"
scriptContent = readChars scriptFile maxlen errorAtEOF:false
and over some print testings we found that in max 2013 there seems that the readchars command is not working correctly. in max2012 the print command shows the whole script we opened but in 2013 there is nothing inside.
have anyone an idea what is going on here?
CEO | 3deutig
animation | visual effects
|03 March 2013||#2|
Join Date: Sep 2003
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.
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
|Thread Closed share thread|