• 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: RA-Status work-around
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RA-Status work-around


  • Subject: Re: RA-Status work-around
  • From: Emmanuel <email@hidden>
  • Date: Fri, 6 Apr 2001 01:19:08 +0200

At 7:50 +0200 5/04/01, Christopher C. Stone wrote:

>---------------------------------------------------------------------------
> with timeout of 2 seconds
> tell application "Network Setup Scripting"
> try
> open database
> set ipAddress to IP address of (first TCPIP v4 configuration
>whose active is true)
> end try
> close database
> end tell
> end timeout
>
> if ipAddress is not "0.0.0.0" then
> set ipOnFlag to true
> end if
>---------------------------------------------------------------------------

Is that the code you really use? If the "set ipAdd" fails, I suppose the
"if" will error, too?

Emmanuel


  • Follow-Ups:
    • Re: RA-Status work-around
      • From: "Christopher C. Stone" <email@hidden>
References: 
 >Re: When did Remote Access Commands get depreciated? (From: Devon and Cornwall <email@hidden>)
 >Re: When did Remote Access Commands get depreciated? (From: Bill Cheeseman <email@hidden>)
 >Re: When did Remote Access Commands get depreciated? (From: "Christopher C. Stone" <email@hidden>)
 >RA-Status work-around (From: "Christopher C. Stone" <email@hidden>)

  • Prev by Date: Re: Dismissing Dialog Box
  • Next by Date: Re: New Folder with date
  • Previous by thread: RA-Status work-around
  • Next by thread: Re: RA-Status work-around
  • Index(es):
    • Date
    • Thread