Automator script to set up auto-delete in Calendar on MacBook Air

Use Calendar without synching in iCloud.  Want to auto-delete old events after a specified period, such as two weeks.  Apple Support chat said only way is Automator but they did not provide a script. 

This is just a guess, but if I were to use Automator to write such a script, it might start like this.  I'm not willing to test it out on my machine, but I'll offer the suggestion to you as a starting point.  You begin by creating a new "service".

Similar Messages

  • My Memory say I have just 8 GB free... But I delete erithing on my MacBook Air

    Hallo together
    So, I deleted today my hole MacBook Air. After that my Mamory sayd I have just 8 GB free. After this I repare my Flash Mamory, but I doesnt go. Its tell me that I still have 8 GB free.
    What can I do?
    iSommi

    Without knowing what you did exactly, I can tell you how to restore from scratch if that helps you:
    Install or Reinstall Lion from Scratch
    If possible backup your files to an external drive or second internal drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
    Select Disk Utility from the main menu and click on the Continue button.
    After DU loads select your startup volume (usually Macintosh HD) from the left side list. Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Erase button and wait until the process has completed.
    Quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Install button.
    Note: You need to be sure you are connected to the Internet. Use Ethernet if possible because it's much faster than wireless.

  • How Do I back up mail on my MacBook Pro after deleting it on my MacBook Air?

    Hello everyone!
    Recently I deleted some emails from my MacBook Air not realising that they would be deleted on my MacBook Pro.  When I realised what was going on I turned off the wifi on my Air and continued deleting. Basically I scrubbed just about everything in order to free up space on my Air for my iPhoto collection
    Now I want to back up my mail folders and their contents on my MacBook Pro so I don't lose them. 
    Any suggestions?  I had thought about duplicating the Folders on my mac in iCloud.  When I select all and then go to the new iClould folder and paste it is very slow.
    Does anyone have any other suggestions?  Now that I have learned (the hard way!) that when I deleted the mail messages from my MacBook Air I was removing them from the server I am VERY worried.  I am afraid that when I reconnect my Air to the Internet it will delete all of my MacBook Air mail folders and emails.
    I do have the Time Capsule and spoke to Apple Care here in Sydney about it yesterday.  They told me my mail is not backed up there unless I create a special folder. I just tried ringing them again but Apple Care is closed today...
    Thanks in advance for any help! If I should redirect this question to a more appropriate community please advise!
    Becky

    beckyfromoz wrote:
    I do have the Time Capsule and spoke to Apple Care here in Sydney about it yesterday.  They told me my mail is not backed up there unless I create a special folder. I just tried ringing them again but Apple Care is closed today...
    Mail is backed up automatically. If you make backups automatically, open Mail application and then, open the Time Machine app (in /Applications/Utilities). You will access to the Time Machine interface, and you will be able to see all your mails of all the backups you have, and you will be able to restore them. It means that your mails are backed up onto the Time Capsule

  • How to delete spotlight data in macbook air ?

    how to delete spotlight data in macbook air ?

    Open system preferences and go to Spotlight then to the privacy tab and add the Macintsoh HD to the list for "Prevent Spotlight from searching these locations. That will remove all spotlght data. Then you should highlight that entry and click the Minus ( - ) sign at the bottom to have spotlight reindex your drive.

  • I have deleted iPhoto from my MacBook Air. When I try to reinstall it, itunes tries to charge me. Is there a way to reinstall the old version for free?

    I have deleted iPhoto from my MacBook Air. When I try to reinstall it, itunes tries to charge me. Is there a way to reinstall the old version for free?

    depening on what OS you're running you should be able to reinstall it without charge since it's part of the operating system. if running 10.6.8 or earlier you will need to use the applications install disc if there is one or if you only have one disc you can put it in and do a reinstall of the OS which will put the iphoto back on. if running 10.7 or 10.8 can sign into the app store w/ the same apple id that is associated w/ the mac and it should show in your purchases for you to reinstall it. you may need to click on the accept button if it appears next to the iphoto in your purchase listing.

  • Hi I bought 2TB WD my passport for mac but I do not know what I can delete from the original macbook air. Thank you.

    Hi I bought 2TB WD my passport for mac but I do not know what I can delete from the original macbook air. Thank you.

    That depends on what you have on the MBA...if you have videos, move the videos to the external drive.  If you have a lot of music, create a folder/library for the music and point iTunes there for the music.  If you have a lot of photos for iPhoto, make a new library on the external drive and move our photos over there and then select that library as the default library for iPhoto to use.
    Those are the big files and should take a lot of the load off the internal storage.

  • TS4002 why doesn't deleted mail on my MacBook Air show as deleted on my iPad and iPhone

    I thought that when I deleted mail on my MacBook Air, it would be deleted automatically on my iPad and iPhone. However; this does not happen, and is annoying having to delete from each individual device. How can I rectify this problem please?

    10.6.8 (Snow Leopard) does not support iCloud, are you actually on that or have you upgraded?
    Are you using a .me or .mac address, if not what are you using?

  • Automated script for setting authorization limit in GL

    Hi,
    I am trying to create an automated script in our General Ledger application to set authorization limit. I have looked into code of form GLXSTEAL.fmb. There I found that, GL_AUTHORIZATION_LIMITS_PKG is being used for setting authorizations limit.
    Below is the code I am trying to run from PL/SQL developer using apps id:
    declare
    l_Rowid varchar2(30);
    l_Set_Of_Books_Id apps.GL_AUTHORIZATION_LIMITS.SET_OF_BOOKS_ID%TYPE;
    l_Employee_Id apps.GL_HR_EMPLOYEES_CURRENT_V.EMPLOYEE_ID%TYPE;
    l_Authorization_Limit apps.GL_AUTHORIZATION_LIMITS.AUTHORIZATION_LIMIT%TYPE;
    l_user_id number := FND_GLOBAL.USER_ID;
    l_login number :=FND_GLOBAL.login_id;
    p_Attribute1 apps.GL_AUTHORIZATION_LIMITS.Attribute1%TYPE;
    p_Attribute2 apps.GL_AUTHORIZATION_LIMITS.Attribute2%TYPE;
    p_Attribute3 apps.GL_AUTHORIZATION_LIMITS.Attribute3%TYPE;
    p_Attribute4 apps.GL_AUTHORIZATION_LIMITS.Attribute4%TYPE;
    p_Attribute5 apps.GL_AUTHORIZATION_LIMITS.Attribute5%TYPE;
    p_Attribute6 apps.GL_AUTHORIZATION_LIMITS.Attribute6%TYPE;
    p_Attribute7 apps.GL_AUTHORIZATION_LIMITS.Attribute7%TYPE;
    p_Attribute8 apps.GL_AUTHORIZATION_LIMITS.Attribute8%TYPE;
    p_Attribute9 apps.GL_AUTHORIZATION_LIMITS.Attribute9%TYPE;
    p_Attribute10 apps.GL_AUTHORIZATION_LIMITS.Attribute10%TYPE;
    p_Attribute11 apps.GL_AUTHORIZATION_LIMITS.Attribute11%TYPE;
    p_Attribute12 apps.GL_AUTHORIZATION_LIMITS.Attribute12%TYPE;
    p_Attribute13 apps.GL_AUTHORIZATION_LIMITS.Attribute13%TYPE;
    p_Attribute14 apps.GL_AUTHORIZATION_LIMITS.Attribute14%TYPE;
    p_Attribute15 apps.GL_AUTHORIZATION_LIMITS.Attribute15%TYPE;
    p_Context apps.GL_AUTHORIZATION_LIMITS.context%TYPE;
    l_date date :=sysdate;
    begin
    GL_AUTHORIZATION_LIMITS_PKG.Insert_Row(
    p_Rowid => l_Rowid,
    p_Set_Of_Books_Id => 1001,
    p_Employee_Id => 9236,
    p_Authorization_Limit => 100,
    p_Last_Update_Date => l_date,
    p_Last_Updated_By => l_user_id,
    p_Creation_Date => l_date,
    p_Created_By => l_user_id,
    p_Last_Update_Login => l_login,
    p_Attribute1 => p_Attribute1,
    p_Attribute2 => p_Attribute2,
    p_Attribute3 => p_Attribute3,
    p_Attribute4 => p_Attribute4,
    p_Attribute5 => p_Attribute5,
    p_Attribute6 => p_Attribute6,
    p_Attribute7 => p_Attribute7,
    p_Attribute8 => p_Attribute8,
    p_Attribute9 => p_Attribute9,
    p_Attribute10 => p_Attribute10,
    p_Attribute11 => p_Attribute11,
    p_Attribute12 => p_Attribute12,
    p_Attribute13 => p_Attribute13,
    p_Attribute14 => p_Attribute14,
    p_Attribute15 => p_Attribute15,
    p_Context => p_Context );
    commit;
    end;
    I am getting the error PLS-00306: wrong number or types of arguments in call to 'INSERT_ROW'.
    Please help me with this.
    Thanks

    I have found another way to achieve this. By inserting the data directly to GL_AUTHORIZATION_LIMITS table.
    INSERT INTO gl.GL_AUTHORIZATION_LIMITS
    (set_of_books_id,employee_id,authorization_limit,CREATION_DATE,CREATED_BY,LAST_UPDATE_DATE,LAST_UPDATED_BY,LAST_UPDATE_LOGIN)
    VALUES (1001,p_person_id,1.00,SYSDATE,l_user_id,SYSDATE,l_user_id,l_login);

  • How I set the auto delete old spool request

    Hi
    I would like to know , how to auto delete old spool request. Have any option in SAP.
    I want spool requests on server for 3 days only.
    Pls suggest.
    Tapovardhan

    As a default background job SAP schedules<b> RSPO0041</b> program in background, this program's variant has the <b>Minimum age in days</b> value.
    Can you check with what variant this program is running. 
    This program needs to be scheduled daily with <b>Minimum age in days</b> field.
    Regds
    Manohar

  • Script to set display name in iCS Calendar view to the LDAP CN

    Script to set the display name in the Calendar view for iPlanet Calendar
    Server(iCS) to the LDAP common name(CN)
    By default, iCS uses a user ID(uid) based on an employee number, rather than on
    an employee's first and last name, as the calendar ID(calid).
    The current release of iCS (5.0 P2) does not create a display name for a
    calendar when a user enables a calendar by logging in; by default, it will
    list the calid again in the Display Name field of the Calendar view.
    For example, if an employee has a calid of "12345," when you click the
    Calendar tab to view the calendar, the Display Name will appear as follows:
    <P>
    12345 (12345)
    <P>
    A problem arises when a user tries to subscribe to another user's calendar.
    Although the search criteria are based on the calid and the Display
    Name, the only information currently stored in the calendar database is the
    calid. Therefore, users will be unable to subscribe to another
    user's calendar unless they know the calid of that person. The next
    patch release for iCS will remedy this problem by using common names(CNs) as
    the Display Names. That is, the database will store the CN values
    from LDAP for users, and the Calendar view will appear something as follows:
    <P>
    12345 (John Doe)
    <P>
    Until this next release of iCS, there are two options to work around this
    problem.
    <P>
    <OL>
    <LI>You can "provision" users by running the cscal
    administrative utility with the
    Display Name option.
    <P>
    OR
    <P>
    <LI>If the user community already exists, you can use the sample Perl script
    below to search through the calendars of users.
    <P>
    Note: If a default calid exists that doesn't have a Display Name, the script
    will search the LDAP directory to find a CN to set as the Display Name for
    that calendar.
    </OL>
    <P>
    <HR>
    <P>
    <B>Sample Perl Script:</B>
    #!/bin/perl5.004
    sub TRUE {1}
    sub FALSE {"}
    $SIG{INT} = 'handler';
    $SIG{QUIT} = 'handler';
    $mypath = $ENV{'LD_LIBRARY_PATH'};
    $savepath = $mypath;
    $ENV{'LD_LIBRARY_PATH'} = $mypath.';.';
    #--------------INITIALIZATION----------------
    $host="ldaphost";
    $base_dn="ou=People,o=iplanet.com";
    $port=389;
    $auth_dn="cn=Directory Manager";
    $auth_pwd="password";
    $found_confile = TRUE;
    $default_cal = FALSE;
    open(CSCAL,"./cscal -v list |");
    while($cal_list = <CSCAL>)
    if ($cal_list =~ m/: owner=/)
    @calid = split(' ',$cal_list);
    chop($calid[0]);
    print "\ncalid: $calid[0] ... ";
    $default_cal = TRUE if ($calid[0] !~ m/:/);
    } elsif (($default_cal) && ($cal_list =~ m/^ name=([a-zA-Z ]*)/)) {
    chomp($1);
    print "cal name: $1";
    if (($1 EQ ") || ($1 EQ $calid[0]))
    open(LDAPSEA,"./ldapsearch -h $host -p $port -b \"$base_dn\" -D
    \"$auth_dn\" -w \"$auth_pwd\" uid=$calid[0] |");
    while($ldap_list = <LDAPSEA> )
    if ($ldap_list =~ m/^cn: ([a-zA-Z ]*)/)
    chomp($1);
    `./cscal -n "$1" modify $calid[0]`;
    print "The display name for $calid[0] is being modified to be: $1\n";
    sleep(1);
    close(LDAPSEA);
    $default_cal = FALSE;
    close(CSCAL);
    sub handler
    local($sig) = @_;
    print "... Caught a SIG$sig--closing down shop\n";
    close(CSCAL);
    close(LDAPSEA);
    exit(0);
    }

    anne wrote:
    Hi David,
    About your confuse about"case when 1=2 then "product_d"."name" else "calendar_d"."year" end".
    You can try in your locale.
    You will find they are different.
    BASED ON THAT you have two table product_d and calendar_d AND they are related by one Fact table.
    THEN When you type in
    "case when 1=2 then "product_d"."name" else "calendar_d"."year" end"
    AND
    "calendar_d"."year",
    IT WILL SHOW U TWO different RESULTS.
    I need to show year which its related product is not null. but I cannot use SHOW->SQL RESULTS->TYPE SOME "WHERE..." because I also need to use "constrain"..
    That why I choose to use a case when function..
    So, do you have any idea about this?
    Regards,
    AnneWhy not use two filters in your request? Have something like this:
    product_d.name IS NOT NULL
    AND
    calendar.year IS PROMPTED?
    ...instead of using a CASE statement? This way you can have both filters show the way they should in a meaningful way.

  • Auto delete on calendar?

    Do events on the calendar delete after a certain amount of time and if not is there a way to set this?

    There is no setting for this. Deleting a calendar event with iCal or with the iPhone will be reflected in the other after syncing.
    There is a setting to not sync events older than - enter the number of days in the space provided, under Calendars for your iPhone sync preferences.

  • How do I set up a user account on a Macbook Air

    I am trying to help an elderly neighbor whose son gave her his Macbook Air to use but he is the Administrator and has been recently deployed overseas and she cannot contact him. How can I set her up with her own account on his computer without his Administrator password?

    Hi there KARMS1!
    I have a couple of articles here that can help you with this situation. Depending on the operating system installed on your MacBook Air, you may be able to reset the password. If you are running OS X 10.6 Snow Leopard on the MacBook Air, you will want to reference this article:
    Mac OS X 10.6: If you forget your administrator password
    http://support.apple.com/kb/ph6317
    However, if your operating system is later than that, you will need to erase the computer and reinstall the operating system, effectively deleting the administrator and all information on the computer so that you may create a new administrator account:
    OS X Mountain Lion: Erase and reinstall OS X
    http://support.apple.com/kb/ph11273
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • When I delete emails in the macbook air they are not deleted in the iPhone. Why?

    All of the sudden my MacBook air decided to not sync with my iphone. Thus when I delete emails with the laptop they still appear in my iphone.
    But when I delete them in the iphone they are deleted in the macbook.
    I have Google account and set all with IMAP.
    Is it due to the macbook, now IOS7, some update, the ghosts .... I cannot find the solution :-((((((
    PLease please helppppppp

    I also had to adjust the push/fetch setting on the iphone. push waits for the email server to send new data, fetch is initiated by the phone.

  • How do I set up home sharing on my new macBook Air 11" I want to access my itunes from my home iMac on my Macbook Air?

    I've set up to share my itunes on my iMac and on my new MacBook Air 11" but there dont seem to be any files I can view or access?
    On my music it says "Go to itunes store" or "Scan for Media"
    Does anyone know how to set it up?
    Many thanks
    Tim.....

    Once your in iTunes click the dropdown menu below the play button if one option is home sharing click home sharing and sign in with your apple id if you don't have home sharing follow these steps:
    1) Go to iTunes
    2) Click file (which is on the menu bar)
    3) Hover your mouse over the place where it says home sharing
    4) If you hover your mouse over home sharing you should see it says turn on home sharing click it
    5) Now sign in with your apple id
    Now have enabled home sharing on your mac.

  • How do i restore a deleted admin on my macbook air

    How do i restore a deleted admin on my macbook air

    If you have lost a folder, it is either misplaced (try searching for it) or you have deleted it somehow. If it has been deleted, your best option is to restore it from backups.
    If you don't have backups, you may be about to learn the hard way why backups are important. You can try to use some file recovery software, but you should not expect to get everything back in exactly the same condition it was in before. See:
    Recovering deleted files
    (Fair disclosure: The Safe Mac is my site, and contains a Donate button, so I may receive compensation for providing links to The Safe Mac. Donations are not required.)

Maybe you are looking for

  • FillBy always fills in the same row in data grid view. How to make it fill in a new row for each click of the Fillby Button? VB 2010 EXPRESS?

    Hi there,  I am a beginner in Visual Basic Express 2010. I have a Point of Sale program that uses DataGridView to display records from an external microsoft access database using the fillby query.  It works, but it repopulates the same row each time,

  • Exchange rate difference in goods receipt

    Hi all, can I manage in the goods receipt (transaction MIGO) the exchange differences with the purchase order? For example: Oda $ 1000 - exchange rate at 10.04.2009 $ - Euro 1.27 Oda total in Euro 1270 when I post the goods receipt after 20 dayt (30.

  • My Online Number has been deactivated???

    My Online Number has been deactivated. I was not informed. Now it has been brought to my attention by a customer i find that hte system tells me the number is no longer available but when I call it there is no answer so it is not being used. I would

  • What should I do about this phone ?

    around mid mid september last year I bought an iPhone 4s, 16fb black, and I used it on iOS6 (can't remeber which version) since I didnt want bugs from ios7, and I let my frien use my phone for a day or two, because he didmt have a phone to use to tel

  • I have a question about iphone on 3G.

    I've heard that Apple may publish the new Iphone next year, and it will support 3G, since the old version didn't support 3G, I'd ask whether the old version could be updated to support 3G? That is to say, is the 3G function existed in the old phone?