<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to ScriptEngine - execute "Export -&gt; Bootproject and firmware (SD Card)" from python</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/085d9626b1/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/085d9626b1/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/085d9626b1/</id><updated>2024-07-05T17:16:04.511000Z</updated><subtitle>Recent posts to ScriptEngine - execute "Export -&gt; Bootproject and firmware (SD Card)" from python</subtitle><entry><title>ScriptEngine - execute "Export -&gt; Bootproject and firmware (SD Card)" from python</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/085d9626b1/?limit=25#cf2c" rel="alternate"/><published>2024-07-05T17:16:04.511000Z</published><updated>2024-07-05T17:16:04.511000Z</updated><author><name>adaml</name><uri>https://forge.codesys.com/u/adaml/</uri></author><id>https://forge.codesys.comd9fa3e1fe461f15737bffb2f898aad5b5f1c26d7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi everybody,&lt;/p&gt;
&lt;p&gt;recently I was checking how many time consuming manual tasks I can perform with python scripts through ScriptEngine. I have in the project many devices and currently I export bootprojects for them by right clicking on Application, then go Export -&amp;gt; Bootproject and firmware (SD Card) and then point folder where files should be exported. It's fine if project has few devices, but I have some of them with over 30 devices and manual clicking like that is very time consuming.&lt;/p&gt;
&lt;p&gt;How can I do it with python script? So far I found "create_boot_application" method from Application object (taken by projects.primary.find('Application', True)) but it only generates .app and .crc file instead of full structure to store on SD card (FIRMWARE, USERDATA, SDCARD.INI, Version, Version.txt.sig). Should I use some method to control user interface?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Adam&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>