I recently synchronized my Facebook events with my Google calendar, and then I added that calendar to iCal via CalDAV. When I want to add one of those events to one of my published calendars on my website, I always try to copy the event from the Facebook events calendar and paste it in the other calendar.
However, I usually want to edit the event which sometimes causes all sorts of headaches because it's either not editable (even though I'm editing a copy in my own calendar) or it wants to send emails to all my invitees. This is due to the fact that I am not recognized as the event's organizer. So I devised a rudimentary way to make such copied events editable and hassle free. My solution is crude and slightly convoluted, so I am hoping someone out there will post a better version in the comments.
Basically, I used a Folder Action to obtain an .ics file of the single event, edit it to remove the ORGANIZER field, and then open the edited file.
First, you'll have to create a convenient folder to drag your events to and attach the following AppleScript:
on adding folder items to this_folder after receiving added_items
repeat with i from 1 to number of items in added_items
set this_item to item i of added_items as alias
tell application "Finder"
--get the name of the file
set pathstr to POSIX path of this_item
--set this_file_name to the name of this_item
set exT_name to name extension of this_item
end tell
if the exT_name is "ics" then
set cmd to "grep -v ^ORGANIZER: '" & pathstr & "' > '" & pathstr & ".tmp'; mv '" & pathstr & ".tmp' '" & pathstr & "'"
display dialog cmd buttons {"OK"} default button 1 default answer "" with icon 2
do shell script cmd
end if
tell application "Finder"
open this_item
end tell
end repeat
end adding folder items to
Mac OS X Hints
http://hints.macworld.com/article.php?story=20110619093420176