• 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: Internet Dis/Connect script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Internet Dis/Connect script?


  • Subject: Re: Internet Dis/Connect script?
  • From: Gnarlodious <email@hidden>
  • Date: Wed, 12 Feb 2003 16:42:07 -0700

Entity Riccardo Perotti spoke thus:

> Can somebody provide a simple, working PPP Dis/Connect script for Jaguar?


tell application "Internet Connect"
activate
set mystat to get state of status
end tell

if mystat > 0 then
tell application "Internet Connect"
disconnect
quit
end tell
else
tell application "Internet Connect"
connect
quit
end tell
end if
Hope that makes sense . . .



-- Rachel
http://www.Spectrumology.com
AIM Gnarlodious
_______________________________________________
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.

References: 
 >Internet Dis/Connect script? (From: Riccardo Perotti <email@hidden>)

  • Prev by Date: Re: applescript CGI under 10.2.3 (server)
  • Next by Date: BEST way to change 1 character in a file?
  • Previous by thread: Internet Dis/Connect script?
  • Next by thread: Re: Internet Dis/Connect script?
  • Index(es):
    • Date
    • Thread