Re: One more thing...
Re: One more thing...
- Subject: Re: One more thing...
- From: "Mark J. Reed" <email@hidden>
- Date: Tue, 24 Aug 2010 16:42:49 -0400
On Tue, Aug 24, 2010 at 4:34 PM, Mark J. Reed <email@hidden> wrote:
> Well, you can get a list of interfaces with something like this:
>
> set interfacesList to paragraphs of (do shell script "ifconfig | awk
> -F: '/^[^\\t]/ {print $1}'")
or, more simply
set interfacesList to words of (do shell script "ifconfig -l")
R'ing TFM helps...
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden