Jump to content

scripting question


Recommended Posts

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!! :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...