"to do" automation help, please

I'm tired of having to go through the whole trouble of having to add an alarm and then tell it what kind, same day at 9:00 am, etc. every time I create a to do. I wish this could be automated somehow, but it doesn't look like automator will do it. any suggestions?

Try this script. Feel free to modify it. Watch out - there is no error handling! Save it in ~/Library/Scripts and you can run it from the menu bar's script menu.
AK
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">(* Make new alarmed ToDO using data supplied by user at prompts *)
(* AK Jan 2007 *)
(* fell free to modify, throw away, whatever ... *)
tell application "iCal"
set CalList to name of calendars
end tell
set CalName to (choose from list CalList with prompt "Which calendar:" with title "To Do Maker" without empty selection allowed)
if (count of CalName) > 0 then set CalName to item 1 of CalName
set MySummary to text returned of (display dialog "Title:" default answer "Do it" with title "To Do Maker")
set today to current date
set ToDate to date string of today
set MyDate to text returned of (display dialog "Due Date:" default answer ToDate with title "To Do Maker")
set MyDate to date MyDate
set ToTime to (MyDate + 8 * hours) as string
set MyTime to date (text returned of (display dialog "Alarm Time:" default answer ToTime with title "To Do Maker"))
set MyDesc to text returned of (display dialog "Note:" default answer "" with title "To Do Maker")
tell application "iCal"
tell calendar CalName
set MuchToDo to make new todo at end of todos with properties {description:MyDesc, summary:MySummary, due date:MyDate}
tell MuchToDo
make new display alarm at end of display alarms with properties {trigger date:MyTime}
end tell
end tell
end tell
</pre>

Similar Messages

  • PCI 6036E/SC 2075, can read only from ch 2, need to use both. help please

    I have interfaced DAQ PCI 6036-E with SC2075. I wrote a code to get data from analog input chl 1 and ch 2. I am getting data only from ch1. cables and hardware connected to sc2075 had been tested and are working properly. help please .Also, is it possible to test those channels from measurement and automation explorer and how ?.thanks

    Greetings,
    Yes, it is possible to test these analog input channels in Measurement & Automation Explorer (MAX). To do so, expand Devices and Interfaces, right-click on the PCI-6036E, and select Test Panels. On the Analog Input tab, you can set the Channel control to any of the device's channels. If both CH1 and CH2 function correctly in MAX, you will need to troubleshoot your code.
    Good luck with your application.
    Spencer S.

  • How do I restore Automated Help from a Device/thumbdrive?

    I re-installed Yosemite fresh after upgrading to a new hard drive and then migrated all my files over.  However, the automated help file did not come over.  So I went to a website that had a collection of the files:  https://github.com/upekkha/AppleHardwareTest
    There is found the correct version of the hardware test for my Macbook and then download a dmg file that created a device on my desktop (similar to when you plug in a thumbdrive) from which I could restore the .diagnostic file.  I don't have hidden files turned on so I can see it in the folder but its the right directory structure:  System/Library/CoreServices.  The website says to restore this file but I don't know how to do that.  I can't copy it without changing the set up to show hidden files, which I don't want to do and I am not sure that's the right way to do it.  So what is the easiest way to restore that to the Coreservices folder on my computer?  I could copy it to a thumbdrive if need be as well.  I have used the terminal but not real familiar with syntax so if I have to copy it that way please provide the exact syntax.  The full name of the device created on my desktop is:  "AHTBThree/System/Library/CoreServices/".  It appears as though there is nothing showing in Coreservices folder but as noted it is because the file is hidden.

    Well I figured it out so let me give step by step instructions in case anyone else has the same issue whereby you Apple Diagnostics file is missing or corrupted.
    First, you need to start terminal and enter the following command, which will make hidden files visible (don't worry you can change it back by giving the same command and substituting "FALSE" for "TRUE" once you are finished):
    defaults write com.apple.finder AppleShowAllFiles TRUE
    Then go to this site:  https://github.com/upekkha/AppleHardwareTest  to find the missing or corrupted ".diagnostics" folder.  As explained there, run EACH of these commands separately to determine the correct model and board number:
    sysctl hw.model | awk '{ print $2 }'
    ioreg -l | grep board-id | awk -F\" '{ print $4 }'
    The first will give you the model of your Mac (in my case, "Macbook 7,1") and the second will give you the board number (in my case, Mac-F22C89C8).  With those two identifiers you find your particular Mac product heading in bold on the page ((in my case a MacBook) and click or double click on the matching model and board number combination--this will download the ".diagnostics" folder you need including the complete folder structure (i.e., "System/Library/CoreServices/" in my case).  Navigate to the ".diagnostics" folder and copy it to the corresponding folder on your Mac (i.e., "System/Library/CoreServices/") in my case.  Then follow the instructions here:  Using Apple Diagnostics - Apple Support.

  • I am using garageband 11. I have recorded a free form intro. I want NO Tempo in this section. Later in the song I want a tempo to kick in. How can I go from NO TEMPO to tempo. It is the NO TEMPO part that is messing me up. Help please.

    I am using garageband 11. I have recorded a free form intro. I want NO Tempo in this section. Later in the song I want a tempo to kick in. How can I go from NO TEMPO to tempo. It is the NO TEMPO part that is messing me up. Help please.

    All measures in a GarageBand '11 project need to have a tempo.You can adjust the Tempo in the Master Track automation curve and vary it, but you have to set a tempo.  When recording the "No tempo" section disable the metronome and ignore the tempo. Just set the tempo automation for that part slow enough, that the duration of that part is long enough.

  • I keep being asked to update my Safari but when I do a Software update it scans but never gives me a list and just says no new updates. Help please!

    I keep being asked to update my Safari but when I do a Software update it scans but never gives me a list and just says no new updates. Help please!

    There are no updates to either OS 10.5.8 or Safari 5.0.6.
    If you need a later version of Safari you must first upgrade your operating system to a later version of OS X.

  • At the end of my IMovie I want to write some text: as in" Happy Birthday Mandy we had a great time with you. etc..  How do I go about this? Which icon in IMovie lets me have a place to write text?? help please

    Please see my ? above: Im making an IMovie and need the last frame to just be text (can be on a color). I don't know how to go about doing this.  Ive already done all my photos and captions. Need to have it ready for TOMORROW: Friday May 23rd. Help please!
    Thanks

    You can choose a background for the text from Maps and Backgrounds.  Just drag a background to the end of the timeline, adjust to desired duration then drag title above it.
    Geoff.

  • I have just updated my PC with version11.14. I can no longer connect to my Bose 30 soundtouch via media player Can anyone help please

    I have a Bose soundtouch system .Until today I could play my iTunes music through it via air  player . .I have just uploaded the latest upgrade from iTunes and now I am unable to connect to the Bose system . Can anyone help please? I can connect via my iPad and by using the Bose app so it is not the Bose at fault

    @puebloryan, I realize this thread is a bit old, but I have encountered a similr problem and wondered if you had found a solution. I've been using home sharing from itines on my PCs for years, but two days ago, it suddenly stopped. I can share from my Macs, but not from the ONE PC library where I keep all my tunes. I tried all the usual trouble-shooting measures.
    After turning home sharing off on the PC's iTunes, turning it back on and turning some other settings off and on, my Macs and Apple TV could briefly "see" the PC library, but as soon as I try to connect -- the wheel spins for a bit and then the connection vanishes. It's as if they try and then give up.
    Since this sounds so similar to your problem, I was hoping you finally found a solution. I am also starting a new thread. Thanks!

  • My iMac 24 can no longer be paired with the keyboard; it doesn't recognise any keyboard at boot up, even the one it is paired with. Can anyone help, please?

    My iMac 24 can no longer be paired with the keyboard; it doesn't recognise any keyboard at boot up, even the one it is paired with. Can anyone help, please?
    Thank. Simon

    Brian - The batteries are fine and there has only every been one keyboard paired with it. We have tried my MacPro keyboard as well, and it will not even recognise that there is a discoverable keyboard nearby.
    Thanks, Simon

  • Photoshop Elements 6 on Mac help please !!!!!

    Hi there,
              I need help please !!!!!
    I have PSE 6 for my imac and bought myself a NIKON D60 so far so good. I have installed PSE 6 which comes with ADOBE Bridge CS3
    I have bought a book as well as I am new to photoshop and in fact DSLR cameras.
    I have got my photos into Bridge OK by the way they are JPEG format. According to the book I can open the JPEG in camera RAW by either selecting the JPEG and then pressing cmd+R or by selecting the JPEG and select open with and camera RAW should be available to selct.
    I cannot get of the options to work any ideas please
    Secondly I have taken some photos in RAW format and put then into Bridge again I cannot get the camera RAW interface to open with these neff images.
    If I try to open the image PSE 6 opens and gives me an error that the file format is not supported by PSE 6
    Am I missing something here as I have been trying for a week now !!!!!
    Sorry if this comes across a stupid question but it is new to me
    Chris      UK

    There's no "theory" about it. You should be able to open a raw file from bridge by double-clicking it, but it will open in ACR in PSE. You can't just use ACR within bridge in PSE, if that's what you're trying to do. To open a JPEG in ACR, go to file>Open in PSE and choose Camera raw as the format after you select the file but before you click Open.
    If you've correctly updated ACR, bridge should show you thumbnails of your raw files. If it doesn't try emptying the Bridge cache.

  • Photoshop CS2. Help please.

    Approx 8 years ago I purchased Photoshop CS2 online from Adobe. This past weekend I had to buy a new computer (Windows 8.1), and when I logged into my Adobe account just now to obtain my serial number and enter it after I attempted to download CS2, it said invalid serial number. Help please.
    Both tech support and the online chat person were not able to help me.

    The Activation Servers for CS2 and prior have been taken down. See the link below for an explanation and solution. Be sure to follow all directions, including using the new download serial number supplied on the page.
    CS2 and prior
    http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.htm l
    --OB

  • I  used to have an OLD Photoshop cd but it has been lost and my program is no longer on cd. I talked with some photographer friends and this is what one of them told me to get: Adobe Photoshop Lightroom and CS CC... HELP please?

    I  used to have an OLD Photoshop cd but it has been lost and my program is no longer on cd. I talked with some photographer friends and this is what one of them told me to get: Adobe Photoshop Lightroom and CS CC... HELP please?

    If you still have your serial number, look at OLDER previous versions http://www.adobe.com/downloads/other-downloads.html
    Otherwise, the US$ 9.99 plan is what is current at Cloud Plans https://creative.adobe.com/plans

  • Creative live cam voice help please

    Help please,
    We are using the "live cam voice" model, with our computer (Vista 32bit), that appears to work OK, but after a few minutes we get the BSOD! We have tried un installing and re-installing drivers without any effect.Has anyone had this problem and if so how did you fix it.
    Regards,
    Arthur

    Thanks for your response. I have tried 3 ports so far, all with the same outcome. One of my sons had it happen to him on another computer (XP SP2) using this webcam . As to programmes open at the same time, I am not computer literate and have no idea what programmes were running on each occasion.We use the webcam for Skype and apart from that I may also have IE open and perhaps Outlook Express. Over and above those CS4 sometimes.
    If I cannot resolve this, can any one suggest another webcam please.
    Regards,
    Arthur

  • I get error message "unknown error" When trying to log on to itunes via pc, help please!

    I get error message "unknown error" When trying to log on to itunes via pc, help please!

    Hello, trolle56.
    Thank you for the question.  You may find these articles helpful in troubleshooting the error received with the iTunes Store. 
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Cheers,
    Jason H. 

  • I downloaded an upgrade to my adobe reader today, and ever since my search engine has switched to yahoo and wont change back to google. I have a macbook pro, help please? Does anyone know how I can change this back? I have tried through my settings but it

    I downloaded an upgrade to my adobe reader today, and ever since my search engine has switched to yahoo and wont change back to google. I have a macbook pro, help please? Does anyone know how I can change this back? I have tried through my settings but it doesnt work

    Hi Timia,
    If you are using Safari as a web browser :-
    Open Safari, go to Safari menu > Preferences > General, and put Google as the homepage. Then, choose Google as your default search engine.
    If you are using Google Chrome as the web browser :-
      Open Google Chrome.
      In the top right corner of the page, click the Chrome menu Chrome menu > Settings.
      In the "Search" section, select Google from the drop-down menu.
    Let me know if you still experience any issue.
    Regards,
    Aadesh

  • Will My Purchased Songs On My iPod Be affected if i sync my itunes library to my iPod?Help Please!

    A Song that i purchased on my iPod Wasnt able to get into my itunes library somehow ,and i want to sync my itunes library to my iPod because i recently Got a store brought CD and i want to insert it ,but im afraid my songs will get deleted ,especially my purchased ones...can someone help please ?

    Just sync. You can alway redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

Maybe you are looking for

  • CS4 for Mac AND PC?

    Hi All! I hope someone can help. My other half has CS3 on the Mac but it's disintegrating because he discovered (after buying it new legitimately) that it was already registered to someone else! He's contacted Adobe about this in the past but they ha

  • I transferred pictures over from my computer to my iPhone 5 and now i cannot delete them on the phone and cannot work out how to delete them from my phone by the computer?

    I trasferred pictures over from my computer to my iPhone 5 and now i cannot delete these pictures from my phone, and i cannot work out how to delete them from my phone by the computer as the pictures do not show up in my files on the computer, how ca

  • SOAP Sender timeout

    Hello guys i have a simple problem : SOAP <=>XI<=>RFC ; where as this states SOAP is sender, everything works fine but when sending SOAP request using XML spy the request reaches XI and becoz of large data its returning , the xml spy is timing out sa

  • Regarding Oracle SOA suite patch

    Hi All, From the following URL I find that :- http://www.oracle.com/technology/software/products/ias/htdocs/101310.html SOA suite patch set 10.1.3.4 has been released. However not sure whether this patch set can be applied on top of 10.1.3.1 version

  • Adding YTD Columns by Source Actual vs Budget

    Hi, I need to add a calculated column that sums accross months, but by the data source (Actuals vs Budget). I have three colonm levels, period number (ie 1,2,3  - hidden only for sorting), period name( ie DEC-07) and  Source (Actual & Budget). The de