Re: FCP XML: sequence isn't being added to the correct open project
Re: FCP XML: sequence isn't being added to the correct open project
- Subject: Re: FCP XML: sequence isn't being added to the correct open project
- From: Steve Christensen <email@hidden>
- Date: Tue, 17 Feb 2009 18:02:04 -0800
Thanks, Eryk, that did it. I hadn't read the docs closely enough to
see the extra project parameter to be included in the AppleEvent, and
was instead including it in the XML (where it was being ignored).
steve
On Feb 17, 2009, at 2:16 PM, Eryk Vershen wrote:
Hi Steve,
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.
-eryk
On Feb 17, 2009, at 12:33 PM, Steve Christensen wrote:
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?
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden