• 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: simple question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple question


  • Subject: Re: simple question
  • From: Jolly Roger <email@hidden>
  • Date: Mon, 07 May 2001 10:57:26 -0500
  • Replyto: email@hidden

on 5/7/01 10:46 AM, Sandy Cimbaro (email@hidden) wrote:

> I'm just learning AppleScript today and set up a script to open
> Remote Access and then launch AIM. I got everything working, even
> signing into AIM, but I can't figure out how to send a return command
> to Remote Access to activate the "Connect" button. From what I can
> tell Remote Access isn't scriptable so I was trying to activate a
> Finder return to activate the button in the Remote Access connect
> dialog box. Is this doable?

First-off, in AppleScript, you generally don't click buttons etc., but
instead, you instruct applications to do things (connect for instance).
Take a look at the Remote Access Commands scripting addition installed in
System Folder > Scripting Additions folder. Command of interest are
probably PPP connect, PPP disconnect, and PPP status.

PPP connect : Initiates a PPP connection
PPP connect
[address string] -- The connection address (telephone number)
[user name string] -- The user name (cannot use guest access)
[password string] -- The user password (cannot use guest access)
[guest access boolean] -- Guest access (cannot use user name or
password)
[terminal window boolean] -- Open terminal window
[connect script alias] -- Use this connect script
[quiet mode boolean] -- Don't display dialogs
Result : small integer -- The result code; check the Open Transport PPP
Errors list

PPP disconnect : Closes a PPP connection
PPP disconnect
Result : small integer -- The result code; check the Open Transport PPP
Errors list

PPP status : Retrieves the status of a PPP connection
PPP status
Result : PPPStatusParam -- The resulting status information

HTH

JR


  • Follow-Ups:
    • Re: simple question
      • From: Emmanuel <email@hidden>
References: 
 >simple question (From: Sandy Cimbaro <email@hidden>)

  • Prev by Date: simple question
  • Next by Date: XML-RPC questions
  • Previous by thread: simple question
  • Next by thread: Re: simple question
  • Index(es):
    • Date
    • Thread