• 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: Scripting the Location
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting the Location


  • Subject: Re: Scripting the Location
  • From: "John C. Welch" <email@hidden>
  • Date: Sat, 30 Aug 2003 15:41:05 -0400

On 08/30/2003 15:17, "Paul Berkowitz" <email@hidden> wrote:

> When I do it from 'do shell script' (OS 10.2.6), I get it as part of an
> error message instead of directly:
>
>
> do shell script "scselect"
>
> ERROR --> "usage: scselect [-n] new-set-name
>
> Defined sets include: (* == current set)
> 0 (Home)
> * 1 (Modem On)
> 2 (File Sharing)"
>
>
> What is the [-n] new-set-name all about? There is no 'man scselect' nor
> 'apropos scselect', and nothing in my 1100-page "Unix Power Tools" about it
> either.

Without any number after scselect, you get the current selection out of all
the configs. If you wanted to change to your Home setting, you would use

scselect 0

john

--
"These things we do that others may live."
USAF Pararescue
_______________________________________________
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.

  • Follow-Ups:
    • Re: Scripting the Location
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Scripting the Location (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Scripting the Location
  • Next by Date: Re: Scripting the Location
  • Previous by thread: Re: Scripting the Location
  • Next by thread: Re: Scripting the Location
  • Index(es):
    • Date
    • Thread