I want to add meta data to an iCal event (task) with OpenMeta. Therefor I need the path to the file that contains the event (task). Is there a possibility to get this programmatically if a have a certain CalCalenderItem?
How to get file path of a CalCalendarItem?
522 Views Asked by Felix Kling At
1
There are 1 best solutions below
Related Questions in OBJECTIVE-C
- How do I customize NSOutlineView to have border color?
- UIWebView Screen Fitting Issue
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Image and Text locations in UIButton
- setting OpenGL version in objective-C
- Setup code for xibs in iOS. -awakFromNb:
- realm db, get parent link of object
- CFBundleDocumentType is not working in myproject-Info.plist file
- UIPopoverPresentationController not rendering properly
- Using Storyboard Reference
- Pass Data between two view controllers using 'Delegation' : Objective-C
- Unexpected CALayer Vertical Flipping on 3D Rotation 'Bounce'
- Setting View orientation to portrait is ignored
- UITextField append / between dates while enforcing character limit
Related Questions in COCOA
- How do I customize NSOutlineView to have border color?
- How to generate request format for WCF web service method for Mac and iPhone
- How to Handle Command Line Prompt from a Cocoa App
- Change views inside NSSplitViewController
- CMYK NSImage get pixel data
- Reactive Cocoa Conditional Split ?
- Set background color of NSImageView with proportionally sized image
- Use NSWindow or NSViewController?
- Imports and includes in header files - when is it okay?
- How to prevent the app from automatically open a window when launched?
- Swift NSViewController responds to mouseDown event, but not keyDown event
- "stringByAddingPercentEncodingWithAllowedCharacters" replaces more characters than it should
- cocoa - what happen when close a window (by pressing the red X button)?
- Does it necessary to go back to main thread to update UI?
- WebView not responding to Keyboard input
Related Questions in ICALENDAR
- dynamically create an ical / ics file from a rails model
- Can a map be added to a .ics file?
- ICS without confirmation email
- Invite attendees for event like Sunrise
- New EventKit EKCalendar will not create?
- How to properly send a message to outlook with an ics file and calendar part?
- Consistent Encoding for iCal file import
- Sync calendar events/appointments in a java application to other mail accounts on mobile device using CalDAV
- ics php code error. Tried to input this into phprunner
- Generate a calendar invite for the organizer
- how do the X-APPLE extensions work in icalendars?
- iCal library to iterate recurring events with specific instances
- Is it possible to generate an ICS file in Javascript and then pass it via webcal: url?
- How to access calendar information from Microsoft Outlook Exchange 2010 SP2
- Response .write for .ics file not allowing code to run
Related Questions in CALENDAR-STORE
- CalEvent startdate and enddate differences with iCal and my app
- API for showing free/busy time in iCal (Apple people?)
- Get / Set calendar events on iCal (programmatically)
- How to get file path of a CalCalendarItem?
- Programmatically trigger CalendarStore sync with iCloud?
- How to invoke ical sync service?
- Export iCal events to .ics file on osx
- How do you access all CalDAV calendars/events on OSX?
- Multiple methods named 'location' found with mismatched result, parameter type, or attributes
- Calendar Store event location to array object
- Calendar Store: how to distinguish event calendar from task calendar?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The simple answer is you can't. CalendarStore makes no guarantees about where/how it will store the data, only that it will store it.
In practice (at least right now), everything is kept in a SQLite Core Data store. Files for each individual item are then generated for the benefit of Spotlight.
As I understand it, you are wanting to find the location of those Spotlight files and add metadata to them. But even if you do locate them (which there's no API for), when the main store is next updated it will probably overwrite your modified record with a fresh version anyhow, defeating what you want.