Hi guys this is my first apple script so tell me what you think!

Hi guys this is my first apple script so tell me what you think
display dialog "Daily morning routine will now open"
say "Good morning I will now play your playlist,"
say "Ok now i will open up your wmail and look for new mail"
open application "iTunes"
tell application "iTunes" to play library playlist
--Note: This tells itunes to play the library
open application "Mail"
tell application "Mail" to check for new mail
--Note: This tells mail to open and check for new email
say "your new mail is waiting to be selected,"
--Note: This lets the user get an update on what the CPU is doing
say "I will now open up your weather, and trafic conditions,"
display dialog "Please enter your zip codes on both sights"
tell application "Safari" to open location "http://www.weather.com/"
say "please enter you zip code"
tell application "Safari" to open location "http://www.traffic.com"
say "once again please enter your zip code"
--Note: This tells safari to open up the twp web sights listed

So far, so good, and welcome to AppleScript - you could save yourself a little typing by using a timeout with your first dialog and building the URLs with your zip code (I just looked at the URL bar):
display dialog "Daily morning routine will now open" giving up after 4
set ZipCode to "95014" -- change as needed
open location "http://www.weather.com/weather/local/" & ZipCode & "?lswe=" & ZipCode & "&lwsa=WeatherLocalUndeclared&from=whatwhere"
open location "http://my.traffic.com/Controller?appname=mytraffic&workflowname=routing&pointA=" & ZipCode & "&pointB=" & ZipCode

Similar Messages

  • Good evening, my name is Ludmila I have a problem. im buy second hand iphone 5 but I can not use the screen shows asking me apple id but I do not know this is my first iphone I do not know what the police thought it was stolen or lost but I you can help m

    Good evening, my name is Ludmila I have a problem. im buy second hand iphone 5 but I can not use the screen shows asking me apple id but I do not know this is my first iphone I do not know what the police thought it was stolen or lost but I you can help me. Someone told me we should stop function Find my iphone but how?? email does not even know the first lord. It cost me 400 euros but may not use iphone. someone laugh at me because I deceived. Please help me tell me his email talk to you should stop off iCloud or ID

    Scuzati de engleza google translate

  • Now that Apple is offering unlocked Iphones do you think it's possible to change my iphone that i bought plan free? I'm just thinking of this cause i payed full price for it... what do you guys think?

    Now that Apple is offering unlocked Iphones do you think it's possible to change my iphone that i bought plan free? I'm just thinking of this cause i payed full price for it... what do you guys think?

    rv_raul82 wrote:
    Now that Apple is offering unlocked Iphones do you think it's possible to change my iphone that i bought plan free? I'm just thinking of this cause i payed full price for it... what do you guys think?
    No.

  • Bought the Iphone 6   2days ago. My mac pro finds the phone on bluetooth but phone will not discover ANY bluetooth divices. Have hard reset the phone and restarted as well. nothing. Any suggestions or issues. This is the first apple phone I have owne

    Bought the Iphone 6   2 days ago. My mac pro finds the phone on bluetooth but phone will not discover ANY bluetooth divices. Have hard reset the phone and restarted as well. nothing. Any suggestions or issues. This is the first apple phone I have owned. Am not very happy that Bluetooth would present a problem.

    I can't help with the other devices but note that an iPhone will not pair via Bluetooth to a computer (Mac or Windows) except for personal hotspot and then only if your cellular plan supports it. https://discussions.apple.com/docs/DOC-7722
    If you are attempting to use Handoff/Continuity, that does involve Bluetooth but the devices are NOT paired; Bluetooth just needs to be on and the devices in range of each other. The following may help with Handoff/Continuity issues: http://support.apple.com/kb/TS5458

  • I want do a upgrade the operating system of a Powerbook G4?  If so, what operating system do I use.  Thanks.  PowerBook, Mac OS X (10.4.11), 512 MB SDRAM..... I want install 10.7.2     This is my first Apple......

    I want do a upgrade the operating system of a Powerbook G4?  If so, what operating system do I use.  Thanks.  (PowerBook, Mac OS X (10.4.11), 512 MB SDRAM)..... I want install 10.7.2.....  can i do it???? 
    This is my first Apple......

    Mac OS X 10.5 Leopard installation system requirements
    http://support.apple.com/kb/TA24950
    Leopard is no longer available at the Apple Store but may be available by calling Apple Phone Sales @ 1-800-MY-APPLE (1-800-692-7753).
    If you can't obtain a retail install DVD from Apple, look on eBay or Google the installer part numbers to possibly find at an on-line store. Here's what to look for:
    MB427Z/A  Leopard 10.5.1 install DVD
    MB576Z/A  Leopard 10.5.4 install DVD
    MB021Z/A  Leopard 10.5.6 install DVD (single user)
    MB022Z/A  Leopard 10.5.6 install DVD (5-user family pack)
    Installing Mac OS X 10.5 Leopard
    http://support.apple.com/kb/HT1544
    Mac OS X 10.5 Leopard Installation and Setup Guide
    http://manuals.info.apple.com/en/leopard_install-setup.pdf
    After you install the base 10.5, download & install the 10.5.8 combo update at http://support.apple.com/downloads/Mac_OS_X_10_5_8_Combo_Update
    The DVD should look like this
    Caution - Leopard does not support classic mode. So, if you currently open OS 9 apps in classic mode, you won't be able to do this if you upgrade to Leopard.
     Cheers, Tom

  • Open message to Apple - why the **** do you force us to deal with this Genius Playlist crap if using iTunes Match?? GET AN OFF OPTION INSTALLED.   I AM PAYING FOR MATCH SO QUIT FORCING YOUR INANE ATTEMPTS AT WHAT YOU THINK I LIKE!!!!!!

    Open message to Apple - why the **** do you force us to deal with this Genius Playlist crap if using iTunes Match?? GET AN OFF OPTION INSTALLED.   I AM PAYING FOR MATCH - SO QUIT FORCING YOUR INANE ATTEMPTS AT WHAT YOU THINK I LIKE ON ME !!!!!!  YOU ALREADY HAVE THE OPTION WHEN MATCH IS OFF.  HOW CAN YOU POSSIBLY THINK THERE IS A CONNECTION?????   LET ME ME ME DECIDE!
    IF anyone knows how to turn that Genius crap OFF WHILE MATCH IS 'ON' - Please let me know. Under 10.7
    I HATE THESE PLAYLISTS - NEVER USE THEM- WASTES MY SCREEN REAL ESTATE..

    At the moment it is not possible to disable Genius Playlists on iOS devices. However, these forums are user-to-user forums and no Apple employees participate here. You would be better to submit your polite feedback via the Apple Feedback page: http://www.apple.com/feedback/

  • Tell me if you think this looks like SIN CITY!

    I made this in After effects, but the colors didnt look good at all, so I brought it into motion to play around with, and with various blend modes, I made this look like the SIN CITY.
    I multiplied the clip, with the one on the bottom having a glow, blur and a light rays filter, then the cllip in the top had its opacity dropped to let some of the bottom clip shine through.
    Let me know what you think! This was a test for a short that I want to make...
    here is the link:
    http://www.mideagenius.com/sincity2.mov

    no CG, I dont know any 3d programs but im trying to learn lightwave. i used after affects, and took pictures of the sides of buildings, then assembled them into blocks. Then i duplicated those and comped them into another comp, and made a row of about 7 buildings. then using the z, y, a x scales, i made the buildings different sizes. then i duplicated the row about 5 times and made the city type thing,animated the camera and there you go. then i brought the rendered clip into motion to mess with the color and make it look sin city'ish.
    Im still messing with it to try and cut down on the pixel zipper jaggy edges. ANy ideas patrick on how to make the lines sharper? Thanks.

  • HOW CAN I START DOWNLOADS AUTOMATICALLY? I DON'T NEED TOO SEE THE SAVE OR DISCARD BOX. THIS BUGS THE CRAP OUT OF ME. CAN I CHANGE THIS, OR ARE WE FORCED TO DO WHAT YOU THINK IS BEST? THANKS, KEITH D.

    HOW CAN I START DOWNLOADS AUTOMATICALLY? I DON'T NEED TOO SEE THE SAVE OR DISCARD BOX. THIS BUGS THE CRAP OUT OF ME. CAN I CHANGE THIS, OR ARE WE FORCED TO DO WHAT YOU THINK IS BEST? THANKS, KEITH D.

    Hey, Jeff...
    I don't know how I could have made my question any more clear -- so let me try approaching it the other way around, and refer back to your answer(s).
    You've been responding by saying that it's okay for me to remove the Creative Cloud versions of my software, but I don't have any Creative Cloud versions installed! I'm not talking about that at all, I'm talking about the software for Creative Cloud itself -- I don't use it, I don't need it, I don't want it, and all it does is nag me, telling me that there's updates for it (Creative Cloud). I have the full Adobe Creative Suite 6 Design Standard bought and paid for, I have no reason nor need to "rent" any later versions, I'm just talking about the Creative Cloud software itself that got installed on my system when I installed that suite of programs.
    Like I said, I don't use Creative Cloud at all -- all it does is "nag" me, and eat up space on my hard drive. When I go in my Windows Control Panel and look at my list of installed programs, there it is -- "Adobe Creative Suite" -- and it's listed separately from "Adobe Creative Suite 6 Design Standard" (of which I've only installed Photoshop, Acrobat and InDesign, basically, as those are the only programs I use at all at the moment). Can I just uninstall "Adobe Creative Suite" without it affecting "Adobe Creative Suite 6 Design Standard", i.e. my Photoshop, etc. will still work just fine, and I can still get updates and stuff? And by "updates" I don't mean get later versions of Photoshop, etc., I just mean any possible updates to the software that I do already have (that comes with Adobe Creative Suite 6 Design Standard).
    I hope that makes my question a little more clear?

  • HT4060 My ipad mini wont charge I bought a new charger since the old one didn't charge my ipad and the same problem is happening i charged it over night and when I woke up it said 50% soo can someone help me this is my first apple product a

    Well my ipad mini isn't charging.. I with the original charger it didn't show the charging sign when plugged in.. And I bought a new one a 12:00 one from bath bed and beyond. Now it ain't charging again even thought it did a few days ago.. Now I don't know what to do.. I don't wanna keep buying chargers..

    Could be the charger, cable or iPad. Plug the USB cable into your computer. It may say "Not Charging", however, it is charging slowly and will verify that the cable is good.
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    The quickest way (and really the only way) to charge your iPad is with the included 10W or 12W (5W on Mini) USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (2.5W, most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.htmlhttp://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.htmlhttp://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abouhttp://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging-http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipahttp://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.htmlhttp://www.apple.com/batteries/ipad.html
    iPhone: Hardware troubleshooting (Power/Battery section also applies to iPad)
    http://support.apple.com/kb/TS2802http://support.apple.com/kb/TS2802
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30https://discussions.apple.com/thread/3921324?tstart=30
    iOS 7 Battery Life Draining Too Fast? It’s Easy to Fix
    http://osxdaily.com/2013/09/19/ios-7-battery-life-fix/http://osxdaily.com/2013/09/19/ios-7-battery-life-fix/
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.htmlhttp://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    iPad: Charging the battery
    http://support.apple.com/kb/HT4060http://support.apple.com/kb/HT4060
    Best Practices for iPad Battery Charging
    http://www.ilounge.com/index.php/articles/comments/best-practices-for-ipad-batte ry-charging/http://www.ilounge.com/index.php/articles/comments/best-practices-for-ipad-batte ry-charging/
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-iphttp://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    How to Save and Prolong the battery life of your new ipad
    https://discussions.apple.com/thread/4480944?tstart=0https://discussions.apple.com/thread/4480944?tstart=0
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipadhttp://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
    iPhone, iPod, Using the iPad Charger
    http://support.apple.com/kb/HT4327http://support.apple.com/kb/HT4327
    Install and use Battery Doctor HD
    http://itunes.apple.com/tw/app/battery-doctor-hd/id459702901?mt=8http://itunes.apple.com/tw/app/battery-doctor-hd/id459702901?mt=8
    To Extend a Device’s Battery Life, Get to Know It Better
    http://tinyurl.com/b67c7xzhttp://tinyurl.com/b67c7xz
    iPad Battery Replacement
    http://www.apple.com/batteries/replacements.htmlhttp://www.apple.com/batteries/replacements.html
    In rare instances when using the Camera Connection Kit, you may notice that iPad does not charge after using the Camera Connection Kit. Disconnecting and reconnecting the iPad from the charger will resolve this issue.
     Cheers, Tom

  • I have restored my 1st gen out of the box ipad and can still not connect to anything.wi-fi is enabled and strong.i am losing my mind.forgive me this is my first apple product and this startup should have been easy right?what else do I do?Help!

    I have an ipad that I can not get to connect to anything.Keep getting "server stopped responding" after ipad tries to connect for 5 minutes.I have wi-fi enabled and password given and enabled with strong signal.I have restored to factory settings once allready.I am an Apple newbie as this is my first product experience and it is not going very well.This should be easy and I must be doing something wrong or I have a defective ipad.I have the latest software installed and have itunes connected through my laptop.I am losing my wits and could use some help since I am lost with what to do now.Help?

    If your Laptop is using windows... Try this...
    Temporarily disable your firewall and antivirus software and try again...
    See here for Connection Issues
    http://support.apple.com/kb/TS1379
    From Here
    http://www.apple.com/support/itunes/troubleshooting/

  • This one into a apple script

    How can I put this into an apple script
    sudo ditto -rsrc \
    /System/Library/User\ Template/English.lproj \
    /Users/admin

    Its been a long whiIe since I used applescript but, I believe you use the command:
    do shell script
    and then your script underneath.
    "sudo ditto -rsrc \"
    "/System/Library/User\ Template/English.lproj \"
    "/Users/admin"
    you may have to add something like this into it.
    user name "AdminUsername" password "AdminPassword" with administrator privileges
    Again its been a while but its a start

  • What you think about the apple service? I cant recomment APPLE!

    Hi
    One week ago i posted a negative opic in this forum about the service of apple. My topic was cleared after a few minutes. I posted the same text again and they wrote me a email that i agreed the rules of the forum. I should sent my letter to a emailadress they gave me. Now i am waiting for one week and nobody answered. But for me its natural. When i sent my Ipod to apple nobody red my letter and so my ipod wasnt repaired. I sent my Ipod 3 times to allple and its still broken...
    These are my experiences with the apple service. What are yourones?

    957/3403
    Hi guesilein,
    Sorry about your posts removals, but the thing is that this is a user-to-user forum, very rarely someone from Apple would read it.
    Be only technical here, that's all, no offense.
    About service:
    I feel your pain, the "cannot recommend Apple anymore" feeling,
    BUT,
    remember it is the same everywhere, and I think even worse elsewhere.
    When you have a problem, do not take it from the argument side: this won't work.
    If you call, pretend there are only unimportant mistakes, and people are so great nevertheless etc etc,
    then
    you get what you want very easily, replacements etc.
    Apple still the best!
    (if not as good as it used to be)
    Good luck!
    Axl

  • What you think of this workstation

    Hi every one, I would like to get some advice of laptop workstation for video editing and after effect projects files.
    Do you think that
    HP Elitebook 8770w Mobile Workstation
    4 GB 1600 MHz DDR3 SDRAM
    500 GB 7200 rpm SATA II
    AMD FirePro™ M4000 (1 GB dedicated GDDR5)
    Or this Workstation
    HP EliteBook 8560w Mobile Workstation
    Genuine Windows® 7 Professional (64-bit)
    Intel® Core™ i7-2860 QM Processor
    8GB Memory
    750GB  Hard drive
    39.6cm,15.6" HD Display
    NVIDIA Quadro 2000M graphics 2GB
    Wireless, Bluetooth, Webcam , DVD+/-RW
    with it handle the randreing of HD and 4K footages in AE & PR?
    Thank you

    Neither of those two laptops is anywhere near powerful enough for 4K (and barely powerful enough for ordinary HD), unfortunately. (If you take look at the results list on the PPBM5 site, you will find that the fastest mobile-CPU-equipped laptop on the list is more than three times slower than a fast desktop PC in terms of the Relative Performance Index, or RPI.) The first laptop listed should be eliminated (as equipped) due to its insufficient amount of RAM and a GPU that cannot utilize MPE GPU acceleration at all. And since you did not list a CPU for the 8770w, I would have to assume that it has only a dual-core i5 CPU based on the lesser specs of that configuration. And based on my testing, no dual-core CPU - not even a desktop dual-core CPU - performs as fast as even a mediocre-performing quad-core CPU in CS5 or CS6.
    The 8560w configuration, on the other hand, is slightly older, and it still delivers a poor bang for the buck.
    So, if you were to custom-configure that 8770w, go with only a CPU whose model number ends in "QM" or "XM", one of the Quadros (the FirePro cannot utilize MPE GPU acceleration at all, and thus permanently locking CS6 to the software-only mode) and 16GB of RAM (yes, laptops really need all that RAM just to perform anywhere near as well as even a "budget"-class desktop). Also, you will need more than one fast hard drive just to run Premiere Pro to anyone's satisfaction (since all mobile hard drives use the SATA connection that cannot transfer in both directions simultaneously - they can only transfer in one direction at a time, but editing requires simultaneous bi-directional transfers).

  • I was so excited about apple pay and now setting it up hoping to replace a wallet within next year or so and then boom 8 cards you are done! Come on Apple 8 cards is that what you call wallet replacement?

    I was so excited about apple pay and now setting it up and boom 8 cards and you are done is that the wallet replacement they thought they'll do? really? I mean most people have 10-15 cards at least and I am, well because of my side business I have lots so 8 is nothing to me!

    Not sure what you are saying.  I was able to very quickly set up my AmEx card - no problems at all.  For my PNC and Macy's cards, companies still working on being ApplePay-ready. 
    It will happen, just not as fast as we might like, but I think it is going to be fabulous. 

  • Is there an easy way to transfer my windows documents, videos, etc. to my new Mac Pro ?  This is my first apple.

    Hello:
    Just got my first Mac Pro.  Is there a way I can transfer my windows documents,photos, videos, etc. to my Mac Pro by myself?  I live about 50 miles from the nearest Apple Store and commuting is problematic.

    Apple also has a series of quick read articles on a multitude of Switch from PC to Mac subjests, available here:
    http://www.apple.com/support/switch101/

Maybe you are looking for

  • Using illustrator How do I import a PDF Business Card and Edit

    Hi I have a sheet of business card that was saved as a PDF file. I need to be updated with info extract the logo and keep it separate.  I want to how to import the PDF file then edit all the images text.  Can this be done. Thanks

  • IMac or Router

    I'm at my wits end with this mysterious problem. My almost brand new iMac has worked flawless for many months now, connecting to the internet on our wireless network, using this Linksys router that is in a separate building along with the modem. Sudd

  • How to connect to remote computer using ARD and AE

    Does anyone have detailed instructions on how I can us my AirPort Extreme and setup all the ports to allow the use of ARD remotely?

  • RemoteApp on server 2008 works on mobile not external at home

    We have Windows Server 2008 R2 with Terminal Services installed and remoteapp, internally everyting works greate, when i am externally and i'm connecting with my iphone with Microsoft RDClient to our remoteapp services i will see all the remote apps

  • Error Handling on LSMW

    Hi Experts, Now I want to use a batch input recording to implement LSMW.We all konw that we can get return message if we use call transaction like below.  CALL TRANSACTION     CALL TRANSACTION 'VA01'                USING  V_IT_BDCDATA              OP