Re: FCP XML: sequence isn't being added to the correct open project
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Hi Steve, -eryk On Feb 17, 2009, at 12:33 PM, Steve Christensen wrote: steve ------------------------------------------ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xmeml> <xmeml version="4"> <importoptions> <createnewproject>FALSE</createnewproject> <targetprojectname>Test Project #1</targetprojectname> </importoptions> <sequence id="my nifty sequence"> <uuid>87312484-9D89-4539-BC04-2296C527E0DF</uuid> <updatebehavior>add</updatebehavior> ... </sequence> </xmeml> _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/evershen%40apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... Turns out either you have given the Apple Event a project as an argument (in which case the targetprojectname is ignored because you already gave one) or you have no project name, in which case the frontmost project is used (and targetprojectname is ignored again because a project was already chosen). You can file a bug against this if you like. Arguably, the no project case should respect the importoptions and only use the frontmost project if createnewproject is false and targetprojectname is not set. I'm working on a plugin that imports a sequence by sending XML to FCP. It also queries FCP for the list of open projects so it knows the project choices. I launched FCP with no projects, then created two new projects and saved them as "Test Project #1" and "Stevec project", respectively. I find that no matter which project I specify, or if I set createnewproject=TRUE to create a new project, the sequence always ends up being added to "Stevec project". The interesting part of the XML is appended. Any ideas what I might be doing wrong? This email sent to evershen@apple.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Eryk Vershen