[Help] I want to create a extension that whenever I press a key, it raises the subs' position

Discuss your Lua playlist, album art and interface scripts.
Abernecio
New Cone
New Cone
Posts: 4
Joined: 08 Apr 2018 18:37

[Help] I want to create a extension that whenever I press a key, it raises the subs' position

Postby Abernecio » 08 Apr 2018 18:46

I watch a lot of series with VLC, and sometimes it bugs me that the subtitles are on top of the credits.

I already have a shortcut that ups the subs, but it goes a pixel at a time.

I want to write a lua extension or something similar that whenever I press PgUp it sets the sub position to upper center, and whenever I press PgDn, it resets the positioning, but I can't find any good documentation on writing extensions. Can someone help me?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: [Help] I want to create a extension that whenever I press a key, it raises the subs' position

Postby mederi » 09 Apr 2018 13:18

No hotkeys in Lua scripts.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 3 guests