2006-12-28 22:18:35 +01:00
|
|
|
-- 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
|
|
|
|
|
2007-01-03 05:31:17 +01:00
|
|
|
aegisub.register_macro("Hello", "Shows a message", macro_test1)
|