automator/shell script question.

Discussion in 'Mac Programming' started by skierdb526, Mar 2, 2008.

  1. skierdb526 macrumors regular

    Sep 13, 2007
    Hey I do not know if this is the right forum, but I am trying to set make a plugin for ical that will run a shell script to delete a file whenever i add the event to the calendar. However I havent successfully made this script to delete the file. i am new to this and have searched the web, but everything i try doesnt work. this is the latest ive tried putting in the "run shell script" box: "rm -R/Library/Preferences/a file" (with a file being the said file i want to delete)

    any help is appreciated!
  2. swiftaw macrumors 603


    Jan 31, 2005
    Omaha, NE, USA
    In Automator:

    1. Get specified Finder Items
    2. Move Finder Items to Trash

    Then, Save As Plug-In->iCal alarm
  3. skierdb526 thread starter macrumors regular

    Sep 13, 2007
    Thanks! it looks like automater will be handy in the future.

Share This Page