Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8816121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:32:37+00:00 2026-06-14T04:32:37+00:00

I have iCal events scheduled for various clients over a 6 week period based

  • 0

I have iCal events scheduled for various clients over a 6 week period based on a certain start date. ie Client 1,2 and 3 start on the next Monday and I have several iCal events set over a 6 week period that will trigger other different AppleScripts etc. (That works fine, but…)

If Client 2 decides to go on the program 1 week later than 1 and 3 and I have already scheduled his events, how do I select the already created events in iCal for Client 2 and move them all up by one week?

Here’s what I’ve got thus far:

tell application "Calendar"
tell calendar "ExampleCalendar"
set theEventList to every event whose summary contains "Client2"
end tell
end tell

This will select the events, now how do I move them all up one week (they all have different start dates obviously and are unequally spaced apart)

This would make my life much easier! Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T04:32:39+00:00Added an answer on June 14, 2026 at 4:32 am

    Update:

    Yosemite users can now reference selected Calendar events in AppleScript

    Try:

    set daysAdded to 7
    
    tell application "iCal"
        tell calendar "ExampleCalendar"
            set theEventList to every event whose summary contains "Client2"
            repeat with anEvent in theEventList
                tell anEvent
                    set it's end date to (it's end date) + daysAdded * days
                    set it's start date to (it's start date) + daysAdded * days
                end tell
            end repeat
        end tell
    end tell
    

    Here is an alternate method.

            tell anEvent
                set {sDate, eDate} to {(it's start date), (it's end date)}
                set it's start date to sDate + daysAdded * days
                set it's end date to eDate + daysAdded * days
            end tell
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a class that I writes iCal events, and it contains nested classes
I have a Python-based program that adds events to a Google Calendar. To add
Have 2 tables in Access 2007, both lists of certain tasks to be accomplished.
I have an iCal event specified in UTC with repeats. Everything appears to be
Currently a website I'm working on has a web-based calendar of upcoming events. We
I have a topic branch ( new-http-api ) in git which is based on
I have one problem while adding multiple events more than 70 events repeatedly again
I have a client who would like the app we are building to show
I have an iCal (Calendar) alarm that is set to go off everyday. It
I'm not much of a php expert and have troubles formatting the date for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.