4. Practical examples: Difference between revisions
Created page with "EXAMPLES OF JS SCRIPTS FOR MXW" |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Download the Javascript Reference folder from https://www.mxwendler.net/de/downloads.html | |||
1) Double click on the "js-demo.mxw" to load the demo.<div> | |||
2) Open the I/O Settings Window (CTRL+1) or click on "Settings" → "Inputs and Outputs - Keyboard, Midi, DMX" <div> | |||
  and click on SHOW JAVASCRIPT CONSOLE, almost at the bottom of the I/O window. | |||
3) Follow the instructions on the Javascript Console. <div> | |||
===Commands:=== | |||
Remember to click on the interface header before giving commands, | |||
the operating System needs to know where the keyboard signals are directed. | |||
<code>backspace</code> starts the patch and selects the LiveEditor Tab. | |||
<div> | |||
<code>spacebar</code> (6 times at least) to set up a tap tempo | |||
<div> | |||
<code>1</code> Sets the render opacity to 0 | |||
<div> | |||
<code>2</code> Sets the render opacity to 0.5 | |||
<div> | |||
<code>3</code> Sets the render opacity to 1 | |||
<div> | |||
<code>4</code> Writes Output informations on the Javascript console. | |||
Takes a screenshot of the output and saves it in "C:\screen" | |||
(if the directory already exists) |
Latest revision as of 12:44, 13 December 2022
Download the Javascript Reference folder from https://www.mxwendler.net/de/downloads.html
1) Double click on the "js-demo.mxw" to load the demo.
and click on SHOW JAVASCRIPT CONSOLE, almost at the bottom of the I/O window.
3) Follow the instructions on the Javascript Console.Commands:
Remember to click on the interface header before giving commands, the operating System needs to know where the keyboard signals are directed.
backspace
starts the patch and selects the LiveEditor Tab.
spacebar
(6 times at least) to set up a tap tempo
1
Sets the render opacity to 0
2
Sets the render opacity to 0.5
3
Sets the render opacity to 1
4
Writes Output informations on the Javascript console.
Takes a screenshot of the output and saves it in "C:\screen"
(if the directory already exists)