ToolTip Help for Pythonscripts? [SOLVED]

On 10/06/2015 at 04:58, xxxxxxxx wrote:

Is there a way to implement a ToolTip for a Pythonscript?

Something like: help = "The text shown at the bottom of C4D"
You can do this with Plugins and with Coffee-Scripts. But I have not found out that for Pythonscripts.

On 10/06/2015 at 06:33, xxxxxxxx wrote:

Hello Holger,

I'm afraid this is not possible with a Python script.
You could of course create a Python CommandData plugin, but this is probably more work than you will want to spend, only to have a tooltip.

On 11/06/2015 at 04:36, xxxxxxxx wrote:

Hi Andreas. I have found a way to implement Tooltip in Pythonscripts. Thats cool. It should be documented in the SDK.

If you add this to the script it will have a tooltip:

"""
Name-US: HB_CoolScript
Description-US: This is a cool Script
  
"""

On 14/06/2015 at 12:43, xxxxxxxx wrote:

More than documented, it should be part of the standard script template.

On 15/06/2015 at 07:32, xxxxxxxx wrote:

Hi,

just want to say thanks to Holger for teaching us something new :blush:
Wondering how you did find out?
Anyway, I need to say sorry, as this would have been my job...
@Donovan: I forwarded your request to development.

On 15/06/2015 at 14:58, xxxxxxxx wrote:

Originally posted by xxxxxxxx

Hi,

just want to say thanks to Holger for teaching us something new :blush:
Wondering how you did find out?
Anyway, I need to say sorry, as this would have been my job...
@Donovan: I forwarded your request to development.

:joy: hehe...well that was luck. I found a Script in my collection and it had a Tooltip. It took me a while that I figured out that the tooltip was coded in the beginning of the Script. I think it was a Script of Bret Bays. So you might ask him where he knows this from :wink: