• 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
newbie /(current time) ..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

newbie /(current time) ..


  • Subject: newbie /(current time) ..
  • From: jitse <email@hidden>
  • Date: Thu, 25 Jan 2001 18:01:44 +0100

in the following script (which I assembled with the help of some helpful
mebers of this list:) the time operation does not seem to work:

set theTime to {current time}

tell application "Network Setup Scripting"
try
open database
begin transaction
if theTime comes after 9*hours and theTime ,
comes before 17*hours then
set active of TCPIP v4 configuration "ISP1" to true
set active of Remote Access configuration "ISP1" to true
else
set active of TCPIP v4 configuration "ISP2" to true
set active of Remote Access configuration "ISP2" to true
end transaction
close database
on error
abort transaction
close database
end try
end tell


any hints ?!(I am a real absolute beginner..)
thanks .jitse


  • Follow-Ups:
    • Re: newbie /(current time) ..
      • From: Mr Tea <email@hidden>
  • Prev by Date: QuarkXpress find and replace with variables (new question)
  • Next by Date: Re: What has happened to Network Setup Scripting?
  • Previous by thread: Re: QuarkXpress find and replace with variables (new question)
  • Next by thread: Re: newbie /(current time) ..
  • Index(es):
    • Date
    • Thread