• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: One more thing...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >One more thing... (From: email@hidden)
 >Re: One more thing... (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: One more thing...
  • Next by Date: Re: One more thing...
  • Previous by thread: Re: One more thing...
  • Next by thread: Re: One more thing...
  • Index(es):
    • Date
    • Thread