• 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
RA and Network Setup Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RA and Network Setup Scripting


  • Subject: RA and Network Setup Scripting
  • From: Mirko Gude <email@hidden>
  • Date: Sat, 07 Jul 2001 12:13:38 +0200

Hi,

I'am trying to get the time connected of a current internet connection. But
it does not work, I could not get the properties of Remote Access status.

Here ist my script, could someone help me? Thx...

tell application "Network Setup Scripting"
open database
set the current_config to name of every Remote Access configuration
whose active is true

set theLostTime to the time connected of (status of Remote Access
configuration current_config)

close database


Bye,
Mirko

PS. I'am using a german system, 9.1., AS 1.6. Is there any error known?
because AppleScript in a Nutshell describes it like the way I have tried...
or not?


References: 
 >Re: Offset vs. Repeat loops (From: Andy Wylie <email@hidden>)

  • Prev by Date: Re: Offset vs. Repeat loops
  • Next by Date: Re: [Ann]: KinderShell.osax is now on www.osaxen.com
  • Previous by thread: Re: Offset vs. Repeat loops
  • Next by thread: Re: Offset vs. Repeat loops
  • Index(es):
    • Date
    • Thread