PDA

View Full Version : Easy quote escaping (\") for MEL scripts!


Pookyjuice
01-08-2008, 03:23 AM
Ever bang your head against a wall while trying to escape every quote in a super long Mel script? I don't know if I'm the only one who's had this problem, I suspect not, so I found an easy way to encode the whole string without using the "encodeString" MEL command which seems to baffle many.

Just take your MEL code and cut and paste it into a new expression and hit the 'edit' button. Look in the script editor and grab your nicely encoded string- it'll be everything after the '-s' and before the '-o'

Hope this helps.

CGTalk Moderation
01-08-2008, 03:23 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.