Re: concat
Re: concat
- Subject: Re: concat
- From: Joshua See <email@hidden>
- Date: Mon, 23 Jun 2003 07:16:34 -0500
On Wednesday, June 11, 2003, at 11:02 PM, Robert Poland wrote:
Hi,
The following script fails only at a cold boot. I think that sysID is
returned as a series of 2 character strings. To test that theory I
wanted to concat sysID. Is that even possible?
I can't seem to find concat in any dictionary.
If you just want the MAC address in a neat form, you could do the whole
thing in shell:
<script>
set sysID to do shell script "ifconfig | grep ether | cut
-b8,9,11,12,14,15,17,18,20,21,23,24"
-- I could shorten the grep search to "th" and still have it work, but I
-- wanted to play it safe in case of oddball NICs.
</script>
Though there really out to be a system attribute for this. Does anyone
know of a relevant gestalt code?
--
Sincerely,
Joshua See
_______________________________________________
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: | |
| >concat (From: Robert Poland <email@hidden>) |