site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Thanks Helena, Many thanks Andreas On 07.12.2007, at 02:33, Helena Ju wrote: Hi Andreas! Is this the behavior you're expecting? Or something different? Cheers, Helena On Dec 5, 2007, at 1:44 PM, Andreas Kiel wrote: Hi all, Thanks Andreas _______________________________________________ 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/hju%40apple.com Andreas Kiel Spherico Nelkenstr. 25 D-76135 Karlsruhe Tel.: +49 (0)721 183 9753 eFax: +1 650 897 8094 eMail: kiel@spherico.com http://spherico.com/filmtools -- workflow tools for FCP P Please don't print this e-mail unless you really need to. _______________________________________________ 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... Pete told me some time ago that this would not work and so I asked again. Now I tried it step by step again and indeed it works. There was an error in my code which caused my app not to wait (try) long enough i.e. until xml import has finished. I'm a little confused. When you pass FCP a valid UUID in XML, and tell us to add a item with that UUID, we use the one you provide. Here's how I tested it out: 1. make a new sequence 2. export XML for that sequence (it had <uuid>60DE7A38-9997-41B7-8F4C-51C5B115A510</uuid> 3. taking XML, I modified the uuid to <uuid>60DE7A38-9997-41B7-8F4C-51C5B115A511</uuid> (since it by default has the updatebehavior to add I didn't touch that) 4. import modified XML 5. export XML for both sequences I see that I have two sequences with the following two uuids: <uuid>60DE7A38-9997-41B7-8F4C-51C5B115A510</uuid> <uuid>60DE7A38-9997-41B7-8F4C-51C5B115A511</uuid> So I could then send an Apple Event to open either the original or the modified sequence. I know I've asked that some time ago, but maybe something has changed and I did miss it. Using FCP AE I can read a project into my app select a sequence (or get a modified version XML live). If I modify the sequence and send it back to the FCP project I could add a new UUID to it. But obviously FCP is still creating it's own UUIDs during import and so I can't use the "kFCPOpenItemInProject" as I don't know the UUID. The only option I currently see is to send two sequences: the original one with an "add" flag (so I forget the UUID) and the new one with a "replace" and the same UUID as the original one. I haven't tested that and I hope there is an easier way. P.S. Sure I can get the complete project in again, but that wouldn't be helpful at all. This email sent to hju@apple.com This email sent to site_archiver@lists.apple.com