question on refreshing parameter data between instances.
question on refreshing parameter data between instances.
- Subject: question on refreshing parameter data between instances.
- From: "Jay Boyer" <email@hidden>
- Date: Tue, 11 Aug 2009 10:53:59 -0700
The FxPlug I am working on generates several lists in the drop down UI.
These are lists of things that can be changed by user Input between
instances of our plug-in being launched. For example, one of these is the
user font list.
Here is the scenario:
Run FCP
Apply the plug-in
Save and Exit
Install some fonts on the system
Reopen FCP
The font list in our plug-in is not up to date.
At some point in time during our launch process I would like to be able to
check the plug-in's UI for the font drop-down that was previously created,
delete that list in the drop-down and rebuild the list from the current
system font table. I did a quick test where I tried to get a parameter in
-initWithAPIManager but the parameters do not seem to be available at that
time.
A related issue: At shutdown time I would prefer only to save the user's
choice of font, possibly by reducing the font dropdown list to 1 item or by
saving the font in a hidden string parameter.
These things can be worked around by having the user delete our plug-in out
of the sequence and reapply it along with their settings, but I would prefer
not to burden the user with this if at all possible.
Is there a way to replace drop down list contents in the UI after they have
been added with -addParameters?
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?
Jay Boyer
_______________________________________________
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