Lightroom: How can I create User Presets using code?

  • 1
  • Question
  • Updated 3 years ago
  • (Edited)
If this page is still alive, can anyone tell me how I can find information on writing Lightroom Presets that can be used just like normal user presets. I see that they are written in some language resembling XML code.
Photo of Myron Kuziak

Myron Kuziak

  • 4 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 4427 Posts
  • 1638 Reply Likes
Why not just create a preset in Lightroom and then open it in a text editor to see how it's built?
Photo of John R. Ellis

John R. Ellis, Champion

  • 3865 Posts
  • 1023 Reply Likes
To build on Victoria's answer, there is no public documentation for XML contents of a develop preset. However, as she suggests, it's very straightforward to figure it out by creating sample user presets and examining their contents.
Photo of Myron Kuziak

Myron Kuziak

  • 4 Posts
  • 0 Reply Likes
Thanks, folks. I guessed that your advice was the case since it seemed impossible to find anything on a normal web search. I have already tried doing what you suggest, but it seemed somewhat more difficult than either of you suggest to figure out how to edit the code to create preset tools which would work on all of the different develop sliders. I guess its just me. I shall persevere.

By the way, I noticed that Adobe uses the LUA scripting language in its plugin SDK package, but they have not made public an SDK for editing presets. Too bad.
Photo of John R. Ellis

John R. Ellis, Champion

  • 3865 Posts
  • 1023 Reply Likes
What would you like to accomplish? We can likely help...
Photo of Myron Kuziak

Myron Kuziak

  • 4 Posts
  • 0 Reply Likes
John, I took a slightly different approach (no attempt at editing the code) and figured out how to do what I wanted. It works OK. I've tested the presets I have created.
Thanks for your kind offer.
Photo of Myron Kuziak

Myron Kuziak

  • 4 Posts
  • 0 Reply Likes
I will keep this web-site-page on my radar. It is very useful.