howto add menu item to bridge
How do I define a new jsx file I created as a menu item within bridge? Documentation says to look at sample snpaddmenuitem.jsx, but I cannot find it within my sdk sample list. Thank you in advance for any assistance.
How do I define a new jsx file I created as a menu item within bridge? Documentation says to look at sample snpaddmenuitem.jsx, but I cannot find it within my sdk sample list. Thank you in advance for any assistance.
You could just alter the script and use another ID or you could check and see if the ID was in use first...
//MenuElement.remove(id); // to remove item but next time the script is loaded it would be back.
//MenuElement.create( type, text, loc, id );
var MenuExists = MenuElement.find ("myMenuID");
if(!MenuExists) {
alert("Menu item does not exist");
}else{
alert("Menu item does exist");
}
.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.