bubble help for interface palette icons



  • On 27/02/2014 at 07:09, xxxxxxxx wrote:

    Hi - I have made a couple of scripts with the help of the knowledgeable people hanging out on this forum. A big thank you to everybody.  It's been a bit of a learning curve but I'm starting to get a better grip on the Python SDK.

    Unfortunately this brings me to another bit that I am unclear about.  I've added the finished scripts to the C4D script folder and created icons for them.  I've used the "Customize Commands" menu selection to add them to my interface and all is working well except one thing.  I would like to add some text to the bubble help.  Right now it just shows the name of the script twice.  I would like to change that second line to contain information like the built-in items have.

    Do these have to be plug-ins for that to happen?

    Any pointers towards documentation would be great.

    thanks in advance - .del



  • On 11/04/2014 at 07:39, xxxxxxxx wrote:

    Afaik, it is not possible to change the bubble help for a script.



  • On 11/04/2014 at 08:08, xxxxxxxx wrote:

    Thanks Niklas.    I'll look at what it takes to make plugins out of my scripts.



  • On 13/04/2014 at 08:55, xxxxxxxx wrote:

    Hi .del,

    have a look at the free tutorial 'Distributing Python Scripts' at cineversity.com.
    Rick Barrett shows the use of script headers to define the language specific name and description of a Python script.

    By
    Peter



  • On 15/04/2014 at 09:37, xxxxxxxx wrote:

    thanks Peter.  I'll track that down.



  • On 17/04/2014 at 14:38, xxxxxxxx wrote:

    I didn't know that. Thanks for the info, no-photo.
    To sum it up from here: http://www.cineversity.com/vidplaytut/distributing_python_scripts/
    You can add a header to your script like this:

    """
    Script Name etc...
      
    Copyright: Your copyright info here
    Some extra info
      
    Name-US: Cool Script
    Description-US: This is a cool script
    Name-DE: Cooles Skript
    Description-DE: Das ist ein cooles Skript
    """
    

    -Niklas


Log in to reply