Aegisub/aegisub/automation/tests/hello-world.lua
2012-08-19 20:43:39 -07:00

15 lines
478 B
Lua

-- 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)