View Full Version : openEncryptedFile Crashes....

03 March 2006, 11:15 AM
ok im looking at using


test = openEncryptedFile "locked.dat" 65

now this works fine, unless I encrypt the script this is contained within. Then it crashes fiving the following error....

--syntax error: at bad , <expected factor>
-- in line: create dialog myrollout "rollout" width:110 height :768(theres a square here)

Any ideas?

03 March 2006, 11:29 AM
hrmm ok this works fine when not in a on
myRollout open do ()

but if its within that it dies.....

03 March 2006, 07:15 AM
Aha! I have the exact same problem. You can check my earlier thread:

Looks like a maxscript bug to me.

03 March 2006, 01:04 PM
i found a work around for it, a hack as you could say ;P

basically use a timmer loop and put it in there :) set it to only check the first time...

CGTalk Moderation
03 March 2006, 01:04 PM
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.