<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>using Lua scripts on darktable user manual</title>
    <link>https://docs.darktable.org/usermanual/development/en/lua/using-scripts/</link>
    <description>Recent content in using Lua scripts on darktable user manual</description>
    <generator>Hugo</generator>
    <language>en</language>
    <atom:link href="https://docs.darktable.org/usermanual/development/en/lua/using-scripts/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>using Lua scripts</title>
      <link>https://docs.darktable.org/usermanual/development/en/lua/using-scripts/using-lua-scripts/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.darktable.org/usermanual/development/en/lua/using-scripts/using-lua-scripts/</guid>
      <description>&lt;h2 id=&#34;darktable-version-56-and-after&#34;&gt;&lt;a class=&#34;dt-anchor&#34; href=&#34;#darktable-version-56-and-after&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;darktable version 5.6 and after&lt;/h2&gt;&#xA;&lt;p&gt;Darktable (starting at version 5.6) comes with several built-in and contributed scripts for performing various actions.&lt;/p&gt;&#xA;&lt;p&gt;However, to use a supplied script, you first must &lt;a href=&#34;https://docs.darktable.org/usermanual/development/en/lua/using-scripts/enabling/&#34;&gt;enable it&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;darktable-versions-before-56&#34;&gt;&lt;a class=&#34;dt-anchor&#34; href=&#34;#darktable-versions-before-56&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;darktable versions before 5.6&lt;/h2&gt;&#xA;&lt;p&gt;If you are using a version of darktable before 5.6, see the &lt;a href=&#34;https://docs.darktable.org/usermanual/development/en/lua/writing-lua-scripts/&#34;&gt;section on writing Lua scripts&lt;/a&gt; for how to enable scripts in that older version of darktable.&lt;/p&gt;</description>
    </item>
    <item>
      <title>enabling a Lua script</title>
      <link>https://docs.darktable.org/usermanual/development/en/lua/using-scripts/enabling/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.darktable.org/usermanual/development/en/lua/using-scripts/enabling/</guid>
      <description>&lt;p&gt;Enabling a Lua script for use is a two-step process:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;finding it, as described below, and then&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#starting-a-script&#34;&gt;starting it&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2 id=&#34;finding-a-script&#34;&gt;&lt;a class=&#34;dt-anchor&#34; href=&#34;#finding-a-script&#34; aria-label=&#34;Link to this section&#34;&gt;#&lt;/a&gt;finding a script&lt;/h2&gt;&#xA;&lt;p&gt;To find the folder containing a script, such as &amp;ldquo;rename-images&amp;rdquo;,&#xA;use the following steps.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the lighttable view.&lt;/li&gt;&#xA;&lt;li&gt;In the lower part of the leftmost pane in the lighttable view you should see the scripts module. Click (once) on the right-facing arrowhead, to open the module.&#xA;(If the scripts module does not appear, make sure that in the darktable preferences under &amp;ldquo;Lua options&amp;rdquo; that the checkbox for &amp;ldquo;disable Lua scripts&amp;rdquo; is &lt;em&gt;not&lt;/em&gt; checked (that is uncheck it), see &lt;a href=&#34;https://docs.darktable.org/usermanual/development/en/preferences-settings/lua-options/&#34;&gt;preferences &amp;gt; lua options&lt;/a&gt;, and then start darktable again.)&lt;/li&gt;&#xA;&lt;li&gt;You should then see an initial view of the scripts module.&lt;/li&gt;&#xA;&lt;li&gt;Check that the scripts module has the &amp;ldquo;start/stop scripts&amp;rdquo; action selected, which should appear to the right of the word &amp;ldquo;action&amp;rdquo; in the second row from the top as shown above. (If that action is not selected, click on the word &amp;ldquo;action&amp;rdquo; and then select &amp;ldquo;start/stop scripts&amp;rdquo; from the menu that appears.)&lt;/li&gt;&#xA;&lt;li&gt;Find out what folder contains the script you want to enable. To do that &lt;a href=&#34;https://docs.darktable.org/lua/stable/lua.scripts.manual/scripts/&#34; target=&#34;_blank&#34;&gt;look at the darktable scripts page&lt;/a&gt; and the lists under each folder.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;In our example &amp;ldquo;rename-images&amp;rdquo; is a contributed script and the &amp;ldquo;contributed&amp;rdquo; folder is already selected. (If you want to enable a script in the &amp;ldquo;official&amp;rdquo; folder, then you will need to select that folder, &amp;ldquo;official&amp;rdquo;, from the menu that appears when you click on &amp;ldquo;folder&amp;rdquo;.)&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
