Oh, I should add - if you go with my suggestion of hiding either the old or new popup menu based on the version, then I think question 3 is irrelevant because the popup menu you don't want the user to see should always be hidden.
Another option is to put the new items at the end of the menu. In this case, that's not very user-friendly because of the meaning of the menu items, but it's probably the easiest option.
Darrin
On Mar 27, 2013, at 7:34 AM, Martin Baker <martin(a)digital-heaven.co.uk> wrote:
> I have a popup menu parameter which currently has the following options
> SS
> MM:SS
> HH:MM:SS
>
> and I want to add 2 new menus so it is like this:
> SS
> M:SS
> MM:SS
> H:MM:SS
> HH:MM:SS
>
> Q1: I'm fairly positive that Motion/FCP just stores the selected index of the popup, so a user opening a v1 project with the v2 plug-in would have their HH:MM:SS choice now showing up as MM:SS?
>
> Q2: So looking at the versioningAPI, I can check for versionAtCreation == 1, but then what? I could internally remap old index 1 to new 3, and old index 2 to new 4 but the parameter value should really be updated programmatically so the UI shows the correct choice. So that's doable, but then for the future how do I tell Motion/FCP that this has been updated since versionAtCreation is read only?
>
> Q3: Is it necessary to remake the Motion Template when adding menus to a popup, or is that parameter just published by ID, so will update in FCP automatically?
>
>
> thanks
>
> Martin Baker
> www.digital-heaven.co.uk
> www.twitter.com/digitalheaven
> www.videospaceonline.com
> www.finalcutters.com
> ------------------------------------------------------
> Digital Heaven Ltd is registered in England and Wales
> Company registration number: 3628396
> Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE
> VAT registration number: GB 736 0989 03
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Pro-apps-dev mailing list (Pro-apps-dev(a)lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/pro-apps-dev/dcardani%40apple.com
>
> This email sent to dcardani(a)apple.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (Pro-apps-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.…
This email sent to site_archiver(a)lists.apple.com
Martin,
Answers inline below:
On Mar 27, 2013, at 7:34 AM, Martin Baker <martin(a)digital-heaven.co.uk> wrote:
> I have a popup menu parameter which currently has the following options
> SS
> MM:SS
> HH:MM:SS
>
> and I want to add 2 new menus so it is like this:
> SS
> M:SS
> MM:SS
> H:MM:SS
> HH:MM:SS
>
> Q1: I'm fairly positive that Motion/FCP just stores the selected index of the popup, so a user opening a v1 project with the v2 plug-in would have their HH:MM:SS choice now showing up as MM:SS?
Correct. We can't really store the words in the menu items because you might want to localize them.
> Q2: So looking at the versioningAPI, I can check for versionAtCreation == 1, but then what? I could internally remap old index 1 to new 3, and old index 2 to new 4 but the parameter value should really be updated programmatically so the UI shows the correct choice. So that's doable, but then for the future how do I tell Motion/FCP that this has been updated since versionAtCreation is read only?
What we usually do is during -addParameters, if versionAtCreation == oldVersion, show and use the old controls, and hide the new controls. If versionAtCreation == newVersion, hide the old controls and show the new controls. This means projects made with the old version always render the old way and have the old options. It's a little confusing if a user has both an old and a new instance of the plug-in in the same project, but we find that rarely happens. (Or they don't notice it, or they do but never file any bugs on it. :-) )
> Q3: Is it necessary to remake the Motion Template when adding menus to a popup, or is that parameter just published by ID, so will update in FCP automatically?
I will have to look into that.
Darrin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (Pro-apps-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.…
This email sent to site_archiver(a)lists.apple.com
I have a popup menu parameter which currently has the following options
SS
MM:SS
HH:MM:SS
and I want to add 2 new menus so it is like this:
SS
M:SS
MM:SS
H:MM:SS
HH:MM:SS
Q1: I'm fairly positive that Motion/FCP just stores the selected index of the popup, so a user opening a v1 project with the v2 plug-in would have their HH:MM:SS choice now showing up as MM:SS?
Q2: So looking at the versioningAPI, I can check for versionAtCreation == 1, but then what? I could internally remap old index 1 to new 3, and old index 2 to new 4 but the parameter value should really be updated programmatically so the UI shows the correct choice. So that's doable, but then for the future how do I tell Motion/FCP that this has been updated since versionAtCreation is read only?
Q3: Is it necessary to remake the Motion Template when adding menus to a popup, or is that parameter just published by ID, so will update in FCP automatically?
thanks
Martin Baker
www.digital-heaven.co.ukwww.twitter.com/digitalheavenwww.videospaceonline.comwww.finalcutters.com
------------------------------------------------------
Digital Heaven Ltd is registered in England and Wales
Company registration number: 3628396
Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE
VAT registration number: GB 736 0989 03
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (Pro-apps-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.…
This email sent to site_archiver(a)lists.apple.com
Hello all,
I am using AVFoundation to make excerpts from a long 23.98 fps QuickTime. The resulting shorter QuickTimes are 24 fps - what am I missing?
Thanks,
Rainer Standke
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (Pro-apps-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.…
This email sent to site_archiver(a)lists.apple.com