<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Open a POU in the editor via scripting</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a7d58e960/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a7d58e960/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/7a7d58e960/</id><updated>2024-05-30T14:06:14.170000Z</updated><subtitle>Recent posts to Open a POU in the editor via scripting</subtitle><entry><title>Open a POU in the editor via scripting</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a7d58e960/?limit=25#ae92" rel="alternate"/><published>2024-05-30T14:06:14.170000Z</published><updated>2024-05-30T14:06:14.170000Z</updated><author><name>bartg</name><uri>https://forge.codesys.com/u/bartg/</uri></author><id>https://forge.codesys.com8a96fc8cc57798604039cf1ce1e490de6964b11d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would like to automate opening some specific pous and visualisations in the codesys environment&lt;/p&gt;
&lt;p&gt;I found out that I can open it by using :&lt;br/&gt;
    system.commands&lt;span&gt;["42f6acb9-bd6e-42e7-94bb-6e2a03973b83"]&lt;/span&gt;.execute()&lt;br/&gt;
But the POU has to be selected in the Devices or POUs navigator.&lt;/p&gt;
&lt;p&gt;Does anyone know how I can select a specific POU in the navigator? Or how I can open a specific POU?&lt;br/&gt;
I can retreive the guid of the POU.&lt;/p&gt;
&lt;p&gt;Thx&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>