• 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
Re: When did Remote Access Commands get depreciated?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When did Remote Access Commands get depreciated?


  • Subject: Re: When did Remote Access Commands get depreciated?
  • From: Dave Johnson <email@hidden>
  • Date: Wed, 4 Apr 2001 12:29:29 -0400

So how does one make a simple PPP connections with Network Setup Scripting?
when I try the example in the Guide book:

set the config_name to "Default"
try
tell application "Network Setup Scripting"
-- open the Networking Database
open database
-- start the connection process
connect Remote Access configuration config_name
--close the Network Database
close database
end tell
on error errString
try
-- close the database if it was left open
tell application "Network Setup Scripting" to close database
display dialog errString
end try
end try
(I previously created configuration "Default" )

All i get is a error message that "Some parameter is missing for a connection"

There are many examples of creating configurations but not for actually connecting!

What am I missing?

At 1:28 PM -0400 4/3/01, Bill Cheeseman wrote:
on 4/3/01 9:41 AM, email@hidden at email@hidden wrote:

> So now I need to restate my original question, in two parts:
>
> A. When I try to use "PPP status" from "Remote Access Commands" I get the
> error
> "Can't load Apple Shared Library Manager." This is under Mac OS 9.1; it
> worked
> fine under 8.6 and 9.0.1.

This is correct. Remote Access Commands is officially nonfunctional as of
Mac OS 9.1

> 2. In Network Setup Scripting, trying to get the "status" property of a Remote
> Access configuration results in a timeout; the Network Setup Scripting FBA
> doesn't respond. Yes, I'm putting the call in a "open database ... close
> database" block (and a "begin transaction ... end transaction" block, although
> that shouldn't be needed, since I'm not modifying anything).

This is also correct. The Status property in Network Setup Scripting is
broken in Mac OS 9.1.

So, it's Catch-22. You have to wait for the bug fix, whenever that may be.


--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA

The AppleScript Sourcebook - www.AppleScriptSourcebook.com
Vermont Recipes - www.stepwise.com/Articles/VermontRecipes
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users


References: 
 >Re: When did Remote Access Commands get depreciated? (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Dismissing Dialog Box
  • Next by Date: Re: File manipulating with FMPro fields
  • Previous by thread: Re: When did Remote Access Commands get depreciated?
  • Next by thread: Re: When did Remote Access Commands get depreciated?
  • Index(es):
    • Date
    • Thread