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?
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.
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…
another way: often people will have named their root drives differently across several computers. You could easily check for those names.
Thank ! I think yair had the best and simple idea. I will do that with a [coll]
C74 RSS Feed | © Copyright Cycling '74