site_archiver@lists.apple.com Delivered-To: Pro-apps-dev@lists.apple.com Darrin On Aug 12, 2009, at 4:28 PM, Brian Gardner wrote: Will the other plugin's parameters exist and be settable during the time when the custom parameter gets called to deserialize? In other words, is the custom parameter deserialization called last? If it were called too soon, some of what we'd need to do wouldn't be available yet to be done. So, I guess I'm really asking... At what point in the plugin's re-instatement is the custom parameter deserialization called? -- Brian On Aug 12, 2009, at 2:42 PM, Darrin Cardani wrote: Darrin On Aug 11, 2009, at 12:58 PM, Brian Gardner wrote: I have a similar situation to Jay. When a saved FCP project is later reopened, I'd like to update some parameter settings. -- Brian On Aug 11, 2009, at 10:53 AM, Jay Boyer wrote: _______________________________________________ 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/dcardani%40apple.com -- Darrin Cardani dcardani@apple.com -- Darrin Cardani dcardani@apple.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... You should not make any assumptions about the order in which parameters being deserialized are instantiated. It almost sounds like you're trying to change the value of one parameter based on another parameter between when the user saved a document and reopened it. Is that correct? If so, you should not do that, and it won't ever be supported. That a) breaks the user's assumptions that the document they saved will be the document they open, and b) could cause problems with other parts of the document, such as keyframes on the parameters you're changing. Not to mention the above problem that we make no guarantees about the order in which things are deserialized. If you're trying to do something else, please explain in more detail what you're trying to do. I believe in Jay's example, he was just trying to save and restore the value of a font menu, and the installed fonts may not be the same between 2 machines (or between closing and reopening the document). Since there's a reasonable fallback of using the default font, you can get away with it in that case. Are you working with a similar type of functionality? There isn't, but if you have a custom parameter, you will get called to deserialize its data. You could do what you need to do at that time. As a plugin is getting re-instated during an "Open Project..." (boot), is there an methods which get called, which we can hook into? Is there a point in the boot sequence that I can detect that the plug-in is from a prior instance so that I can update these lists? This email sent to dcardani@apple.com This email sent to site_archiver@lists.apple.com