SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Animation / Mel Scripts & Programming / ChannelBoxCustomizer error.
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 25-03-2004, 03:24 AM   #1
onlooker
Subscriber
 
onlooker's Avatar
 
Join Date: Jan 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default ChannelBoxCustomizer error.

Well here itis. I'm getting this error when trying to run CBC

ak_channelBoxCustomizer;
// Error: menuItem -l "Reset All Options" -c "radioButtonGrp -e -sl 1 layoutRadio1;\
//
// Error: Unterminated string. //
// Error: menuItem -l "Reset All Options" -c "radioButtonGrp -e -sl 1 layoutRadio1;\
//
// Error: Syntax error //
// Error: -on1 "optionMenuGrp -e -en 0 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 0 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: -on1 "optionMenuGrp -e -en 1 menu2;\
//
// Error: Unterminated string. //
// Error: $cmdStr += "if (!`isUIComponentVisible(\"Channel Box / Layer Editor\")`) {\
//
// Error: Unterminated string. //
// Error: showChannelsLayers(\"\");\
//
// Error: Syntax error //
// Error: };";
//
// Error: Unterminated string. //
// Error: if($radio1)$ak_channelBoxLayout += "paneLayout -e -configuration single ChannelsLayersPaneLayout;";
//
// Error: "$radio1" is an undeclared variable. //
// Error: if($radio1==1){
//
// Error: "$radio1" is an undeclared variable. //


Is this CBC script working for everyone but me?
onlooker is offline   Reply With Quote
Old 25-03-2004, 09:45 AM   #2
kbrown
Moderator
 
kbrown's Avatar
 
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Thanks: 0
Thanked 8 Times in 8 Posts
Default

well... i have no idea what that script is but it looks like someone has forgotten a quotation mark:

The first error is because of this line:

menuItem -l "Reset All Options" -c "radioButtonGrp -e -sl 1 layoutRadio1;

should be:

menuItem -l "Reset All Options" -c "radioButtonGrp -e -sl 1 layoutRadio1";

looks like there are many other similar errors. perhaps you should contact the author...
__________________
Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
kbrown is offline   Reply With Quote
Old 25-03-2004, 10:01 PM   #3
onlooker
Subscriber
 
onlooker's Avatar
 
Join Date: Jan 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The channelbox customizer is a script I downloaded from here. it's on the fron page I think.

I'll add the quotes to the lines in question, and see how it works then I'll post again, and we'll see how it turned out.
onlooker is offline   Reply With Quote
Old 26-03-2004, 02:47 PM   #4
osb
Registered User
 
Join Date: Mar 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi onlooker,

This scripts was most probably written in a version prior to 5, hence this bug; In versions prior 5 you could spread strings over many lines by inserting a break character \ at the end of the line, however this does not work any longer. Simply open the scripts, remove the break character at the end of the statements, and put the string in one big line.

-Shyal

Last edited by osb : 26-03-2004 at 03:48 PM.
osb is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Maya Hair/Polygon Error ingram_no.7 Members Lounge 13 10-12-2010 10:27 AM

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.