Jump to content

Is there a way to get the creation time of nodes?


Recommended Posts

Thanks Mark, it works :) Although when I am trying to use it inside a string parameter, it's unable to evaluate the expression:

 

`opstat -c opinputpath(".", 0)`

 

I tried assigning it to a variable and returning that but still doesn't work. Is it because this is a command that just prints out a value, but not return anything?

Link to comment
Share on other sites

because opstat is hscript command, not hscript expression function

you need to use run() or execute() expression function to execute commands

 

so it'll be like

`run( "opstat -c " + opinputpath(".",0) )`
  • Like 1
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...