• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. Applescript & Mac OS X 10.1 > Connecting with Internet Connect

Connecting with Internet Connect

Although the Network Setup Scripting application of Mac OS 9 does not have a complete counterpart in Mac OS X 10.1, the Internet Connect application provides scriptable access to TCP/PPP and Remote Access connections. Script 13 demonstrates how to use Internet Connect to make a dial-up connection to a phone number.

Script 13. This script uses the Internet Connect application to make a dial-up connection.

					property mynumber: "415-555-1212"
					property myuser: "Ethan"
					set mypassword to text returned of (display dialog "Password" default answer "")
					tell application "Internet Connect"
					connect to telephone number mynumber as user myuser with password mypassword
					quit
					end tell
				

					  


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint