4 Replies Latest reply on Jun 15, 2011 10:54 PM by jovenator

    Lightroom built-in property keys

    fovitan

      Hi, i cannot figure out how to use Lightroom built-in property keys, f.example i want to use

       

      LR_export_destinationPathPrefix

       

      to define a persistent location on hardisc to export t.

       

      How do i do that, its there any example on that?

       

       

      Br,

      Fovitan

        • 1. Re: Lightroom built-in property keys
          areohbee Level 5

              local params = {}
              params.LR_collisionHandling = 'rename' -- this should never happen - I'll be checking in case it does.
              params.LR_export_bitDepth = 16
              params.LR_export_colorSpace = prefs.tifColorSpace
              params.LR_export_destinationType = "sourceFolder"
              params.LR_export_useSubfolder = false
              params.LR_extensionCase = "lowercase"
              params.LR_format = "TIFF"
              params.LR_initialSequenceNumber = 1
              params.LR_jpeg_limitSize = 100
              params.LR_jpeg_quality = 1
              params.LR_jpeg_useLimitSize = false
              params.LR_metadata_keywordOptions = "lightroomHierarchical"
              params.LR_minimizeEmbeddedMetadata = false
              params.LR_outputSharpeningLevel = 2
              params.LR_outputSharpeningMedia = "screen"
              params.LR_outputSharpeningOn = false
              params.LR_reimportExportedPhoto = false
              params.LR_reimport_stackWithOriginal = false
              params.LR_reimport_stackWithOriginal_position = "below"
              params.LR_renamingTokensOn = true
              params.LR_size_doConstrain = false
              params.LR_size_resolution = 240
              params.LR_size_resolutionUnits = "inch"
              params.LR_tokenCustomString = ""
              params.LR_tokens = LrPathUtils.removeExtension( filename )
              params.LR_useWatermark = false
              params.LR_watermarking_id = "<simpleCopyrightWatermark>"
             
              local exportSession = LrExportSession {
                  photosToExport = { photo },
                  exportSettings = params,
              }
              exportSession:doExportOnCurrentTask() -- block until all renditions are created.

          • 2. Re: Lightroom built-in property keys
            fovitan Level 1

            Thanks a lot Rob,

             

            Fovitan

            • 3. Re: Lightroom built-in property keys
              areohbee Level 5

              You're welcome Fovitan .

              Rob

              • 4. Re: Lightroom built-in property keys
                jovenator

                These are also documented in the SDK guide page 59.