grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object-Free API » FileExists(string) |
Version 2.1
|
The FileExists Lua function checks if a file exists and returns a boolean with the result.
This example returns feedback for the first file in the show file folder.
The example uses the GetPath() and DirList() functions.
The GetPath Lua function delivers a string with the path of a grandMA3 folder.
Learn more in the GetPath() topic.
The DirList Lua function returns a table of files at a specified path.
Learn more in the DirList() topic.
Lua |
return function () |