All Projects → tophf → ijitsuki

tophf / ijitsuki

Licence: MIT license
Aegisub 3+ moonscript macros

Programming Languages

MoonScript
45 projects

Projects that are alternatives of or similar to ijitsuki

nvim-moonmaker
Moonscript plugin support for neovim
Stars: ✭ 55 (+189.47%)
Mutual labels:  moonscript
lua-mailgun
Lua bindings to Mailgun HTTP API
Stars: ✭ 25 (+31.58%)
Mutual labels:  moonscript
docker-lapis
Dockerized Lapis
Stars: ✭ 20 (+5.26%)
Mutual labels:  moonscript
mpv-progressbar
A simple progress bar for mpv.
Stars: ✭ 106 (+457.89%)
Mutual labels:  moonscript
PyonFX
An easy way to create KFX (Karaoke Effects) and complex typesetting using the ASS format (Advanced Substation Alpha).
Stars: ✭ 101 (+431.58%)
Mutual labels:  aegisub
alfons
🚀 Task runner for Lua and MoonScript.
Stars: ✭ 17 (-10.53%)
Mutual labels:  moonscript
moonblob
Binary serialization for moonscript + LuaJIT
Stars: ✭ 22 (+15.79%)
Mutual labels:  moonscript
lua-twitter
A Lua twitter library that works with OpenResty or LuaSocket
Stars: ✭ 29 (+52.63%)
Mutual labels:  moonscript
lapis-bayes
Naive Bayes classifier for use in Lua
Stars: ✭ 26 (+36.84%)
Mutual labels:  moonscript
Moonscript
🌙 A language that compiles to Lua
Stars: ✭ 2,694 (+14078.95%)
Mutual labels:  moonscript
Lapis
A web framework for Lua and OpenResty written in MoonScript
Stars: ✭ 2,621 (+13694.74%)
Mutual labels:  moonscript
lapis-community
Pluggable message board for Lapis powered websites
Stars: ✭ 41 (+115.79%)
Mutual labels:  moonscript
demoloops
Toolkit for building looping gif "demos" and collection of such
Stars: ✭ 31 (+63.16%)
Mutual labels:  moonscript
Moonscriptxx
A standalone executable compiler for Moonscript. And much more. Moonscript++
Stars: ✭ 41 (+115.79%)
Mutual labels:  moonscript
Yuescript
A Moonscript dialect compiles to Lua.
Stars: ✭ 172 (+805.26%)
Mutual labels:  moonscript
razcal
Build cross platform desktop app with Lua, MoonScript, and Layout Language
Stars: ✭ 15 (-21.05%)
Mutual labels:  moonscript
alive
experimental livecoding environment with persistent expressions
Stars: ✭ 29 (+52.63%)
Mutual labels:  moonscript

Aegisub 3 moonscript macros

[Add edgeblur](Add edgeblur.moon)

Adds \be1 tags to selected lines. Affects only the lines that do not have the \be or \blur tag.

[Add tags](Add tags.moon)

Adds user-specified tags to all/selected lines.
20 last used tags are remembered between sessions and may be re-applied (or just loaded) later.

Screenshot

Blame

Marks lines exceeding specified limits:

  • minimum/maximum durations - lines dangerously shortened by TPP's keyframe snapping, for example.
  • CPS - characters per second - excessively verbose lines.
  • line count - 3-liners!!1
  • overlaps - TPP may easily produce those
  • missing styles - lines using non-existent styles will look wrong

Screenshot

Puts results into the Effect field (1), and/or selects lines (2), and/or displays a mini log (3).
In the first case you can navigate between such lines using two supplementary macros:

  • Go to previous
  • Go to next

Tip: assign handy hotkeys in Options like Ctrl-Up and Down arrows, for example.

JumpScroll

Saves/loads subtitle grid scrollbar position.
Requires Aegisub with LuaJIT and win32/64 (r8238 or v3.2 and newer).
Number of "memory spots" for positions is set in the macro, jumpscroll_max = 3 by default.
Assign hotkeys to use it effectively e.g. Ctrl-F1...F3 to save, Shift-F1...F3 to jump.
Currently it doesn't save these positions to a file so it's session-only.

[Position shifter](Position shifter.moon)

Shifts position tags in selected lines (\pos,\move,\org,\clip,\p).
Screenshot

[Remove unused styles](Remove unused styles.moon)

Removes styles not referenced in dialogue lines (comment lines are ignored).
Also reports lines that reference a non-existent style ("orphaned lines").

Screenshot

Selegator

Select/navigate in the subtitle grid.

  • Current style related:
  • Current style/select all - select all lines with the same style as the current line
  • Current style/previous - go to previous line with the same style as the current line
  • Current style/next - go to next line with the same style as the current line
  • Current style/first in block - go to the first line in current block of lines with the same style
  • Current style/last in block - go to the last line in current block of lines with the same style
  • Current style/select block - select all lines in current block of lines with the same style
  • Select till start - unlike built-in Shift-Home, it preserves the active line
  • Select till end - unlike built-in Shift-End, it preserves the active line

Assigning hotkeys makes these really handy. NB. You can redefine the built-in Shift-Home/End hotkeys with 'Select till start/end' macros in the 'Subtitle Grid' section of Options->Hotkeys.

Splitter

  • Split by \N - split dialogues like -Person\N-Another person, also trim spaces/hyphens at start and estimate durations
  • Split 1 frame - split after the 1st frame to prevent disappearing of subtitles, that start exactly at video chapter mark, when Jump-to-next-chapter hotkey/button is used in a video player.
  • Split 1 frame on chapters - same as above but reads a user specified chapters file and automatically fixes the affected lines.

[Title Case](Title Case.moon)

Applies English Title Case (maintains lower case on prepositions and other auxiliary words) to the selected lines.

[Wrap in curly braces](Wrap in curly braces.moon)

Wraps all/selected lines in {}.
Helps translating subtitles since the text in {} isn't shown on video.
Original override tags are preserved inside <>.


P.S.
Add tags & Position shifter are enhanced moonscript versions of lua-macros originally written by [Youka](http://forum.youka.de/index.php?topic=4.0).
Remove unused styles originated from pieceofsummer's CleanStyles.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].