1 Reply Latest reply on Mar 11, 2016 9:28 PM by johnrellis

    List of installed Lightroom plugins

    bzwit Level 1
      I am writing a plugin to allow me to create metadata fields to record edits to an image. Is there a way to: (1) query Lr using the SDK to create a list of plugins that are installed in Lr; or (2) read a CVS file? In either case, I want to use the generated list of plugins or the CVS to create an enumerated list of words for the metadata. Any ideas how to do this?
      Thanks.
      Brian
        • 1. Re: List of installed Lightroom plugins
          johnrellis Most Valuable Participant
          query Lr using the SDK to create a list of plugins that are installed in Lr;

          The SDK doesn't provide any mechanism for this, unfortunately.  The only way to do it is to use SQLite to read the information from the catalog database file (which is very much unsupported by Adobe, and which can only be done while Lightroom is not running).

          read a CVS file?

          That can be done using the i/o facilities in Lua's base library, but you'd have to program it yourself.  See lua-users wiki: Lua Csv

          for an example (but note that code isn't completely correct -- it doesn't handle newlines within quoted fields).