• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: question on refreshing parameter data between instances.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question on refreshing parameter data between instances.


  • Subject: Re: question on refreshing parameter data between instances.
  • From: Darrin Cardani <email@hidden>
  • Date: Wed, 12 Aug 2009 16:44:14 -0700

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?

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:

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.

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.

As a plugin is getting re-instated during an "Open Project..." (boot),
is there an methods which get called, which we can hook into?


-- Brian


On Aug 11, 2009, at 10:53 AM, Jay Boyer wrote:


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?

_______________________________________________ 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

-- Darrin Cardani email@hidden




-- Darrin Cardani email@hidden


_______________________________________________ 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
  • Follow-Ups:
    • Re: question on refreshing parameter data between instances.
      • From: Brian Gardner <email@hidden>
References: 
 >how trims & cuts effect reference image wells (From: Brian Gardner <email@hidden>)
 >Re: how trims & cuts effect reference image wells (From: Darrin Cardani <email@hidden>)
 >question on refreshing parameter data between instances. (From: "Jay Boyer" <email@hidden>)
 >Re: question on refreshing parameter data between instances. (From: Brian Gardner <email@hidden>)
 >Re: question on refreshing parameter data between instances. (From: Darrin Cardani <email@hidden>)
 >Re: question on refreshing parameter data between instances. (From: Brian Gardner <email@hidden>)

  • Prev by Date: Re: question on refreshing parameter data between instances.
  • Next by Date: Re: question on refreshing parameter data between instances.
  • Previous by thread: Re: question on refreshing parameter data between instances.
  • Next by thread: Re: question on refreshing parameter data between instances.
  • Index(es):
    • Date
    • Thread