Re: Ethernet Hardware Address
Re: Ethernet Hardware Address
- Subject: Re: Ethernet Hardware Address
- From: Reinhold Penner <email@hidden>
- Date: Sat, 9 Feb 2002 19:01:49 -1000
Shane,
>
Have you moved ASP or the Utilities folder?
That was it. I had moved Apple's utilities into an Apple Utilities
folder. So I now moved them back and
do shell script "/usr/sbin/AppleSystemProfiler | grep \"Ethernet
address\""
now works. However, it is kinda slow and I think that my ifconfig
version is the faster and more reliable way of getting the Ethernet
address (at least if you've moved your utilities :-)
set x to paragraph 2 of (do shell script "/sbin/ifconfig en0 ether")
-Reinhold
_______________________________________________
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.