scripting problem!

   2714   0   1
User Avatar
Member
55 posts
Joined: July 2005
Offline
I have a problem with scripting. This should not be difficult, but I can't find a solution. What I have is a series of hscript command stored in a variable, and I would like to execute them. the serie of commands is like:
cd `opfullpath(“.”)`; source $SCRIPTS/rendering/pre_render_diffus.cmd;
which is actually used in a pre render of a rop.
I tried with execute($myvar) but I had an error I don't understand ( maybe a space problem? ) . it seems that he believes “cd” is one command, `opfullpath(“.”)` is another one and so on…
I also tried to just type $myvar, but the pb was the same…
I don't know if I have missed something, but I am sure there is a way, so, any help appreciated!!
  • Quick Links