Forums > MaxMSP

Distinguish a computer from an other

January 27, 2012 | 7:25 pm

heyheyyy

I pass my time to change from my PC to my laptop and viceversa.
There is some subtility to change for each.
Is there is an object or a trick for distinguish them easily?


January 27, 2012 | 8:42 pm

i hack it with keeping a name.txt file in root drive with name of pc
then loadbang it on startup, this also allows for simulating the other machine.



Jan
January 27, 2012 | 8:45 pm

I can think of several options. Ie you could write a Java- class that outputs the MAC adress of your networkadapters. They are unique.
Or – without scripting- write an abstraction that simply puts out that a name or number when banged. Modify that absraction slightly so that it put out a different name on each machine…
Jan


January 27, 2012 | 10:15 pm

another way: often people will have named their root drives differently across several computers. You could easily check for those names.


January 27, 2012 | 11:58 pm

Thank ! I think yair had the best and simple idea. I will do that with a [coll]


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