applescript or scripter or javascript

Hi everybody!

Can you tell me where i can find informations for writing my "applescript or javascript" for Mainstage "script Editor or scripter", PLEASE?

In mainstage i can find some little example but how can i implement them without a glossary of commands...there is a book or guide that i can read anywhere?

🙂



THANKS!

MacBook Pro, OS X Yosemite (10.10.2)

Posted on Feb 18, 2015 12:52 AM

Reply
4 replies

Feb 19, 2015 5:27 AM in response to DinoDcn

The documentation for Scripter can be found here:

http://help.apple.com/mainstage-effects/mac/3.1/

Look at MIDI Plug-ins/Scripter plug-in.

If you know some programming basics (like C), you should be able to get your script up'n running. It helps a lot to open a few scripter instances and learn some specifics from the tutorial scripts. AFAIK, there's no book or courseware, but you may take a look here:

http://www.macprovideo.com/tutorials/logic-application


Best,


DaCaptain

Feb 21, 2015 7:01 AM in response to DaCaptain

Hi,

Thanks, but do you know where i can find a manual/glossary reference for midi....for example


I have this script by their manual:

// Attribue à NeedsTimingInfo la valeur « true » au niveau global pour activer GetHostInfo()

NeedsTimingInfo = true;

function ProcessMIDI() {

var info = GetTimingInfo();         
// Prend un objet TimingInfo à partir de l’hôte

if (info.playing) {                // Si le transport s’exécute

Trace(info.tempo);             // Affichage du tempo dans la console du module

}

}




Ok it's clear, but how could i know that the function ProcessMIDI has the command "info.playing" ??


Or this:

note.velocity = GetParameter("Note Velocity"); .....how could i know that GetParameter can handle the value "Note Velocity" or that exist the command note.velocity ??

They don't give us a reference glossary/syntaxs....


Maybe that the javascript i can use is expecially for the web! but for it i have all the explications of functions, commands, objects syntax and their use.


Please help! 😟

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

applescript or scripter or javascript

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.