• 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
Deleting and Activating configs in RA
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Deleting and Activating configs in RA


  • Subject: Deleting and Activating configs in RA
  • From: email@hidden
  • Date: Sat, 30 Dec 2000 10:51:31 -0500

I can delete an RA config (even an active one) with:

set del_config to "->Erols"
try
tell application "Network Setup Scripting"
set the transaction_ID to ""
open database
set the transaction_ID to begin transaction
delete Remote Access configuration del_config
end transaction
close database
end tell
on error error_message number error_number
try
tell application "Network Setup Scripting"
if the transaction_ID is not "" then abort transaction
close database
end tell
on error
end try
end try

and i've changed the TCP/IP Config script that is in the Networking
mod to choose a config to delete from a list of configs (although
this will refuse to delete an active config).

What I'm trying to do is make an non-active config active then choose
a non-active one to delete.

I just can't seem to get the syntax right to force RA to make a
config active - although most of them will compile they dont work!!!

Any suggestions?

Jim

[Happy New Year!!]


  • Prev by Date: scripting for M100
  • Next by Date: Re: Beginner
  • Previous by thread: scripting for M100
  • Next by thread: ODBC (Sybase) Scripting Addition?
  • Index(es):
    • Date
    • Thread