newbie /(current time) ..
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