Re: Script Button in Menu Buttons?

Date : Fri, 02 Jun 2006 17:20:41 +0200
To : XSI(at)Softimage.COM
From : André Adam <a_adam(at)49games.de>
Subject : Re: Script Button in Menu Buttons?
I've had a look at this as well already and on a first sight it doesn't look like it could work, comparing the Menu Button entries and the Script Button format... Ok, at least I'm not the only one having this problem. What's the common workaround then for the following scenario:

Ton's of scripts that are basically the same piece of code with a single variable being different.

My initial idea was to use Script Buttons to parse an argument to the script command referencing only a single script for all. And since it's lots and lots of them I wanted to stack them inside Menu Buttons to not make that Toolbar extend over half of XSI's interface.
Looks like I have the choice of of using one or the other, which will likely be the Menu Buttons to make life worthwile for our animators and hell for me duplicating a script call over and over again with variing variables... or is someone having a smarter idea? It's Friday and the sun is shining for the first time since days again, that might affect my concentration... ;)


Cheers!

   -André


brad friedman wrote:

I know exactly what you are talking about and it has been driving me nuts.
I do recall I tried hacking the xml to put one in there and it didn't work... though I could have done it wrong. Its probably worth trying to hack it again just to be sure.
-brad


*/André Adam <a_adam(at)49games.de>/* wrote:

    Sorry, not really, that's the exact place where I'm currently stuck.
    Getting a Menu button works as it should, but I'd like to fill it
    with
    Script Buttons instead of regular commands. To clearify a bit
    here, I'm
    talking about the nice functionality feature called "Script Button"
    available from the Customize Toolbars dialogue, where the button
    actually does not reference a script file, but carries the code
    directly
    which then gets part of the toolbar file.

    Sorry for any confusion, and thanks anyways!

    -André


Todd Lawrimore wrote:

    >If you "right click" on a toolbar and go to "Customize Toolbar"
    there is a "Toolbar Widgets" category that has a "menu button"
    option in it. You can attach as many scripts as you like. The
    wizard for editing the look of the menu is weak, but you can
    always edit the xml by hand after you've generated it.
    >
    >Does that help?
    >-Todd
    >
    >-----Original Message-----
    >From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On
    Behalf Of André Adam
    &ggt;Sent: Friday, June 02, 2006 8:12 AM
    >To: xsi(at)Softimage.COM
    >Subject: Script Button in Menu Buttons?
    >
    >Heya!
    >
    >Is it possibble to store a Script Button inside of a Menu Button
    for a
    >custom toolbar? I'm currently trying to clean up cluttered
    toolbars a
    >bit and this would be *really* handy right now...
    >
    >Cheers for a quick reply!
    >
    > -André
    >

    ---
    Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text
    in body:
    unsubscribe xsi



--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.