Hello Ross,
Thanks for this demonstration.
I look a way to add custom entries in the left windows of scripting index.
I want to offer to our users custom functions in a "new category" named "Company-name". Is it possible?
I found New Custom Function() function, but nothing to add a new category.
New Custom Function()
Thanks
Regards,
Sure, you can do that with New Custom Function().
/* Converts Meters to Kilometers */ Meter to Kilometer = New Custom Function( "Conversions", "Meter to Kilometer", Function( {x}, x / 1000 ) ); Meter to Kilometer << Description( "Converts Meters to Kilometers" ); Meter to Kilometer << Prototype( "Conversions:Meter to Kilometer(x)" ); Meter to Kilometer << Example( "Conversions:Meter to Kilometer(5000)" ); Meter to Kilometer << Formula Category("Conversions"); Meter to Kilometer << Scripting Index Category( "Conversions" );
Take a look at the Conversions Function Library add-in for more examples.
This is perfect.
Thank you Jeff