Akai S3200XL Instruction Manual Page 61

  • Download
  • Add to my manuals
  • Print
  • Page
    / 64
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 60
MESA II MESA II AppleScript 55
"Display Dialogue" ("Display"). If these scripts do not work on your system, either
remove the references files of the offending objects or try to recover the missing ob-
jects. In your extensions folder in the system folder, there should be the system script
objects stored in a folder called "Scripting Additions".
You will definitely need the following objects to be present for MESA II scripting:
Display Dialogue "display"
File Commands "file command"
New File "new file"
Read/Write Commands "read/write commands"
Explanation of terms in MESA II Script
Every scriptable application like MESA II has a "Dictionary" for all commands and pa-
rameters that can be set in your script. To see if an application is scriptable you simply
drop it onto the "Script Editor" application in the Finder. By examining the dictionary of
a scriptable application, you will be able to see which commands and parameters of
MESA II you can manipulate with AppleScript.
MESA II provides a subset of the 'core' Apple Event Suite which is called MESA Suite.
Some editors provides extensions to the MESA Suite. For example, the Sampler Edi-
tor provides the Sampler Suite. These extensions may provide extra parameters ("prop-
erties", "elements", or (also called "objects") and "events") (also called as "commands")
for the MESA II applications such as "sampler" element in the Sampler Suite. These
extra elements can then be accessed via the "application" element in the MESA Suite.
For example the script command
get sampler 1 in application "MESA II"
will return a reference to the sampler element in the Sampler Suite. You can then use
that reference to get at the elements and properties in the Sampler.
Here is a simple example of script that sets the name of the first program in the AKAI
sampler that is connected to MESA II
tell application "MESA II"
set name in program 1 in sampler 1 to "PROGRAM 1"
end tell
Of course, most scripts are far more complex than the above example.
You should look at some of the example scripts provided in the "Example Scripts"
folder included with MESA II.
To find out more about how to write scripts using AppleScript, you should read the
documents called AppleScript Language Guide and Scripting Additions Guide which
should come on your AppleScript installation disks. There are also some good books
on the subject which you should be able to find in the computer section of any good
book store or Mac computer dealer.
Write your own
Apple Script
Save the scripts you
like as applications
and store them in a
new folder in the
Apple Menu Folder -
run the scripts se-
lecting from the
Apple Menu.
Find out more about
AppleScript
Page view 60
1 2 ... 56 57 58 59 60 61 62 63 64

Comments to this Manuals

No comments