Aegisub/automation/tests/hello-world.lua

16 lines
475 B
Lua
Raw Normal View History

-- Automation 4 test file
-- Create a Macro feature, that displays some text
script_name = "Automation 4 test 1"
script_description = "Hello World in Automation 4/Lua"
script_author = "Niels Martin Hansen"
script_version = "1"
function macro_test1(subtitles, selected_lines, active_line)
--aegisub.debug.out(3, "Hello World from %s", "Automation 4/Lua")
aegisub.debug.out("Hello Automation 4 World!")
end
aegisub.register_macro("Hello", "Shows a message", macro_test1)