<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for jelle</title><link href="https://forge.codesys.com/u/jelle/activity/" rel="alternate"/><id>https://forge.codesys.com/u/jelle/activity/</id><updated>2020-07-14T10:04:52.059000Z</updated><subtitle>Recent activity for jelle</subtitle><entry><title>jelle created ticket #18</title><link href="https://forge.codesys.com/tol/scripting/snippets/18/" rel="alternate"/><published>2020-07-14T10:04:52.059000Z</published><updated>2020-07-14T10:04:52.059000Z</updated><author><name>jelle</name><uri>https://forge.codesys.com/u/jelle/profile/</uri></author><id>https://forge.codesys.com/tol/scripting/snippets/18/</id><summary type="html">Installation of missing libraries</summary></entry><entry><title>jelle posted a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/59878cec74/?limit=25#6f62/d0f4/e00d" rel="alternate"/><published>2020-07-14T08:45:26.083000Z</published><updated>2020-07-14T08:45:26.083000Z</updated><author><name>jelle</name><uri>https://forge.codesys.com/u/jelle/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/59878cec74/?limit=25#6f62/d0f4/e00d</id><summary type="html">Do you have a link? I am not aware that there is a central place to share scripts</summary></entry><entry><title>jelle posted a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/59878cec74/?limit=25#6f62" rel="alternate"/><published>2020-07-14T06:53:16.513000Z</published><updated>2020-07-14T06:53:16.513000Z</updated><author><name>jelle</name><uri>https://forge.codesys.com/u/jelle/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/59878cec74/?limit=25#6f62</id><summary type="html">Some snippets that are interesting :) Script that lists all the library dependencies: proj = projects.open(projectPath) objects = proj.get_children(recursive=True) for candidate in objects: if candidate.is_libman: for libref in iter(candidate): if libref.is_placeholder: if libref.effective_resolution is not None: libInfo = str(libref.effective_resolution) libMissing = False elif libref.default_resolution is not None: libInfo = str(libref.default_resolution) libMissing = True elif libref.is_managed:...</summary></entry><entry><title>jelle posted a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/59878cec74/?limit=25#67d1" rel="alternate"/><published>2020-07-13T15:37:42.760000Z</published><updated>2020-07-13T15:37:42.760000Z</updated><author><name>jelle</name><uri>https://forge.codesys.com/u/jelle/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/59878cec74/?limit=25#67d1</id><summary type="html">I solved the issue by creating 3 scripts: 1. script that lists all library dependencies 2. script in Python 3 that downloads the missing libraries 3. script that install the missing libraries</summary></entry><entry><title>jelle modified a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/59878cec74/?limit=25#8f24/f01b" rel="alternate"/><published>2020-07-03T08:03:16.655000Z</published><updated>2020-07-03T08:03:16.655000Z</updated><author><name>jelle</name><uri>https://forge.codesys.com/u/jelle/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/59878cec74/?limit=25#8f24/f01b</id><summary type="html">Good advice as workaround but I am searching for an answer to my scripting problem.</summary></entry><entry><title>jelle posted a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/59878cec74/?limit=25#8f24/f01b" rel="alternate"/><published>2020-07-03T08:01:45.286000Z</published><updated>2020-07-03T08:01:45.286000Z</updated><author><name>jelle</name><uri>https://forge.codesys.com/u/jelle/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/59878cec74/?limit=25#8f24/f01b</id><summary type="html">Good advice as workaround but I am searching for an answer to my question.</summary></entry><entry><title>jelle modified a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/59878cec74/?limit=25#83a6" rel="alternate"/><published>2020-07-02T15:21:03.475000Z</published><updated>2020-07-02T15:21:03.475000Z</updated><author><name>jelle</name><uri>https://forge.codesys.com/u/jelle/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/59878cec74/?limit=25#83a6</id><summary type="html">I have been trying to automatically resolve missing libraries on our build PC. First I searched the forum and found some old topics that are relevant to automate CoDeSys prompts: - https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/ - https://forge.codesys.com/forge/talk/Engineering/thread/bf6c8291a5/ The following is now implemented as Python script that runs in CoDeSys V3.5 SP16: system.prompt_handling |= PromptHandling.LogMessageKeys system.prompt_handling &amp;= ~PromptHandling.ForwardSimplePrompts...</summary></entry><entry><title>jelle posted a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/59878cec74/?limit=25#83a6" rel="alternate"/><published>2020-07-02T15:20:29.533000Z</published><updated>2020-07-02T15:20:29.533000Z</updated><author><name>jelle</name><uri>https://forge.codesys.com/u/jelle/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/59878cec74/?limit=25#83a6</id><summary type="html">I have been trying to automatically resolve missing libraries on our build PC. First I searched the forum and found some old topics that are relevant to automate CoDeSys prompts: - https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/ - https://forge.codesys.com/forge/talk/Engineering/thread/bf6c8291a5/ The following is now implemented as Python script that runs in CoDeSys V3.5 SP16: system.prompt_handling |= PromptHandling.LogMessageKeys system.prompt_handling &amp;= ~PromptHandling.ForwardSimplePrompts...</summary></entry></feed>