get computer name
hello
I have an old windows xp machine running; and I am trying to bang out
the 'computer name' into a message box. The PC computer name is found in system properties tab. (it's called 'full computer name')
I have tried net.ip and net.domain with no luck, I can only get 'localhost'
thanks for help : )
Maybe it's possible nowadays using node.js in Max, see help for node.script.
What max version are you running on that PC ?
You can try jasch's getenv object.
http://jasch.ch/dl/jasch_objects_0.3_win.zip
this one works on max 4-6 and xp
I am not sure about older shell external for win.
Before that one had DOShack or fe.shell, both java based
hostname is usual message in command prompt to get computer name.
BTW, I almost forgot there is also the [gestalt] object, and its host message.
[gestalt] is cool. Did not know about that object.
It's just sad, that it destroys the backslashes on Windows, at least as shown in the gestalt.maxhelp example
"LOCALAPPDATA" : [ "C:UsersHardcoderAppDataLocal" ],
gestalt is a system call related to the MacOS 6 or 7 nanokernel and several of the classic mac os´s extensions (such as audio and network drivers but also most hardware specs) and present on macOS until today.
gestalt is a german word and means shape, figure, often connoted negative (freak, ugly person?) which i think makes it really funny when you look at an oldworld mac´s design.