Programmatic access to signer and streamcount

Continuing the discussion from Directory Opus 13.9.1 (Beta):

How can signer and streamcount be retrieved in a script?

  • signer seems to be the same as item.metadata.exe.companyname and
  • streamcount seems to be equal to GetADSNames(item).count

Or are they elsewhere in the metadata object?

FSUtil.GetADSNames makes sense for the stream count.

Not sure if there is a way for scripts to get the signer at the moment. Evaluator code can get it via the column. Maybe there's a Windows scripting object for it but I'm not sure.

The exe.companyname value will be the company name from the file's version resource, which won't always be the same as the signer.

We'll add FSUtil.GetSignature for scripts in the next beta.

1 Like