diff --git a/content/en/docs/3.5/Automation/Lua/Miscellaneous_APIs.md b/content/en/docs/3.5/Automation/Lua/Miscellaneous_APIs.md index 8a765575c..51b6f3f48 100644 --- a/content/en/docs/3.5/Automation/Lua/Miscellaneous_APIs.md +++ b/content/en/docs/3.5/Automation/Lua/Miscellaneous_APIs.md @@ -21,6 +21,18 @@ that have been made in it. This function never returns. +## aegisub.set_status_text + +Synopsis: `aegisub.set_status_text(text)` + +Show **text** in the main window's status bar. It's cleared again after ten +seconds. + +`@text` (`string`) +: The text to show. + +This does nothing when there's no main window to show the text in. + ## aegisub.text_extents Synopsis: `width, height, descent, ext_lead = aegisub.text_extents(style, text)` diff --git a/content/en/docs/latest/Automation/Lua/Miscellaneous_APIs.md b/content/en/docs/latest/Automation/Lua/Miscellaneous_APIs.md index e338c43a7..48120b5c6 100644 --- a/content/en/docs/latest/Automation/Lua/Miscellaneous_APIs.md +++ b/content/en/docs/latest/Automation/Lua/Miscellaneous_APIs.md @@ -21,6 +21,18 @@ that have been made in it. This function never returns. +## aegisub.set_status_text + +Synopsis: `aegisub.set_status_text(text)` + +Show **text** in the main window's status bar. It's cleared again after ten +seconds. + +`@text` (`string`) +: The text to show. + +This does nothing when there's no main window to show the text in. + ## aegisub.text_extents Synopsis: `width, height, descent, ext_lead = aegisub.text_extents(style, text)`