<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to (no subject)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/39b44215eb/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/39b44215eb/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/39b44215eb/</id><updated>2024-01-26T06:27:13.742000Z</updated><subtitle>Recent posts to (no subject)</subtitle><entry><title>(no subject)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/39b44215eb/?limit=25#317a" rel="alternate"/><published>2024-01-26T06:27:13.742000Z</published><updated>2024-01-26T06:27:13.742000Z</updated><author><name>kevin123</name><uri>https://forge.codesys.com/u/kevin123/</uri></author><id>https://forge.codesys.com4635d4bc4779d46e804ed1234794774dfb714aaf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am trying to do "update device" in a project which was saved in a different version of CODESYS using ScriptEngine, &lt;br/&gt;
a dialog with 'Yes' and 'No' button popped up showing that&lt;br/&gt;
"Do you want to upgrade the storage format for this project? &lt;br/&gt;
-if you click 'Yes', storage format will be upgraded...&lt;br/&gt;
-if you click 'No', storage format will not be changed..."&lt;/p&gt;
&lt;p&gt;I have to click the 'Yes' button automatically by scriptEngine.&lt;br/&gt;
I know from others topics here in forum, that some dialogs can be auto-answered using system.prompt_answers. And I also get the messagekey of this dialog:&lt;br/&gt;
Key: "&amp;lt;&amp;lt;no key=""&amp;gt;&amp;gt;" Message: "Do you want to upgrade the storage format for this project?  - If you click 'Yes',...&amp;lt;/no&amp;gt;&lt;/p&gt;
&lt;p&gt;i have tried using the system.prompt_answers command below, but the dialog was not auto-answered.&lt;/p&gt;
&lt;p&gt;system.prompt_answers&lt;span&gt;["&amp;lt;&amp;lt;no key=""&amp;gt;&amp;gt;"]&amp;lt;/no&amp;gt;&lt;/span&gt; = PromptResult.Yes   &lt;/p&gt;
&lt;p&gt;Does someone know how to auto-answer the dialog using system.prompt_answers command with messagekey"&amp;lt;&amp;lt;no key=""&amp;gt;&amp;gt;"?  or any suggestions to solve this issue, Thanks!&amp;lt;/no&amp;gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>