ArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2011-03-01T00:52:01+02:00 https://brainmodular.org/forums/app.php/feed/topic/2723 2011-03-01T00:52:01+02:00 2011-03-01T00:52:01+02:00 https://brainmodular.org/forums/viewtopic.php?t=2723&p=18264#p18264 <![CDATA[Setting preset name with IML]]>
It works,

The line SendInternalMsg('SET_TARGET_PATCH','SENDER_PATCH'); was missing in my code.

Statistics: Posted by gthibert — 28 Feb 2011, 23:52


]]>
2011-02-28T21:22:43+02:00 2011-02-28T21:22:43+02:00 https://brainmodular.org/forums/viewtopic.php?t=2723&p=18242#p18242 <![CDATA[Setting preset name with IML]]> strange ive tested and it works here, did you made something to trig the code? set the patch as active patch? module is same renamed to PM?
here with a button i can rename correctly when clic on it, look like this:

CODE:

/////////////////////////// parameters declarationvar go&#58; Tparameter;////////////////////////procedure init;begin  go&#58;= CreateParam&#40;'go',PtButton&#41;; SetisOutput&#40;go,false&#41;;end;////////////////////////////Procedure Callback&#40;N&#58;integer&#41;; begin if &#40;&#40;n=go&#41; and &#40;getvalue&#40;go&#41;=1&#41;&#41; then begin   SendInternalMsg&#40;'SET_TARGET_PATCH','SENDER_PATCH'&#41;;   SendInternalMsg&#40;'SET_STRING_VALUE', 'PM', '4', 'yo!'&#41;; end;end;/////////////////////////

Statistics: Posted by 23fx23 — 28 Feb 2011, 20:22


]]>
2011-02-26T21:59:18+02:00 2011-02-26T21:59:18+02:00 https://brainmodular.org/forums/viewtopic.php?t=2723&p=18202#p18202 <![CDATA[Setting preset name with IML]]>
SendInternalMsg('SET_STRING_VALUE', 'pm', '4', 'yo!');

Statistics: Posted by gthibert — 26 Feb 2011, 20:59


]]>
2011-02-26T21:40:28+02:00 2011-02-26T21:40:28+02:00 https://brainmodular.org/forums/viewtopic.php?t=2723&p=18201#p18201 <![CDATA[Setting preset name with IML]]>
If the name of your preset manager is "pm", the message will be for example:
SET_STRING_VALUE pm 4 "yo!"

Statistics: Posted by ethnix73 — 26 Feb 2011, 20:40


]]>
2011-02-26T21:28:40+02:00 2011-02-26T21:28:40+02:00 https://brainmodular.org/forums/viewtopic.php?t=2723&p=18200#p18200 <![CDATA[Setting preset name with IML]]>
I'm trying to set the name of a preset in preset manager using internal messages, but I can't get it to work.

I use SET_STRING_VALUE, but I can't set a value on terminals "0, 1, 2..." .

It actualy works if I set the value to a text field and link the text field to the preset terminal, but I wonder if it's possible to set it directly.

Guillaume

Statistics: Posted by gthibert — 26 Feb 2011, 20:28


]]>
BrainModular BrainModular Users Forum 2011-03-01T00:52:01+02:00 https://brainmodular.org/forums/app.php/feed/topic/2723 2011-03-01T00:52:01+02:00 2011-03-01T00:52:01+02:00 https://brainmodular.org/forums/viewtopic.php?t=2723&p=18264#p18264 <![CDATA[Setting preset name with IML]]>
It works,

The line SendInternalMsg('SET_TARGET_PATCH','SENDER_PATCH'); was missing in my code.

Statistics: Posted by gthibert — 28 Feb 2011, 23:52


]]>
2011-02-28T21:22:43+02:00 2011-02-28T21:22:43+02:00 https://brainmodular.org/forums/viewtopic.php?t=2723&p=18242#p18242 <![CDATA[Setting preset name with IML]]> strange ive tested and it works here, did you made something to trig the code? set the patch as active patch? module is same renamed to PM?
here with a button i can rename correctly when clic on it, look like this:

CODE:

/////////////////////////// parameters declarationvar go&#58; Tparameter;////////////////////////procedure init;begin  go&#58;= CreateParam&#40;'go',PtButton&#41;; SetisOutput&#40;go,false&#41;;end;////////////////////////////Procedure Callback&#40;N&#58;integer&#41;; begin if &#40;&#40;n=go&#41; and &#40;getvalue&#40;go&#41;=1&#41;&#41; then begin   SendInternalMsg&#40;'SET_TARGET_PATCH','SENDER_PATCH'&#41;;   SendInternalMsg&#40;'SET_STRING_VALUE', 'PM', '4', 'yo!'&#41;; end;end;/////////////////////////

Statistics: Posted by 23fx23 — 28 Feb 2011, 20:22


]]>
2011-02-26T21:59:18+02:00 2011-02-26T21:59:18+02:00 https://brainmodular.org/forums/viewtopic.php?t=2723&p=18202#p18202 <![CDATA[Setting preset name with IML]]>
SendInternalMsg('SET_STRING_VALUE', 'pm', '4', 'yo!');

Statistics: Posted by gthibert — 26 Feb 2011, 20:59


]]>
2011-02-26T21:40:28+02:00 2011-02-26T21:40:28+02:00 https://brainmodular.org/forums/viewtopic.php?t=2723&p=18201#p18201 <![CDATA[Setting preset name with IML]]>
If the name of your preset manager is "pm", the message will be for example:
SET_STRING_VALUE pm 4 "yo!"

Statistics: Posted by ethnix73 — 26 Feb 2011, 20:40


]]>
2011-02-26T21:28:40+02:00 2011-02-26T21:28:40+02:00 https://brainmodular.org/forums/viewtopic.php?t=2723&p=18200#p18200 <![CDATA[Setting preset name with IML]]>
I'm trying to set the name of a preset in preset manager using internal messages, but I can't get it to work.

I use SET_STRING_VALUE, but I can't set a value on terminals "0, 1, 2..." .

It actualy works if I set the value to a text field and link the text field to the preset terminal, but I wonder if it's possible to set it directly.

Guillaume

Statistics: Posted by gthibert — 26 Feb 2011, 20:28


]]>