Lua extensions and Hotkeys?

Discuss your Lua playlist, album art and interface scripts.
Riley
New Cone
New Cone
Posts: 9
Joined: 29 Aug 2008 23:57

Lua extensions and Hotkeys?

Postby Riley » 03 Jul 2010 20:41

Is it possible to open a Lua extension with a hotkey?

Is there any other way to open an extension besides using the mouse to open the "View" menu and clicking on the extension name?

And what about using key commands to trigger actions in the extension?

I've been looking through the documentation and settings, but I haven't found any details on key presses with Lua extensions.

Thanks.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Lua extensions and Hotkeys?

Postby Jean-Baptiste Kempf » 03 Jul 2010 23:21

No, no and no. :D
But we are thinking about improving that, what do you think is needed?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Riley
New Cone
New Cone
Posts: 9
Joined: 29 Aug 2008 23:57

Re: Lua extensions and Hotkeys?

Postby Riley » 03 Jul 2010 23:50

I think it would be great if extensions automatically showed up in the Hotkey preferences page. So you can assign a hotkey for opening and closing an extension just like any other action.

And once an extension is open and has focus it would be nice to accept key presses in the .lua code, instead of having to click on a button with the mouse or tabbing around.

I like to use VLC with only the keyboard, and it seems like lua extensions would be much more usable if you could activate them without having to exit fullscreen and click around in the menu.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Lua extensions and Hotkeys?

Postby Jean-Baptiste Kempf » 05 Jul 2010 00:39

What would be cool would be to file those request to the trac.videolan.org/vlc website.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Riley
New Cone
New Cone
Posts: 9
Joined: 29 Aug 2008 23:57

Re: Lua extensions and Hotkeys?

Postby Riley » 07 Jul 2010 21:32

What would be cool would be to file those request to the trac.videolan.org/vlc website.
Good idea. I just submitted it.

Thanks.

josfh2005
New Cone
New Cone
Posts: 1
Joined: 09 Nov 2016 02:06

Re: Lua extensions and Hotkeys?

Postby josfh2005 » 09 Nov 2016 02:13

This question is old (VLC still does not have the option to assign shortcuts to extensions), but recently I was faced with the same need.

If you are in Mac OS X, there is a way to accomplish this.

Just go to System Preferences > Keyboard > Shortcuts

In the left pane select Apps Shortcuts > + (Click the plus button and select the VLC app)

The menu title in case was "VLCsub 0.10.0" (minus the quotes) and use the shortcuts desired. (In my case I choose Ctrl+S)

And that's it!! When I am seeing a TV Serie I just pressed Ctrl+S and the extension windows comes up.

danny6497
New Cone
New Cone
Posts: 1
Joined: 25 May 2020 20:05

Re: Lua extensions and Hotkeys?

Postby danny6497 » 25 May 2020 20:10

VLC 3.0.10

The requested feature is still not implemented. I hope I can use this feature soon.

nav6
New Cone
New Cone
Posts: 2
Joined: 14 Dec 2020 11:03

Re: Lua extensions and Hotkeys?

Postby nav6 » 14 Dec 2020 11:06

Old VLC 2.0.x supports callbacks in Lua script ,which allow us to set hotkey to function
sadly the new version not support it
it 's really useful,i hope it will be re-add in new version

BenH
New Cone
New Cone
Posts: 2
Joined: 24 Mar 2021 11:19

Re: Lua extensions and Hotkeys?

Postby BenH » 24 Mar 2021 11:37

Anything new on this front?

Cristopher
New Cone
New Cone
Posts: 1
Joined: 06 Apr 2022 21:28

Re: Lua extensions and Hotkeys?

Postby Cristopher » 06 Apr 2022 21:36

do you know anything?

jolene_s
New Cone
New Cone
Posts: 7
Joined: 28 Jun 2018 15:22

Re: Lua extensions and Hotkeys?

Postby jolene_s » 24 Jul 2022 23:07

More than 12 YEARS later… and… absolutely nothing! This is sad, on top of obviously being totally pathetic.

And we see this kind of behavior.
No, no and no. :D
But we are thinking about improving that, what do you think is needed?
The lead developer, if I'm not mistaken, grinning about the absence of an important feature; followed up with some false hope and an insincere request. Which is then followed up by an indirect instruction to repeat what was just done in another place…
What would be cool would be to file those request to the trac.videolan.org/vlc website.
Just a bit of an a-hole move. Or, one could legitimately argue, just being French.

You know what would REALLY truly, actually be cool?

IMPLEMENTING this feature into VLC!!!

nav6
New Cone
New Cone
Posts: 2
Joined: 14 Dec 2020 11:03

Re: Lua extensions and Hotkeys?

Postby nav6 » 27 Nov 2022 17:32

+1 , hope this feature will be implemented soon

AshLee
New Cone
New Cone
Posts: 1
Joined: 09 Feb 2023 11:30

Re: Lua extensions and Hotkeys?

Postby AshLee » 09 Feb 2023 11:33

More than 12 YEARS later… and… absolutely nothing! This is sad, on top of obviously being totally pathetic.

And we see this kind of behavior.
No, no and no. :D
But we are thinking about improving that, what do you think is needed?
The lead developer, if I'm not mistaken, grinning about the absence of an important feature; followed up with some false hope and an insincere request. Which is then followed up by an indirect instruction to repeat what was just done in another place…
What would be cool would be to file those request to the trac.videolan.org/vlc website.
Just a bit of an a-hole move. Or, one could legitimately argue, just being French.

You know what would REALLY truly, actually be cool?

IMPLEMENTING this feature into VLC!!!
I registered just to say the same thing, it's a fuc king disgusting lazy attitude to have and can't believe how little help there seems to be in allowing people in to help advance this project.

I'm looking to make a lua extension that will allow users to skip time based on number keyboard presses just like Youtube has but it's been incredibly difficult to find any information and dont understand why those with better skills aren't trying to include people more?


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 5 guests