6b55bf750c
Originally committed to SVN as r1182.
15 lines
475 B
Lua
15 lines
475 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)
|