<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[getIdList misses hardcoded scripts]]></title><description><![CDATA[<p dir="auto"><code>Synth.getIdList("Script Processor")</code> doesn't return hardcoded scripts such as the MidiMuter.</p>
<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;

&lt;Processor Type="SynthChain" ID="Master Chain" Bypassed="0" Gain="1" Balance="0"
           VoiceLimit="128" KillFadeTime="20" IconColour="0" packageName=""
           views="32.rk1bzA.....A.........DC...................." currentView="-1"&gt;
  &lt;EditorStates BodyShown="0" Visible="1" Solo="0"/&gt;
  &lt;ChildProcessors&gt;
    &lt;Processor Type="MidiProcessorChain" ID="Midi Processor" Bypassed="0"&gt;
      &lt;EditorStates BodyShown="1" Visible="1" Solo="0" Folded="0"/&gt;
      &lt;ChildProcessors&gt;
        &lt;Processor Type="ScriptProcessor" ID="Test Script" Bypassed="0" Script="const var scriptNames = Synth.getIdList(&amp;quot;Script Processor&amp;quot;);&amp;#13;&amp;#10;&amp;#13;&amp;#10;for (i = 0; i &amp;lt; scriptNames.length; i++)&amp;#13;&amp;#10;{&amp;#13;&amp;#10;&amp;#9;Console.print(scriptNames[i]);&amp;#10;}&amp;#13;&amp;#10;function onNoteOn()&amp;#10;{&amp;#10;&amp;#9;&amp;#10;}&amp;#10;function onNoteOff()&amp;#10;{&amp;#10;&amp;#9;&amp;#10;}&amp;#10;function onController()&amp;#10;{&amp;#10;&amp;#9;&amp;#10;}&amp;#10;function onTimer()&amp;#10;{&amp;#10;&amp;#9;&amp;#10;}&amp;#10;function onControl(number, value)&amp;#10;{&amp;#10;&amp;#9;&amp;#10;}&amp;#10;"&gt;
          &lt;EditorStates BodyShown="1" Visible="1" Solo="0" contentShown="1" onInitOpen="1"
                        onNoteOnOpen="0" onNoteOffOpen="0" onControllerOpen="0" onTimerOpen="0"
                        onControlOpen="0"/&gt;
          &lt;ChildProcessors/&gt;
          &lt;Content/&gt;
        &lt;/Processor&gt;
        &lt;Processor Type="MidiMuter" ID="MidiMuter" Bypassed="0"&gt;
          &lt;EditorStates BodyShown="1" Visible="1" Solo="0"/&gt;
          &lt;ChildProcessors/&gt;
          &lt;Content&gt;
            &lt;Control type="ScriptButton" id="ignoreButton" value="0"/&gt;
            &lt;Control type="ScriptButton" id="fixStuckNotes" value="0"/&gt;
          &lt;/Content&gt;
        &lt;/Processor&gt;
        &lt;Processor Type="ScriptProcessor" ID="Another Test Script" Bypassed="0"
                   Script="function onNoteOn()&amp;#10;{&amp;#10;&amp;#9;&amp;#10;}&amp;#10;function onNoteOff()&amp;#10;{&amp;#10;&amp;#9;&amp;#10;}&amp;#10;function onController()&amp;#10;{&amp;#10;&amp;#9;&amp;#10;}&amp;#10;function onTimer()&amp;#10;{&amp;#10;&amp;#9;&amp;#10;}&amp;#10;function onControl(number, value)&amp;#10;{&amp;#10;&amp;#9;&amp;#10;}&amp;#10;"&gt;
          &lt;EditorStates BodyShown="1" Visible="1" Solo="0" contentShown="1" onInitOpen="1"
                        onNoteOnOpen="0" onNoteOffOpen="0" onControllerOpen="0" onTimerOpen="0"
                        onControlOpen="0" Folded="1"/&gt;
          &lt;ChildProcessors/&gt;
          &lt;Content/&gt;
        &lt;/Processor&gt;
      &lt;/ChildProcessors&gt;
    &lt;/Processor&gt;
    &lt;Processor Type="ModulatorChain" ID="GainModulation" Bypassed="0" Intensity="1"&gt;
      &lt;EditorStates BodyShown="1" Visible="0" Solo="0" Folded="1"/&gt;
      &lt;ChildProcessors/&gt;
    &lt;/Processor&gt;
    &lt;Processor Type="ModulatorChain" ID="PitchModulation" Bypassed="1" Intensity="0"&gt;
      &lt;EditorStates BodyShown="1" Visible="0" Solo="0" Folded="1"/&gt;
      &lt;ChildProcessors/&gt;
    &lt;/Processor&gt;
    &lt;Processor Type="EffectChain" ID="FX" Bypassed="0"&gt;
      &lt;EditorStates BodyShown="1" Visible="0" Solo="0" Folded="1"/&gt;
      &lt;ChildProcessors/&gt;
    &lt;/Processor&gt;
  &lt;/ChildProcessors&gt;
  &lt;RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/&gt;
  &lt;macro_controls&gt;
    &lt;macro name="Macro 1" value="0" midi_cc="-1"/&gt;
    &lt;macro name="Macro 2" value="0" midi_cc="-1"/&gt;
    &lt;macro name="Macro 3" value="0" midi_cc="-1"/&gt;
    &lt;macro name="Macro 4" value="0" midi_cc="-1"/&gt;
    &lt;macro name="Macro 5" value="0" midi_cc="-1"/&gt;
    &lt;macro name="Macro 6" value="0" midi_cc="-1"/&gt;
    &lt;macro name="Macro 7" value="0" midi_cc="-1"/&gt;
    &lt;macro name="Macro 8" value="0" midi_cc="-1"/&gt;
  &lt;/macro_controls&gt;
  &lt;MidiAutomation/&gt;
&lt;/Processor&gt;
</code></pre>
]]></description><link>https://forum.hise.audio/topic/155/getidlist-misses-hardcoded-scripts</link><generator>RSS for Node</generator><lastBuildDate>Fri, 05 Jun 2026 23:22:11 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/155.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Jan 2017 22:00:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to getIdList misses hardcoded scripts on Fri, 07 Feb 2025 18:03:43 GMT]]></title><description><![CDATA[<p dir="auto">Ran in to this again. It works for the <code>MidiMuter</code> but doesn't seem to work for others like <code>CCSwapper</code> or <code>LegatoWithRetrigger</code></p>
<p dir="auto">Edit: So it does work but you need to know the secret spellings. <code>CC Swapper</code> and <code>Legato with Retrigger</code> - spacing and capitalisation are important.</p>
]]></description><link>https://forum.hise.audio/post/97279</link><guid isPermaLink="true">https://forum.hise.audio/post/97279</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Fri, 07 Feb 2025 18:03:43 GMT</pubDate></item><item><title><![CDATA[Reply to getIdList misses hardcoded scripts on Wed, 11 Jan 2017 22:02:56 GMT]]></title><description><![CDATA[<p dir="auto">Oh I just realised I have to use <code>Synth.getIdList("MidiMuter")</code>. I'll leave this here for future reference :)</p>
]]></description><link>https://forum.hise.audio/post/785</link><guid isPermaLink="true">https://forum.hise.audio/post/785</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Wed, 11 Jan 2017 22:02:56 GMT</pubDate></item></channel></rss>