• 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: applescript to trigger dialup needed please
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript to trigger dialup needed please


  • Subject: Re: applescript to trigger dialup needed please
  • From: Gnarlodious <email@hidden>
  • Date: Tue, 30 Nov 2004 17:50:39 -0700

Title: Re: applescript to trigger dialup needed please
Maybe something like this?


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


-- Gnarlie


Entity dorayme spoke thus:

> Hi, for an old Mac I use Remote Access to dial up to my ISP and then open
> Outlook Express. I want a script to do this and "receive all mail". I don't
> want Remote Access to stay on the desktop and I don't want to manually see
> it off. I do want the Remote Access Status window to be on the desktop.
>
> OK, this is the closest I have come and it is not too bad, but surely
> applescript can do better:
>
> tell application "Finder"
>   activate
>   select file "Outlook Express "
>   open selection
>   select file "Remote Access "
>   open selection
>   
> end tell
>
> The reason OE is opened first is that RA is active for me when the script
> finishes running, then I just hit enter and the dialup begins. What would be
> the text for the script to trigger the Connect button, anyone know please?
> The recorder built into the script editor (Z1-1.5.5 and I use OS 9.1) does
> not register my clicking the button. The "receive all mail" is command m but
> that is within OE and I don't so much care if this is too tricky to code for
> in applescript. But surely the connect button in Remote Access Status (which
> btw is a command k in the parent application of Remote Access under the file
> menu) should be scriptable?
>
> dorayme
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >applescript to trigger dialup needed please (From: dorayme <email@hidden>)

  • Prev by Date: Re: Accessing the Desktop & directory path specifications
  • Next by Date: Re: set variables, in mass
  • Previous by thread: applescript to trigger dialup needed please
  • Next by thread: Path to Quark...
  • Index(es):
    • Date
    • Thread