Macros

Are there any functions exposed in shake that will allow me to get the currently open scripts path and name? Also is there a function to get the frame range in the globals?

Thanks!

Matt

{scriptName}

Can you give me an example of its usage?

Im trying:

const char * path;
path = scriptName();
printf (path);

with no luck

{timeRange} and {scriptName} are text shortcuts.
You can use them in the Text parameter of a text node as mentioned in the Shake4 manual
on page 406.

I'm not sure how you could assign them to another variable in a macro.

actualy they are variables allready.