RE: Network Setup Scripting problem
RE: Network Setup Scripting problem
- Subject: RE: Network Setup Scripting problem
- From: email@hidden
- Date: Sun, 28 Jul 2002 01:38:15 EDT
Greg,
It would seem to me that your code is missing the 'begin transaction' and
'end transaction' commands (as well as a variable, such as transaction_ID, to
reference the transaction as sucessful for later).
Think of the Network Setup Scripting app as a transaction loader into a
database which uses both field and record locking, and only unlocks on a
valid transaction request (and then only long enough to make the changes
before relocking itself). The timing is oft miserable between a request and
fulfillment (5 seconds? 10 seconds?), so the loader is designed to stack
requests and feed them, transaction by transaction, into the database
representing the configuration information. No transaction request = no
action on the part of the database, even if the database is 'open' for access.
Hope this fixes it...
E.G. :
set Turn_Off to "My config zero"
open database
set transaction_ID to begin transaction
set active of TCPIP v4 configuration the Turn_Off to true
end transaction
close database
Best Wishes,
=-= Marc Glasgow
Greg Wrote:
>
Can someone clue me in here? 1) I would like to learn what
>
is wrong with the code. 2) That aside, I am really just
>
trying to get a working routine that will test for a live
>
internet connection. So, if there is some other good way of
>
doing this, I am all ears.
>
>
Environment in which the problem is occuring: OS 9.1,
>
Applescript 1.8.3 (or 1.6), Network Scripting Addition 1.2
>
(or 1.3.1).
_______________________________________________
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.