Finding selected event in iCal

I want to run a script that processes the currently selected iCal event / todo. (sync it with a Filemaker DB).
I cant find a command that returns the selected/current/active iCal object. I can only find an object one with a given property value.
I'm a bit new to this so any pointers would be greatly appreciated.
OTBC

Hi OTBC,
I was waiting for someone to post something Apple maight have added in newer versions of iCal, but I guess they didn't add anything.
There is no selection property in iCal, but you can create macro like statements to script applications. So, as a wrokaround in iCal, you could use keystrokes to get the name of the currently selected event.
tell application "iCal" to activate
tell application "System Events"
tell process "iCal"
keystroke return
keystroke "c" using command down
end tell
end tell
This would copy the summary of to selected event. You could tab to tab through the information for the event. This might help you pinpoint the event in the case where there are several events with the same summary. Like a macro you would have to test it out in iCal to find the right combination of keystroke and ui scripting.
Note that it is very hard to get recurrence events.
gl,

Similar Messages

  • How do I select multiple events in iCal 8.0?

    In OSX Mavericks, I used to be able to select multiple events in iCal in the event list view. I could select the initial event in the span of events to be selected. Then hold Shift while selecting the final even in the span of events. As a result, all of the events in that span would be selected.
    in OSX Yosemite, this is no longer possible. There appears to be no list view, and holding the Shift button does not allow me to select a span of events.
    What is the best way to select a span of events, say as much as 30 events?
    Thank you.

    Empty Caches
    1. Safari > Preference > Advanced
        Checkmark the box for "Show Develop menu in menu bar".
        "Develop" menu will appear in the Safari menu bar.
        Click Develop and select "Empty Caches" from the dropdown.
    2. Quit Safari if open.
        Option click the "Go" menu in the Finder menu bar.
        Select "Library" and then "Caches".
        Look for the folder 'com.apple.Safari"
        Right click "com.apple.Safari" and select "Move to Trash"
        Relaunch Safari.

  • How do I find an event which is triggered on line selection for ALV grid?

    Hi,
    I'm trying to find an event which is triggered when a user selects a row in the ALV grid. I want to add my own code in to add up the total values of selected lines, but can't find any event which will trigger my method.
    I found CLICK_ROW_COL but it's protected so when I try and add a method for it:
      PROTECTED SECTION.
        METHODS:
        select_row
            FOR EVENT click_row_col OF cl_gui_alv_grid.
    I get the syntax error:
    Access to protected event "CLICK_ROW_COL" is not allowed.
    Am I using the right event? Am I implementing it correctly?
    Any help appreciated. Thanks in advance.
    Gill

    I chose to solve this by removing the line select buttons from the ALV and replacing them with a checkbox defined as a hotspot.  I then used EVENT hotspot_click FROM cl_gui_alv_grid to highlight the line and change my totals on a single click.

  • When I try to create a new event in iCal on my iPod Touch I cannot select "done" or "cancel" to save it?

    However when I sync my Mac and my iPod it will show up fine on my Mac. It just drives me crazy and if I had to create more than one event in iCal I probably couldn't. Any fix to this? Thanks.

    You can not add events to the birthday's calendar. To add birthday's to the birthday calendar you need to add the birthday to a contact in the Contacts app.
    You can set your default calendar here:
    iCal > Preferences > General  > Default Calendar and chose the calendar you want to default to.

  • When I try entering a new event in iCal on my MacBook Air, I get an error message popping up on my screen that says: The request for account "iCloud" failed.  The server responded with "502" to operation CalDAVSetPropertyQueueableOperation. Help!!??

    When I try entering a new event in iCal on my MacBook Air, I get an error message popping up on my screen that says:
    The server responded with “502”
    The request for account “iCloud” failed. 
    The server responded with “502” to operation CalDAVSetPropertyQueueableOperation.
    The request for account “iCloud” failed.
    I am then given the option of staying Online or going Offline.
    Can anyone help me?
    thanks

    Hello b.krushel,
    Thank you for using Apple Support Communities
    Any number of things could cause this issue, so I would recommend this article named iCloud: Troubleshooting iCloud Calendar found here http://support.apple.com/kb/TS3999.
    These sections in particular:
    General Troubleshooting
    Make sure there are no current issues listed on the System Status that affect iCloud Calendar. The System Status is located on the iCloud Support webpage.
    Make sure you have fully enabled iCloud Calendar for the client you are using (for more setup and troubleshooting information on iOS, OS X, Windows and iCloud.com, see the additional details below).
    Check to see if the issue you are seeing is covered in iCloud Help. To search iCloud Help, visit help.apple.com/icloud.
    Check your settings and preferences as something may not be set up correctly. For example, having incorrect date and time settings can cause issues which are easily resolved by entering the appropriate settings.
    Troubleshooting Calendar on OS X Mountain Lion (iCal on OS X Lion)Note: For instructions on setting up iCloud Calendar with Calendar or iCal on your Mac, see iCloud Setup.If you are having trouble with Calendar or iCal on a Mac and you are using iCloud Calendar, try each of these steps, testing after each to see if the issue is resolved:
    Make sure you are using OS X Lion v10.7.2 or later. Click here for help verifying the version of OS X you are using.
    Make sure your computer is online. Attempt to view www.apple.com and iCloud.com. If you can't connect to the Internet, your iCloud calendars and events will not update in iCal. Click here for more information about troubleshooting your Internet connection.
    Verify that your iCloud member name is entered into the iCloud Preference pane in System Preferences. See iCloud Setup for more information about setting up iCloud on a Mac.
    Make sure you enter and update calendar information in the iCloud section of Calendar or iCal. Only calendars and events in the iCloud section of the Calendar or iCal Calendar list will be pushed to iCloud. Both Calendar and iCal for the Mac support the display of and interaction with multiple accounts and datastores, for example, iCloud, On My Mac, Exchange, Google, and so on. This makes it easy to create or modify events or calendars in a section of  Calendar or iCal that may not be updating iCloud. Learn more about moving local calendars to iCloud.
    In some cases, you may find that you have data duplicated in both the local On My Mac and the iCloud sections of Calendar or iCal. Learn more about resolving this issue.
    You can make the iCloud calendar your default calendar for all new events. In Calendar on OS X Mountain Lion, choose Calendar > Preferences > General, or in OS X Lion, choose iCal > Preferences > Generaland under the Default Calendar heading, select one of the Calendars under the iCloud heading. Close the Preferences window to save this change.
    If recent changes simply don't appear, try forcing Calendar or iCal to refresh by selecting Refresh All from theCalendar menu.
    Make sure your account was successfully created in Calendar on your Mac (or iCal). After upgrading to iCloud Calendar, you may need to quit and reopen Calendar (or iCal). To confirm your account is configured correctly in iCal:
    Open Calendar (or iCal).
    Open Calendar (or iCal) Preferences.
    Click Accounts. You should see an account with your iCloud member name entered.
    Turn iCloud Calendars off and back on
    Quit Calendar (or iCal).
    Choose Apple () menu > System Preferences > iCloud.
    Remove the checkmark in the checkbox next to Calendars.
    Close System Preferences and wait about a minute.
    Open System Preferences and choose iCloud.
    Replace the checkmark next to Calendars.
    Close System Preferences.
    Open Calendar (or iCal) and test to see if the issue has been resolved.
    Restart your computer. This may sound simple, but it does reinitialize your network and application settings and can frequently resolve issues.
    Take care,
    Sterling

  • Deleting a recurring event in iCal

    Situation; iphone 5 recurring event wont delete.  looking at same calendar on a synced PC (work) the event is not there at all. 
    If you are having trouble deleting a recurring event in iCal try this:
    on your iphone change the event "alert" or "show as" setting on one of the events in the future.  The event that wasn't showing on the PC outlook calendar magically shows up now.  delete it from the PC by opening it and choosing the X delete for all occurances (if its asks).
    Now open the event in iCal and you should see the Accept Maybe Decline option at the bottom - choose decline.  you may have to do this on several dates, but that should delete the event.
    Hope this helps.

    pedfogog,
    ... or whoever may find this post in need of assistance as I was.
    I just had this same problem and successfully deleted ALL event (past and future)instances by :
    1. Click on any instance of the event in the calendar
    2. Select "Delete" from the iCal toolbar "Edit" menu.
    3. The iCal propmt asked me to choose to delete all or just the one instance.
    4. Naturally, select to "Delete all occurrences"
    I am running OS 10.6.8   iCal 4.0.4

  • Setting events in iCal?

    I am trying to use iCal in 10.9 in the same manner as I did in the previous operating systems.  ICal does not work the same way.  Either the new iteration of iCal has some hidden feature that I have not yet found, or it is indeed badly designed.
    My problem is in adding a new event to a calendar.  As I have in the past, I go to the date on which I want to write a new event.  In the past operating systems, iCal would then open a window on that date.  That editing window would display the proper date.  All I would have to do is type in the identification of the event and choose the applicable times.   Then I would close the window, and the event appeared as I wanted in iCal.
    Now, though, in 10.9, when I am at some future date on a calendar in iCal, I click on the date, and up springs the editing window.  This time the editing window opens on today's date.  For example, I clicked on December 3, because I wanted to add an event to December 3.   ICal took me back to today's date on the calendar.  When I go into the editing window, now not only do I have to type in the identification of the event and its time, I also have to type in the date.   And then when I close the window, iCal takes me back to the date on the calendar where I wanted to be in the first place.
    It is a lot easier to start at the desired date and add the event there.  This new way of starting every single event at today's date is cumbersome and error-prone. 
    Is iCal supposed to operate this way?  Or is there someway of getting iCal to add events directly to a date I select manually, as we always did in the past?

    Now I am on the daytime computer, and now I return to my original question:  How do I get iCal to establsh a new event on the desired date on the calendar?  
    I find a discrepency between the instructions and the actual operation of the program.   ICal's Help Center has these instructions:
    1. Click Add (+).Events are added to your default calendar. (Events added by other apps are also added to your default calendar.)
    Add the event to a different calendar:
    Click and hold Add (+), then choose a calendar.
    Change your default calendar:
    Choose Calendar > Preferences, click General, then choose a calendar from the Default Calendar menu.If you choose “Selected calendar,” the calendar highlighted in the Calendar list is the default calendar.
    2. Enter a name, date, and time duration, then press Return.For example, enter “Party Feb 6,” “Soccer Game on Saturday from 11am-1pm,” or “Breakfast with Jon.” If you:
    Enter an address:
    The address is set as the event’s location.
    Enter “breakfast” or “morning”:
    The event starts at 9 a.m.
    Enter “lunch “ or “noon”:
    The event starts at 12 p.m.
    Enter “dinner” or “night”:
    The event starts at 8 p.m.
    Don’t enter a time duration:
    Calendar makes it a 1-hour event.
    Don’t enter any time information:
    Calendar makes it an all-day event.
    But that is not what I see.  When I choose "New Event" or click on the "+" button, I get a small dialog box entitled "Create Quick Event."  This dialog box does not permit any editing of the date and time of the new event.  I have to press "Return."  Then I have to find today's date on the calendar, open up the new event that iCal created for today, and edit the data in that new dialog box for the correct date and time.  Only then does iCal move the new event to the correct date.
    It would be much easier if iCal operated in the old, pre-Mavericks manner and allowed me to add new events to the date on the calendars where I want the new events to appear.

  • Archive old Google Calendar events from iCal 4?

    I have 8 Google calendars filled with events going back years. It's too big and I want to thin it out by archiving all events older than two years. I'll do it manually, but I can't find a way that works. I haven't found any way within Google to do it and to do it manually from within Google, you have to select each event separately. Too much work.
    To do it for a Mobile Me calendar, I can just:
    - Create a corresponding archive calendar (ie, Archive Personal for my Personal calendar) that is On My Mac
    - Select only one calendar to view (Personal)
    - List all events by typing a period in the search bar
    - Select all events in the list that I want to move
    - Right click or control click one of those selected events in the calendar (not the list) and choose the calendar Archive Personal to move it to
    For the Mobile Me calendar, the events are moved to the Archive Personal calendar and removed from the Mobile Me calendar. Perfect.
    When I try that with a Google calendar, it all seems to work in iCal, but the event remains on the Google calendar. No good.
    I tried another way...
    - I exported one of the calendars from Google into an Archive calendar On My Mac
    - I was planning to delete everything after a certain date on the Archive calendar and delete everything before a certain date on the Google calendar, but when you search for all of the events in the Archive calendar On My Mac, it shows duplicates of every event. Somehow it's showing the Google calendar events as well as the archive calendar events even though the archive is the only calendar selected. The search should only result in events from that calendar!
    Also, searching for a list of all events in a calendar in iCal 4.04 doesn't work too well. Once you move events, the update of the list is spotty. To really see what is left in the calendar, you need to quit iCal and restart it and do the search over again. Hopefully that's fixed in the Lion version!
    If anyone can think of a solution to accomplish this — any better way to archive off old events from a Google calendar, I would appreciate it!

    I just started using MobileMe yesterday and have a similar issue. The only past events in my iPhone are recurring events like birthdays. None of my old one-time events synced to the iPhone. Fortunately, they're all still in iCal (local and online). Does anyone have tips on how to get all events, past, present, and future on the iPhone?

  • Can't open & create event in iCal

    I used to be able to open & create an event in iCal.  But, the last time I sync'd my iphone & macbook it asked me which event was correct.  I clicked on the one on the right and haven't been able to view or create on macbook since (can open & create event on iphone).

    What do you see when you click on the Event? Also can you see the photos in the Photo mode? In the Photos mode do you have Event Titles selected in the View menu so they display? That will let you find the event you want and see if you can see the photos there.
    Try the basic fix first: close iPhoto, delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your User/Library/Preferences folder, launch iPhoto and see if that helps.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Can't edit Google Calendar events in iCal

    I am using Google Calendar's new CalDAV sync system and their "Calaboration" tool to sync my iCal (version 3.0.5, and I'm using Mac OS 10.5.2) with my Google Calendars, per the instructions on this page:
    http://www.google.com/support/calendar/bin/answer.py?answer=99358#ical
    It seems to work ok in that I can now see my google calendar events in iCal. I can also add an event to that calendar in iCal, and it will sync to my google calendar. However, I can't seem to edit an event in iCal that was created on the Google Calendar web page. That is, all my events that I created in Google Calendar do indeed appear in iCal, but I can't edit them in iCal. I can edit events that I create for that calendar in iCal, but not ones I created in google calendar. Not a huge deal, but I was wondering if this is how it is supposed to work, because it seems a tad inconvenient.
    (I do have my e-mail address in my address book "me" card, so that's not the problem.)

    Yeah, I tried deleting the calendars in iCal and re-synching to them via Calaboration, but the same problem persisted.
    I did find the solution after a bit of experimenting, though. To solve it, I basically created a new calendar on Google Calendar, imported all my events from my old google calendar into it, then used Calaboration to sync iCal to the new Google calendar, and now I can edit events in iCal and GCal without problems. I don't actually know what the problem WAS, but this seems to have solved it. Maybe I made my original Google Calendar too long ago and it had some old bad settings I couldn't see? I dunno, but it doesn't matter now.
    For those who might have this same problem, here's how I transferred my old Google Calendar events into a new Google Calendar without losing anything: (You actually don't need to delete your old Google Calendar at all if you don't want to, so there's no reason to worry about losing your events.)
    1. In GCal, click the "settings" link at the top right of the web page. Then select the "Calendars" tab. Click the "Export My Calendars" link, which should be under your list of calendars, next to the cancel button. This will download a .zip file to your computer, containing all of your google calendars as individual .ics files. Go ahead and unzip them so that the .ics file for the calendar you want to duplicate is sitting in a folder somewhere on your computer.
    2. Now In GCal, click on the "Create" link on the lower righthand side of the "My Calendars" box, which is on the lefthand side of the screen.
    3. Create a new blank calendar and name it whatever you want. This is the blank calendar into which you will import your old calendar's events.
    4. Now, in GCal, click "Add" at the bottom right of the "Other Calendars" box, which is under the "My Calendars" box on the left side of the web page.
    5. Select "Import Calendar".
    6. Click "Choose File" and browse to the .ics file you want to duplicate on your computer.
    7. In the "Choose Calendar" pull-down menu, select the new, blank calendar you made in step 3.
    8. Click Import. This may take a few minutes, depending on the number of events you have in your .ics calendar file.
    9. Once it's done, look at the calendar to make sure your events all came into your new Google Calendar ok. It should look exactly like the original google calendar, but it will be a different color.
    10. NOW, use Calaboration to sync your iCal to the New Calendar you just made in Google Calendar.
    11. Once it's done synching, you should be able to edit events in the calendar in iCal.

  • Set up mail app but it is sending ALL events from iCal to gmail with an error...

    Previously, I had set up iCal to sync with gmail so I could have my calendar on my droid phone.  Today I tried to set up the mail app to sync with my yahoo mail account.  It works, and I can see my inbox, but for some reason when I open mail it attempts to send all of the events in iCal as alarms to Gmail.  It opens hundreds of windows and slows down my computer. Each message has an error about not having an outgoing mail server selected.  I've tried to delete my gmail from iCal to un- sync everything, but everytime I open mail it starts a domino effect of iCal alarm outgoing message windows. I can individually choose Yahoo! as the outgoing server, but it is incredibly slow and there are hundreds of them to go through...what do I do?

    Have you checked the event log to see if there are any errors during the connector processing? The events will be logged in Application and Services Logs\Operations Manager. Look for any error messages during the time the connector was syncing. Most events
    dealing with the ConfigMgr connector have a source of "Data Connectors" or "Lfx Service", but I would suggest looking through all of them from that time period. Let us know if you find anything there. 
    Matthew Dowst |
    Blog | Twitter

  • When I enter an event in iCal, soon thereafter multiple other "New Event" notices (one to four) appear for the same day. If I delete these unwanted "New Event" notices, they later reappear -- sometimes multiplying like rabbits. Any suggestions?

    When I enter an event in iCal, soon thereafter multiple other "New Event" notices (one to four) appear for the same day. If I delete these unwanted "New Event" notices, they later reappear -- sometimes multiplying like rabbits. Any suggestions?

    Well, using iMovie to rearrange clips in a mini DV video edited by another program is extremely time consuming. I found a workaround. It still takes time, but it's much faster than rearranging the clips using iMovie.
    The workaround is as follows. Bring up Finder and go to the directory where your event's clips are stored (typically ~/Movies/iMovie Events/<name of event>). It helps to setup Finder to be in Cover Flow mode, so you can see the beginning of each clip. Then, sort the files in ascending order by the 'Date Modified' field. This makes Finder sort the files in the same order that they were imported from the mini DV tape. Clips with timecodes have the naming convention "clip-<year>-<month>-<day> hour;minute;second.dv". Clips without timecodes use another naming convention. With the files sorted by "Date Modified" in Finder, rename clips as needed so that the date/time in their file names are in ascending order. Note: when you rename a file, you need to restart iMovie. I suggest not running iMovie while renaming files.
    I believe the file date/timestamp is only accurate to the second. Occasionally, there may be a couple of clips that have the same date/timestamp. This may cause the ordering to not be correct. The best way to find these is through iMovie. To modify a file's date/time, right click on the clip in the event in iMovie, and then select "Adjust Clip Date and Time...".
    So, this workaround is a lot easier and faster than trying to rearrange things from scratch in iMovie. But it's still time consuming. Creating a project out of an already edited video should take less than 5 minutes (not counting import time), but that's not the case.
    I submitted an enhancement request to Apple asking if they can add an option to sort an event's clips in the order that they were imported by iMovie. Those who have the same issue as me, I suggest you submit an enhancement request as well.
    Anyone have any other suggestions?
    Thanks.

  • How do I add events to iCal from emails instead of Entourage

    When I first set up my Pro last year I brought my Outlook data over to Entourage. I later discovered I liked Mail, iCal and Address Book better so converted over to these programs. I just upgraded to the new Office for Mac and now when I click a date / event in an email to let it add it automatically to iCal, Entourage starts up and wants to put the event there. I can't find any settings in iCal or Entourage that prevent Entourage from doing this. Am I missing something or do I need to uninstall just Entourage from my Pro?

    In Mail preferences, is Mail or Entourage selected as the default mail reader?
    The reason for the question is that since the calendar and email client are part of the same package with Entourage, if it is selected as primary, the calendar my get called by default.

  • Linking multiple emails to a single event in ical and/or to do's

    Hi:
    Often I receive emails and I want to link them to an event in ical. OS X does this just fine as long as there is date in the email that OS X can recognize. The problem is sometimes I get multiple emails relating to the same event and I would like to be able to link all of those emails to one single event in ical. My same questions applies to 'to do' items.
    And a follow up question--say I receive an email that has no date explicit in the text-I've tried to find some function that would allow me to schedule a new event in ical and would link that email to it. (I hope that all makes sense) I'm open to whatever solution I'll even pay money for 3rd party software if anyone knows of a good program. But I"m looking to stick to the basic ical interface. Any suggestions?

    Hi rtwigg,
    seems this is one of visio graphics limitation regarding the external data.
    visio graphics, may only support for one row.
    you may consider this idea :
    "It is a good idea to separate your rows into visual units so that you have everything you need and nothing else in a single row. To link a shape to a data row, simply drag the row from the external data window and drop it on the shape. A default data
    graphic should immediately appear next to the shape displaying some data from the row. From here you are able to customize the graphic to fit your needs"
    by means, you may need to use the visio client.
    http://blogs.msdn.com/b/visio/archive/2010/02/05/no-code-mashups-with-visio-services-and-web-part-connections.aspx
    http://msdn.microsoft.com/en-us/library/ff408345.aspx
    http://msdn.microsoft.com/en-us/library/ff394649.aspx
    http://blogs.msdn.com/b/visio/archive/2010/02/21/the-visio-services-javascript-mashup-api.aspx
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Deleting a single event in ical

    I have a regular event in ical that is in every weekend.  As other things crop up i delete it if im not goign to be able to do that particular event.  It has worked well on my phone and ical.  But today i decided to delete the even through my icloud calendar -- and it has deleted the complete series, right from where it started.
    Another Lion/cloud glitch?
    really annoying that i cant get these dates back.

    Make sure you select/highlight the actual item, not just the day or time, and then hit delete.
    Cheers
    Rod
    Message was edited by: Rod Hagen

Maybe you are looking for

  • Using Designer to get Document ID in Document Library

    I am creating an approval workflow on a document library that auto starts on submitting a document. What I want to do, besides sending the user a link to view the document, is to actually provide a link to the URL that is used to generated the popup

  • Why is the library so slow to upload to iCloud?

    Hi there, After a bit of hassle getting Photos to accept all my pictures from iPhoto I thought it was all fixed and ready to go to cloud storage so that I can have the same library on iMac, Macbook Pro and my iPhone. My photo library isn't that big,

  • RH 7 crashes

    I "upgraded" to RH 7 this morning and have already crashed the program 4 times doing 3 different things--trying to repair some broken links, trying to generate web help, and trying to copy and paste a "related topics" button between topics. These are

  • Iphoto '08 is blank after I renamed iphoto library

    I created a new iphoto library and renamed the original iphoto library, but now both are blank. I tried rebuilding by holding down option and command keys, but both are still blank. Please help.

  • Differnce between STRLEN and NUMOFCHAR

    Hello All, Can anybody tell the difference between STRLEN and NUMOFCHAR. Which is better to use and why to use the better one. Can anybody explain me in detail. I will reward you with points. Thanks, Karan