Script for internet connect with dial up modem, check email & log off

I am looking for a script to connect to the internet (with dial up) external apple modem, then check email and then log off and disconnect. I don't want any other applications opening internet connect? A would use this script file with ical and could have my email checked and open up in the morning before I leave for work....being that we have dial up the entire process of connecting to the internet and checking email is time consuming. Any help is greatly appreciated. thks

You need some additional logic in there - as written, the script will launch mail, then immediately disconnect the internet connection.
At the very least you need to add a delay before disconnecting to allow for Mail to download awaiting messages.
Since you cannot predict how long a delay you'll need, a better approach would be to query Mail.app and wait until it's idle, like:
tell application "Mail"
  launch -- doesn't need to be frontmost
  check for new mail -- get all mail
  repeat until (get background activity count) = 0
    delay 2 -- wait 2 seconds before checking again
  end repeat
end tell
In this way the script forces a check of new mail (don't assume that Mail.app is set to auto-check, especially for dialup users who often compose mail offline and may have automatic checking disabled), and it hangs around until Mail.app has finished downloading all the messages.

Similar Messages

  • Is there a fix for MAC Pro with Dual video cards that randomly logs off and on?

    From my readings on the Internet this seems to be a know problem.  That even furthers my frustrations with the latest OS X upgrades.  So far on both my MACBOOK PRO and my MAC PRO it has been a major downgrade as both systems are no longer stable.  Enough with my complaints...
    Is there any plan to address this problem with the MAC PRO?  I can't believe 10.8.1 didn't fix it.  More can be read on it at:
    http://jvm-technology.blogspot.com/2012/08/mac-pro-users-experiencing-random-log .html
    Does anyone have work around to use dual screen monitors with the system?  I have two video cards, the article says to remove one.  Has this worked for anyone?  Can I use dual screens with the one video card.  Before I go messing around with these type of things I just want to be sure that this is a real fix.  For the price of the cards and the system I really can't believe apple has this issue in the first place and has not fixed it. 

    Self-hosted add-ons have to be fixed for every new version of Firefox. Two to 6 months for updating an add-on is ridiculous for a program which has a new version release every '''6 weeks'''. If that extension was hosted at the official Add-ons website, Mozilla would take take care of "bumping" that extension, as long as it keeps working, for every new version of Firefox, as the new version is released.
    See this thread from yesterday, I posted instructions about how to "bump" that extension for Firefox 7.<br />
    https://support.mozilla.com/en-US/questions/884484
    You can also use this extension to "bump" an already installed extension for compatibility with the currently installed version of Firefox. <br />
    https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/

  • Trying for wireless network with D-Link modem, but no Internet connection

    I am trying to figure out a way to use my iBook elsewhere in my house, without being physically connected to my modem. I have a SpeedStream 5100 modem, use DSl, and just got a D-Link DI-524 router. My problem is that I cannot access the configuration page for the router. When I type in 192.168.0.1, as instructed, my we b browser "times out." I also cannot "ping" this address.
    I have tried multiple web browsers, have tried resetting the modem and the router, and have tried to contact D-Link and SBC for help, to no avail.
    My iBook recognizes a wireless network when all of the machines are connected, but I can't get online on either machine.
    As instructed by D-Link, I have changed the ISP address in my network preferences, but something doesn't seem to be working.
    What am I doing wrong?
    By the way, I have downloaded no firmware or drivers for the D-Link; I just hooked it up.
    Thanks in advance!

    Yes, the cable from the modem is plugged into the WAN port; the cable from the iMac is plugged into the WLAN port (I've tried all four ports). (By the way, don't feel bad about asking; I am not the most tech-savvy.)
    The IP address I have been trying to connect with the router/modem setup is 192.168.0.1. There is no way for me to input any numbers in the "router" box; it is blank.
    Normally, when I connect using DSL, my IP address is different, and there is a router number there, too.
    I have tried contacting D-Link's customer support via e-mail. After exchanging about three e-mails with them, they have declared me beyond their help. Ugh! I'm sure it's something simple that I'm not doing, but I just don't know what!

  • Using time capsule to share internet connection with a pc via ethernet

    Hi,
    I've recently acquired a time capsule and was wondering if i could use it to share a wireless internet connection via ethernet to my non-wireless (windows 7) pc?
    My current situation is that i have a wireless modem/router that shares my internet connection wirelessly with my mac mini.
    I have a pc without a wireless card that i want to connect to the wireless network so i was wondering if it was possible to attach the pc and the time capsule with an ethernet cable, then connect the time capsule to the wireless network and share the internet connection with the pc.
    Can anyone tell me if this is possible, and if so how?
    Thanks

    Welcome to the discussion area!
    IF...your wireless network is now being created by another Apple "n" router like an AirPort Extreme, AirPort Express or Time Capsule, it would be possible to do what you want to do.
    But the Time Capsule would not be compatible for what you want if your wireless is created by another manufacturer's router. The Time Capsule could "join" this wireless network so that backups would occur over wireless. However, when the Time Capsule is configured this way, the ethernet ports on the device are not active, so this would not help with the ethernet connection that your computer needs.
    A new AirPort Express 802.11n would do what you want. It has the capability of joining virtually any wireless network and the ethernet port can be enabled using the ProxySTA feature, so it would work for your purpose.

  • Can i run a printer off the ethernet cable connection without hurting the imac or is the ethernet slot only for internet connection?

    can i run a printer off the ethernet cable connection without hurting the imac or is the ethernet slot only for internet connection?

    Hi, Alan -
    How can I connect to both printer (HP 4050n, via direct connection) and internet (via LAN), as my iMac has only one R45 port?
    You can, but you'll need to expand your cabling a bit.
    You'll need to get an intermediate ethernet hub, switch, or router. That device sits alone, with the Mac, your printer, and your modem/LAN plugged into it.
    If you are already using a router, either separate or in combination with the modem (many modems have a built-in router), then you just need a hub or switch.
    I use an ethernet switch (10/100/1000) to let both my Macs (a 2010 iMac and an elderly G4 DA model) use my HP4000n printer and my modem. The ethernet switch is a passive device, meaning there's no setup nor instructing it required - it's truly plug-and-play. All four items (two Macs, printer, and modem) are plugged into it via ethernet; both Macs have full-time independent access to the printer and the modem.

  • Sharing an internet connection with Airport express and Time Capsule

    Hi, I have been happily using a cable modem and a Time Capsule for my internet connection and wireless network. We recently added solar panels to our roof and the system needs to be connected to the internet so it can be monitored remotely. Calling Comcast is an exercise in frustration, and the solar people don't seem to know exactly how to do it, so I'm trying this.
    We bought an Airport Express, thinking if it is connected with an ethernet cable to the solar system, it could somehow share the internet connection with the Time Capsule, or they could talk to each other. When I plug in the Airport Express, the only set-up option seems to be to set up a new network, which I don't think I want to do. Can anyone tell me how to set this up? Thank you!

    Hi, Under Water.
    You should configure the Express to "Join a wireless network" or to "Extend a wireless network". (Either one will work.)
    Connect your computer to your Express via Ethernet and open AirPort Utility. Press "Manual Setup" and authenticate if necessary.
    Go to the "Base Station" tab. Give the Express a name and password.
    Go to the "Wireless" tab. Set the Wireless mode to "Join a wireless network" or "Extend a wireless network." Enter the name of the wireless network created by your Time Capsule (or select it from the list). Check the box that says "Allow Ethernet clients" (if you're joining) or "Allow Wireless Clients" (if you're extending).
    Provide the appropriate security mode and password for the Time Capsule's network.
    Press "Update" and allow your Express to restart.
    Then you can plug the solar system into the Express's Ethernet port.

  • Can I share my iMac's internet connection with my Touch?

    I have a DSL modem and do not have a wifi network setup. Using Lion, can I still share my iMac's internet connection with my Touch?
    If so can you give me step by steps? Will this be something that I can turn off and on without interfering with my regular ethernet internet connection?
    Thanks. Asking this for a friend who is scared that she will somehow mess up her existing internet connection if she tries to set this up. She
    called AppleCare to get them to walk her through this and they denied any knowledge of the ability to do this. Huh?

    OK. Remember this is just a form of texting, so it's not easy to discern whether a question is explicit or rhetorical. Sometimes you have to give the reader a clue.

  • Make AirPort Extreme share internet connection with Time Capsule

    Hello,
    This is the situation: in one room there's an old Mac, the modem which delivers the internet and the AirPort Extreme which is connected to the modem.
    In another room there's the Mac Pro, the Time Capsule which is connected to the Mac Pro with an ethernet cable and to a printer via USB.
    I want the AirPort Extreme to wirelessly share it's internet connection with the Time Capsule so that the Time Capsule can share the printer with all three Macs (old Mac, Mac Pro and Macbook Pro), the Mac Pro can use the Time Capsule for Time Machine functionality and maybe the Macbook Pro too.
    And just using the Time Capsule for internet.
    How can I do this?
    At the moment the AirPort Extreme is disconnected and the Time Capsule is used instead, but this way I can't share the printer...
    Thanks!

    Is that AirPort Extreme "flat" or dome-shaped?  If it's flat (802.11n-capable), you should be able to configure the "main" router to "Allow this network to be extended" and the other to "Join a wireless network".  If the Extreme is dome-shaped, then you need a more-complicated "WDS" arrangement.  In either case it shouldn't matter much which router plays which role.
    I'm not sure what you mean by "And just using the Time Capsule for internet."
    Nathan-NL wrote:
    At the moment the AirPort Extreme is disconnected and the Time Capsule is used instead, but this way I can't share the printer...
    Is the printer connected to the USB port of the Time Capsule?  Can you see the printer in the "Printer" panel of AirPort Utility?  What happens when you try to use it from one of the Macs?

  • My 2007 mac pro has a slow internet connection with lion

    Hi:
    I've been dealing with a severely slow internet connection with my 2007 mac pro - dual quad core.  I have os 10.7.3.  I use wifi. 
    Typically, I'll experience difficulty loading websites completely.  Certain sites have a 90% failure rate to load most elements.  Other sites operate quickly from time to time.  Often, a site will simply fail to load at all.  My cable company cannot find anything wrong with my connection and other, newer devices don't have a problem loading sites.  It seems the issue is most likely related to my computer.
    Interestingly, I can usually "jump-start" the connection by turning my wifi connection off and on and this will (temporarily) allow me to get an image or video to download.
    Any ideas?
    Thank you for your time.

    Hi:
    I've been dealing with a severely slow internet connection with my 2007 mac pro - dual quad core.  I have os 10.7.3.  I use wifi. 
    Typically, I'll experience difficulty loading websites completely.  Certain sites have a 90% failure rate to load most elements.  Other sites operate quickly from time to time.  Often, a site will simply fail to load at all.  My cable company cannot find anything wrong with my connection and other, newer devices don't have a problem loading sites.  It seems the issue is most likely related to my computer.
    Interestingly, I can usually "jump-start" the connection by turning my wifi connection off and on and this will (temporarily) allow me to get an image or video to download.
    Any ideas?
    Thank you for your time.

  • Internet connection lost using hughesnet modem and Airport in Time Capsule

    I recently got Hughesnet which is the only available high speed internet at my home.
    The problem I'm having is that my wireless connectivity is lost to all devices requiring me to unplug and plug back in my Airport...at which time I have internet again until it goes out again.
    The problem does not appear to be an actual lost internet connection through my Hughesnet modem.
    Any thoughts on how to fix this problem?  I have reset my Airport to factory settings and named it TCwireless for simplicity.
    OS X 10.9.4
    3.2 GHz Intel Core i5
    8 GB 1600 MHz DDR3

    Hey there waltpe,
    Here are a couple of articles for you that will help you troubleshoot the connectivity of your AirPort router:
    Wi-Fi: How to troubleshoot Wi-Fi connectivity
    http://support.apple.com/kb/HT4628
    Wi-Fi Quick Assist
    http://support.apple.com/kb/HT1145
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Sharing internet connection with powerbook and nintendo wii through airport

    i have been trying to share my internet connection from my imac to my powerbook and nintendo wii. i've been unable to accomplish neither. i've opened the sharing preferences, chosen "share your connection from built in ethernet" which is how my imac is connected to the internet, and then chosen "to computers using airport". if i then set my airport options to automatic channel, encryption using 40 bit wep and set a 5 character password as it says if you "plan to share your internet connection with non-apple computers", (and then turn internet sharing on) shouldn't i be able to connect either/both my powerbook and my nintendo wii? or is it necessary to have some other piece of hardware or go through some other steps?
    thanks in advance for any help.

    I got a macbook for college and I had the same problem with connecting my Wii to the macbook's connection. But lo and behold, the internet's a wonderful place! I tried this out (http://www.macosxhints.com/article.php?story=20070514152251515) and it worked! I'm not sure about the powerbook bit though, sorry. Hope it works for you too.

  • Sharing internet connection with a PC

    Hi, I have a macbook with the latest OS X. I want to know if it is possible to share my PC's internet connection with my laptop, either through wifi, bluetooth, or firewire. I am running XP on the PC. I will not have a wireless network up, and I would like to have internet on both my mac and my pc. Is there a device that i can hook into my PC to broadcast a wifi network. It doesnt have to have a large range, I'll be using my laptop close to my desktop.
    Macbook   Mac OS X (10.4.7)  

    Really cool feature alert. Under System Preferences-->Sharing you can have your Mac share to any computer connected via Wi-fi, Firewire, or Ethernet. Whichever adapters are not used for the Internet connection are available.
    It saved me lots of grief setting up some stubborn Windows boxen that only loaded the firewire driver as the OS was setup.

  • Unable to use Internet Connect with my new wireless device

    I just received a new wireless device for my macbook pro. Normally I sign on with Internet Connect, but after setting up the new card, I can only connect using Verizon Manager, which usually doesn't give me good connection, I don't know why.
    I called the Verizon people, they mostly are clueless as to how I was able to sign on using both Internet Connect and Verizon Manager before with my old card. I remember there's a way of setting up manually if you want to use Internet Connect. Problem is, when I went to Systems Preferences and clicked on Network, a pop up prompt saying "your network setting have been changed by another application" keeps popping up even as I keep closing it. ***?!!! How can I get rid of it so I can change network setting manually?
    I just want the option of connecting with Internet Connect with my new wireless device. BTW, when I try connecting with it using my old setting National access/ Broadband access , I get a message saying "the selected communication device does not exist".

    "I just received a new wireless device"
    If not from Verizon, then who? Did it come w/a manual? If not, have you contacted the vendor/manufacturer for instructions?
    ==========
    "A Fix for "Your network preferences have been changed by another application" Error
    In the Library/Preferences/SystemConfiguration/ folder delete the following:
    com.apple.airport.preferences.plist
    NetworkInterfaces.plist
    preferences.plist
    com.apple.nat.plist
    You will have to re-configure all your network settings since deleting"
    !http://i50.tinypic.com/izvwo1.gif!

  • Having trouble with Airport connecting with Verizon wireless modem.

    Having trouble with Airport connecting with Verizon wireless modem.  Any ideas?

    Haven't asked Verizon.  I think it is in my settings for Airport.  Need to know proper settings.

  • I want to share internet connection with external IP

    Hello, guys.
    I am running 2010 2.4GHz Mac Mini with 2GB RAM. My inernet cable goes directly to my Mac with no router whatsoever. Here's my problem:
    I'm trying to set up a game server (Minecraft). So I need port 25565 to be opened. I managed to do that on my Mac and it's working perfectly. But now I want to host that server on my laptop (running Windows 7).
    When I share my internet connection with that laptop and run the server and then check the port using canyouseeme.org I get message that that port is closed, connection refused.
    After few hours of no results (adding Firewall rules, trying to port forward (before I see that port forwading can be done only using a router)) I call up my ISP and the guy tells me that when my Mac shares the internet connection, my laptop's IP is internal thus making the server that it's running invisible to others. My question is:
    How do I share the Mac's connection via WiFi so that the laptop gets external (visible to the public) IP?
    I really hope I made my problem clear.
    Thanks.

    Get a router.
    The internet is a dangerous place for a computer without a properly configured firewall.
    Also, when you get said router, look at the Logmein Hamachi VPN. It provides a point to point vpn connection which should resolve your minecraft issues.

Maybe you are looking for

  • "END OF FILE REACHED"?????

    IT WILL NOT ALLOW ME TO CREATE INSTRUMENTS- NONE OF MY FILES ARE WORKING -IM GETTING NO SOUND WHATSOEVER--I AM COMPLETELY LOST AND GOING CRAZY WITHOUT MY MUSIC-- CAN SOMEONE HELP ME OUT HERE PLEASE [email protected]

  • How can I import one iweb site from my laptop to my iMac, which already has four sites built on it?

    I created a website on my laptop using iweb, and would like to export the project so I can import it into the iWeb on my iMac, which already has four other sites that I created in it.  I can't seem to find any info or threads on being able to import

  • Distribution channel-wise customer sales and outstanding report.

    Hi In our scenario, one customer is direct factory sales as well consignment sales customer also. We created two distribution channel. But customer master record is one. Now my client requires customer report: Total sales value and quantity - distrib

  • How to get CGNAT statistics from ASR?

    Hi team, Is it possible to get nat statistics via SNMP wich contains in show cgn nat44 natXX stat command. We use IOS XR 4.3.1 and rancid every 1 and 4 minutes. But sometimes the cgn_ma process stayes in Blocked. Regards, Konstantin

  • Editor no longer available

    Hello everyone, After a long period, I was very satified on Photoshop element 5.0, I recently tried to start the Editor but it did'nt work anymore. clicking fast repair or total repair it responses with "attemp to connect to  an illegal addres" and a