Re: Machine ID
Re: Machine ID
- Subject: Re: Machine ID
- From: Axel Luttgens <email@hidden>
- Date: Tue, 29 Apr 2003 20:31:45 +0200
Robert Poland wrote:
Hi,
Couldn't stay unsubscribed, so I'm back.
Hello :-)
I have a script that I use on multiple machines. I would like to
individualize the script on a machine basis. And not have to create a
different script for each machine.
Is there a command (or series of commands) that will identify
different machines?, NOT different OSes.
TIA,
Assuming:
1. every machine targeted by your script has an ethernet card,
2. none of those computers uses some tricks for changing its MAC address,
3. those computers are running under OS 10
something like this one-liner could perhaps meet your requirements:
(words 2 thru -1 of (do shell script "ifconfig en0 | grep 'ether'"))
as string
HTH,
Axel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >Machine ID (From: Robert Poland <email@hidden>) |