User color choice not saved in export preset?

I'm currently writing my first plugin and still in a learning curve.
My export plugin has a color_well control to choose a color. I have defined a default value of LrColor(1,1,1) which works well.
However, the chosen color is not saved so every time the export dialog is used, it comes up with the default color value and the previously chosen color is lost.
What am I doing wrong?
Thanks,
Mario
Code snippet:
myPlugin.exportPresetFields = {
    { key = 'borderColor', default = LrColor(1,1,1) },
    ...more keys
function myPlugin.sectionForFilterInDialog( viewFactory, propertyTable )
    return {
        viewFactory:row {
            viewFactory:color_well {
                value = LrView.bind('borderColor'),
end

Many thanks for the reply and sorry for the delay. It took me DAYS to figure out how to save the r,g & b components.
Finally, I succeeded with this method:
myPlugin.exportPresetFields = {
    { key = 'color_r', default = 1 },
    { key = 'color_g', default = 1 },
    { key = 'color_b', default = 1 },
function myPlugin.sectionForFilterInDialog( viewFactory, propertyTable )
    return {
        viewFactory:row {
            viewFactory:color_well {
                value = LrView.bind({
                     key = 'borderColor',
                     transform = function ( value, fromTable )
                          if fromTable then
                              return LrColor(propertyTable.color_r, propertyTable.color_g, propertyTable.color_b)
                          else
                              propertyTable.color_r = value:red()
                              propertyTable.color_g = value:green()
                              propertyTable.color_b = value:blue()
                              return LrBinding.kUnsupportedDirection
                          end
                     end
end

Similar Messages

  • [AS][INDCC] How to set Color Conversion field to No Color Conversion when creating PDF Export preset

    How can i set Color Conversion field in Export to PDF dialog to No Color Conversion when creating PDF Export preset? i have done a bit of searching and have found where it has been recommended to set effective pdf destination profile to use no profile but it doesn't seem to be producting the expected results.

    Yes, it seems that i had to make the change after creation, not while creating the preset. thank you.
    tell application "Adobe InDesign CC"
         set newPreset to make new PDF export preset with properties ¬
              {name:"preset name", standards compliance:none, acrobat compatibility:acrobat 7}
         tell newPreset to set PDF color space to unchanged color space
    end tell

  • Premiere CS6 does not remember some settings when saving custom export presets.

    When I save a custom export preset in the export window, some settings are not remembered, and I need to change them every time again and again! The settings so far I found to not be saved are:
    Key frame every ... frames
    Limit data rate to ...

    Interesting...
    When I create and save an a H.264 QT preset
    using the Export Settings dialog from within Premiere,
    it does not save the key frame interval or max bitrate.
    However, when I create a H.264 QT preset from within
    Media Encoder and save... the missing settings are saved
    and can be recalled from within the Premiere Export Settings dialog.
    EDIT:
    Re-tested this a bit more, and now the kf interval & max bitrate are
    being saved with the presets created in Premiere Export Settings dialog.
    Odd... my first 2 tries didn't take?

  • Custom color palette not saving.  Why?

    Logic is not saving changes that I make to the color palette.  I can make the change, but after I quit and restart Logic, the changes are gone.  Any idea why?

    I've answered this question, but I cannot figure out what I've previously done wrong.  I managed to save the colours and get them to reload when I went back in to Logic. Not exactly sure how I did it, but it doesn't save automatically. 

  • Xserv - user settings are not saved - help!

    I've noticed that user settings do not get saved under OS Xserv...
    Whenenver I login I get the default dock, with all the admin icons missing!
    The desktop is saved in the root as /desktop/. (?!?)
    When the machine was installed the first user was setup as Administrator (Admin) but it was deleted (against my sound advice) and since then things like the FTP server malfunctioned... The keychain seems to pop up a lot as well, and can't be opened / used. And the bookmarks don't get saved as well.
    I'm assuming that user settings like the Dock should be saved somewhere.
    Please help!
    Everything else seems to be running but loosing all UI configurations at log-offs is taking a lot of time which I currently don't have enough of.

    Anyone?
    I was hoping that I'd get an answer through the forums.
    I'll wait till next week and if there's still no post I'll contact Apple's Phone support.
    Please post any suggestions - a Mac Server shouldn't be so fragile!

  • User mapping is not saved

    Hi All,
          i am doing user mapping in personalization window,
    if i am enter my user id and password after that if i am click on save button, the logon data is not saved, so pls solve my problem.
    Regards,
    Jagadish Babu Kanikanti.

    Hi ,
    I am configuring a production Server with SP14.
    When i am in user mapping section, i find the error msg as below:
    <b>There is a configuration issue which leads to problems when accessing user mapping data for the selected backend system 'ESS'. Usually, the reason is user mapping being configured for strong encryption, but the necessary additional files being missing. Check the security log file for further information and hints on how to solve the problem.</b>
    I am not able to enter any user id / pwd ; The fields are greyed out.
    I did solve the same in the development server using :
    <b>Goto System administration-system Configuration-UM Configuration-Direct Editing.
    In that make the ume.usermapping.unsecure as TRUE.</b>
    But on seeing your reply stating this is not suitable for Production server, i am bit confused.
    Can you pls help with me an alternate solution..
    Thanks in advance,
    venkat.

  • User Settings are not saved

    Hello,
    I am setting the values in User settings. It is sucessfully changedand saved, but the changes are not appearing while creating the shopping cart. In pposa_bbp also the value is maintained as default.
    We are in SRM 5.0 classi scenario. Please let me know how to overcome this issue.
    Regards,
    Chary

    Hi
    Please try saving the user defaults in Web page by using
    the transaction BBPUM01 / BBPUM02 for saving user defaults.
    <b>In a productive EBP environment, you should run the program
    CRM_COM_ORGMAN_BUPA_INTEGRATE on a regular basis, in
    order to carry out automatic periodic matching.</b>
    Alternatively, as Disha told, try executing the report as well.
    Incase it does note helps, please raise an OSS message with SAP.
    Regards
    - Atul

  • Color balancing not saved

    I cropped a photo and did some color balancing, I did not add any layers, then saved the photo.    However if I view in a photo viewer or just in windows explorer with large icons or print the photo none of the editing, except the cropping, are applied, ie no color change.
    If i just open it in PS the changes are still there. 
    When I save the photo I use 'save as' and:
    1.   Change the name.
    2.  Change the name and put it in a different directory, All with the same results.
    Please make me feel dumb and tell me I forgot a setting or preference.

    I believe your right.  I started with an original of the same photo and edited as before, using the other monitor, and it printed fine.  guess I should invest in a calibration tool.  Do you have any recomendations ? 

  • Changes are not saved in Exported file

    I am using the trial version of Lightroom 5. When I do a Lens Correction and then export the file, the new file is the same as the original before my corrections when I open it in Photoshop or another program. Help!

    Lr & Photoshop both have the potential to use tiny (xmp) files for storing changes (and never save any other files), and both can save/export big honkin' tiffs, or like-sized jpegs...
    If you save files in Photoshop with layers and such stuff, the files can get pretty big.
    So, to answer your question: "It depends..." - which files, how saved/exported...
    Try some stuff and inspect the file sizes!
    Rob

  • Motion camera behaviors not saving or exporting correctly

    I love this program.  For $50 it is amazing.
    But, I am having issues.
    I have a pretty processor heavy project with two replicators running video and a camera doing zooms, sweeps, etc.
    I can set up the project exactly how I want it, Save, Close. When I open it back up tomorrow I have issues with Camera behaviors not completing their cycle. They were flawless when I exited the program and now when I open back up its as if they are missing some of their data and just stop mid-behavior.
    Example: when using a "Framing" behavior it will start its zoom out but not finish it.
    Seperate issue.
    When I export the project as H.264 or ProRes 422 (or any export), Motion is not performing the behaviors as it did previously.
    I can RAM preview the project and everything looks just fine on playback.  Then I export--when QuickTime opens it and I play it back to check it--the video make it somewhere in the middle and a camera behavior doesn't complete its zoom out.  How can the export be different if the RAM preview is fine and I change nothing????
    Motion crashes all the time too which is super frustrating.  Man it is such a great piece of software though.....

    Anyone encounter & resolve this issue?
    Framing behaviors align perfectly on their targets during playback and RAM renders in the canvas, but are consistently misaligned in any "Share" renders. I've tried it with "Export..." and various "Apple Devices..." settings. Incidentally, those do seem to work up until there are a few Framing behaviors on the same camera, (none of them overlap--  if / when they do conflict, the canvas preview is appropriately affected.) I can't work out which action causes the failure, but it will eventually happen in the canvas, too, if I work on the project long enough! Then the only recourse seems to be deleting the Framing behavior. Simply resetting its parameters does NOT correct the weird alignment. Subsequent targets are not framed correctly.

  • User deleted, data not saved

    My administrator deleted my account and made me a new one to fix a printing problem. The printing problem is fixed, but all my files are gone. From what I can gather when she deleted my old account she did not choose to save the files (there is no 'deleted user' in the user folder, and no disk image). I tried to use a program to recover deleted files but it found nothing. I used Virtual Lab. Any ideas on where the data could be, and how it might be recovered? The files are primarily rtf and doc.

    Most recovery programs are set up so you can read pretty much any drive. They are set up so even if your drive won't mount normally and is in its last moments you can sometimes read data. If you're not seeing files after a simple removal of a user account that's what makes me wonder if some extra step was taken. Deleting an account usually places the old account files in a special folder in deleted users. This still takes up space on the computer so your admin. may have decided to move it to the trash and empty the trash to free up the space. Even then recovery tools should be able to see file remnants (emptying trash just removes all normal reference to the files but the data stays there and can be seen by those special programs) on the drive. There's two reasons (I can think of) for their not being there. One, somebody used secure erase. Two, your computer sees such heavy use that the the space now regarded by the computer as being available was overwritten by other file creation. Ask your administrator if they are in the habit of using secure empty trash. The second case might apply if your computer sees a lot of file creation and you don't have a lot of room on the hard drive so any free space stands a good chance of being randomly used.
    I haven't actually used one of those recovery programs I am also thinking of something I have heard with reference to those programs and that is sometimes the programs will find files but the names are no longer available. I have heard of people recovering lots of files from bad drives but then having to face putting names on all the files again. I may be wrong on this, but maybe you're seeing the files but not recognizing the,. Maybe somebody else with experience using those programs can provide information.

  • Color palette not saving

    I use a custom color palette in Flash CS5.5, it was originally created in flash 8. I have it saved as default in the swatches tab. Every time I create a new document it loads this original color palette. But after I save the file, close it and re open it, it always loads the web 216 palette.

    Hi,
    Can you please zip your color palette and email it to my attention at [email protected]? Please change your .zip extension to .zzz before sending. I'll take a look at your issue.
    Thanks,
    Quynh
    Flash Pro QA

  • Strange color setting not saving correct color

    I am completely baffled why this is happening. I make a simple photoshop document with the color #OF457C and do a 'save for web' and save it as a jpeg at 100%. I then open it back up from my desktop and the color has darkened and changed the hex value to #10447D. Its darker and not the correct color for my background.
    Try it for yourself. Is it a color profile thing? I am using CS4 but have noticed this happening on CS3 on another computer. Does the 'save for web' pick an alternative color? I've never seen a color shift like this before.

    I believe save for web uses sRGB, so if you are working in sometihng else, the conversion could cause a color shift.

  • HP printer not saving paper tray preset

    Hi,
    Leopard has seemingly removed my ability to set a default "paper feed" tray setting on my HP 1320.
    In Tiger, I had a saved preset that always printed from TRAY 2. Leopard sees this preset and defaults to it like it should, but the print feed now says AUTO-SELECT, which prints from TRAY 3. I can manually switch it to TRAY 2 and it works fine, but I don't want to do this every time I print.
    I tried making a new preset with TRAY 2 selected, but that dialog box defaults to AUTO-SELECT right when I hit SAVE.
    It appears that lots of people with various HP laser printers have the same problem.
    Any solutions anyone or Apple?
    Thanks,
    Barry

    We are aware of this problem and working with Apple on a fix. I don't have any other details to share at this time, or any way of working around the problem, but I wanted to make sure you knew we are aware of it.
    Just trying to help.
    Andrew

  • User generated subforms not saving

    I have a form with a button that creates a continuation page and then on each continuation page a button that uses the addInstance() method to create more pages. When the user saves the form, however, the newly created pages do not save with the form if the continuation page presence is set to hidden. But works fine if it is set to visible.
    I understand that since the first continuation page which is hard-coded into the form is set to hidden when the document opens, any subsequent copies of that subform are also hidden unless told otherwise.
    Is there a way to work around this problem? Maybe to save the presence of the page when the user Saves. Any help would be greatly appreciated.
    Thanks,
    IH

    Of course I feel like an idiot having not used an invisible check box which the value of determines the presence of the page. DUH!

Maybe you are looking for

  • Setting Scale and Units in a PDF document

    Hi, I have a batch of architectural plans in PDF format. They have been generated from Autocad. When I want to make measurements on them, I need to specify the scale in the dialog box. In the Preferences > 2D Measures, there is an option tu use the d

  • Can't get past account informatio​n in App World

    I have tried everything but it just doesn't work. After I sign in it takes me right to my account information but then I can't get past that screen..its like an infinite loop. Having a balckberry without being able to use app world sucks. I'm tired o

  • Getting xml as a output

    Hi All, I have Adobe Livecycle designer 7.1 and adobe extension server installed in my pc. my question is by using adobe livecycle designer and extension how to get xml file in adobe reader on button click. Kindly suggest me. Thanks in Advance. Thank

  • Acrobat Pro 8.0 Updating: Which is Correct Version?

    My old system crashed and I reinstalled Acrobat Pro 8.0 (as part of CS3) on my Windows 7 PC.  I'm trying to update. I found the link with the update files, but am having trouble figuring out which is the correct file to use for the very first update

  • Can others order my photo book for themselves?

    I created a memorial book for a friend and many people want to order copies of it. Is there a way they can do this centrally rather me having to order each one and pay for them.