Re: pushing FCPXML into FCP X
Re: pushing FCPXML into FCP X
- Subject: Re: pushing FCPXML into FCP X
- From: Gregory Clarke <email@hidden>
- Date: Fri, 18 Oct 2013 14:14:33 -0700
Yup, no magic: 7toX saves the .fcpxml file into the user's Application Support folder then does the openFile:withApplication.
Note that the user can have the trial version installed which has a different app name and bundle ID, so what I do is use NSWorkspace's absolutePathForAppBundleWithIdentifier method to look for 'com.apple.FinalCut' and then for 'com.apple.FinalCutTrial'. Then to get the file path for the bundle ID installed, I call NSWorkspace's URLForApplicationWithBundleIdentifier, then use that to give openFile:withApplication the right file path for the user's app.
Greg
The way those apps work is by opening the XML file with FCPX, either through Apple Events or the NSWorkspace openFile:withApplication method. It's less sophisticated than the old FCP 7 way unfortunately.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden