top of page

1

Beginner

AZ_showConsoleMsg

文字列をコンソール出力する関数と実行

RANK

function Msg(param)

    reaper.ShowConsoleMsg(tostring(param).."\n")

end


str1 = "Hello World" 


Msg(str1)

function Msg(param)


  • 任意の関数(今回は"Msg")を作成する。

  • ()内は、1で作成したMsgという関数の入力値(今回は"param")を指定


reaper.ShowConsoleMsg(tostring(param).."\n")

end


  • コンソールに出力する -2で入力値(param)を文字列に変換(tostring)し、改行("\n")


str1 = "Hello World" 


  • 出力したい文字列をitem変数に保存(= "")出力したい文字を記載、itemは文字列の変数として使用

  • 日本語を入力したいときはメモ帳などで入力したものをコピー&ペーストであれば可能


Msg(item)


  • itemで保存されている文字列をコンソールへ出力

To use the API, you need to sign up for a plan.

Download the dedicated API

need to do it.

*SILVER is scheduled to be released in May.

準備の必要はありません

- Script Code -
- Script Image -
- Warm Up -
- Script Detail -
- API -

LUA

​ReaScript File Download 👇

* A dedicated API is required to run this

- Script Image -
bottom of page