forked from mia/Aegisub
16 lines
484 B
Lua
16 lines
484 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", "tools", macro_test1)
|