Skip to content
CoyoteMIDI
  • Upgrade to PRO
  • My account
  • Help
  • Contact
  • Shopping Cart
CoyoteMIDI
  • Shopping Cart
  • Upgrade to PRO
  • My account
  • Help
  • Contact

CoyoteScript (PRO only)

CoyoteScript Basics
  • Collection Operations
  • Command Nesting
  • Comments
  • Documentation Syntax
  • Events
  • Logical and Comparison operators
  • Math Operations
  • Triggers
  • Using Scripts
  • Variables
CoyoteScript Commands
  • After
  • Before
  • Case
  • Ceiling
  • Click
  • Cooldown
  • CopyFile
  • Cos
  • Count
  • CreateFolder
  • Date
  • DeleteFile
  • DeleteFolder
  • Else
  • Floor
  • Foreach
  • GetFiles
  • GetFolders
  • GetMouse
  • GetPixel
  • GetRecordingVolume
  • HeldNotes
  • If
  • Indicator
  • IsProcessFocused
  • IsProcessRunning
  • Key
  • KeyState
  • KillProcess
  • MapKeys
  • MapValues
  • Max
  • MessageBox
  • Midi
  • Min
  • MoveFile
  • MoveFolder
  • MoveMouse
  • ParseJSON
  • Print
  • Random
  • Repeat
  • Rest
  • Return
  • Round
  • RunScript
  • SearchImage
  • SearchPixel
  • SetFocusedProcess
  • SetRecordingEnabled
  • SetRecordingVolume
  • SetVolume
  • Sin
  • Split
  • StartProcess
  • Switch
  • Tan
  • Time
  • Wait
  • Web
  • While
  • Write
CoyoteScript Events
  • Key
  • Midi
  • Process
  • ScriptsLoaded
  • Shutdown
  • Startup
  • Time
  • WindowChanged
  • WindowsSession

Basic Operation

  • CoyoteMIDI FAQ
  • Getting Started
  • Overview
  • Using CoyoteMIDI with a DAW (loopback MIDI)

Other

  • Version Changelog
  • Home
  • Docs
  • CoyoteScript (PRO only)
  • CoyoteScript Basics
  • Comments

Comments

In Coyotescript, it is possible to add text throughout the script that will be ignored by the scripting system. This allows you to leave comments or general documentation inside your script, or temporarily disable lines of script without fully removing them.

For the inserted text to be ignored, the comments have to start with “//”. This can be done anywhere in an empty line, or at the end of a valid script line.

 

Examples:

// say good day to the user!
print Good day

Output: “Good day”

 

$variable = 7
// $variable = 8
print $variable

Output: “7”

Share This Article :
  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
Updated on July 24, 2022
Events
© 2023 - CoyoteMIDI | All rights reserved