Forums > MaxMSP

Shell Windows

Jan 28 2013 | 3:30 pm

Hello to all.

I am using DOShack mxj object to get SYSTEMINFO from a Windows machine. In Max window I receive Product ID for the computer. How can I extract the number it displays inside Max? Is this a secure way to authenticate for each computer?



Jan 28 2013 | 6:23 pm

i can’t tell you if it’s a secure way to find a unique ID. if theres a print object thats where the messages come from. if not try mxj syscommand. it is a little bit different but has outputs to evaluate results of the external command.O.

Jan 29 2013 | 1:04 pm

I am still trying to find how to get the specific number I want, as whenever I send SYSTEMINFO the mxj object spits out dozens of lines. However I can’t find how to extract only the number I want.

For example I use the same process in Mac using the shell object and I send the message:

ioreg -││grep IOPlatformSerialNumber


regexp "=(.*)"

Which gives me the result I want. However, I have tried many different combinations but I can’t figure out how to extract the value.

Many thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP