Page 1 of 1

Pedal usage vlc

Posted: 06 Jun 2024 22:47
by Jsandel1234
"we have an Infinity pedal and have created a script and converted it to an exe file after compiling an AHK file. The exe file is running but we are unable to implement this into VLC. We have gone into VLC and selected Tools > Preferences > Hotkeys and then clicked Global on Very Short Jump back to set the left pedal for this hotkey, yet nothing happens, it will let me put a random key on the keyboard against that but not the left pedal, the same applies for the right pedal". Any help appreciated. Windows 11

Re: Pedal usage vlc

Posted: 07 Jun 2024 11:32
by Lotesdelere
The character sent by the pedal must match with a keyboard key or combination of keys.

Re: Pedal usage vlc

Posted: 09 Jun 2024 19:28
by Jsandel1234
Many thanks for your reply, this has been causing us a headache as we didn't write the script that our user is using for AutoHotkey file. So am i write in thinking for the posted code below

;Msgbox Left pedal pressed!
ControlSend,,{=}+{Left},VLC media player ;Normalizes playback speed, and rewinds

the script is sending the "equals and left cursor keys combination to VLC


and for right

;Msgbox Right pedal pressed!
ControlSend,,{]},VLC media player ;Increases playback speed by 0.1x increments

the script is just sending the ] key only to VLC

Many thanks

Re: Pedal usage vlc

Posted: 10 Jun 2024 11:52
by Lotesdelere
the script is sending the "equals and left cursor keys combination to VLC

That can't work. Combination means one character with Ctrl and/or Alt and/or Shift.
Not two different characters together.


and for right
the script is just sending the ] key only to VLC

That should work and it's the default hotkey setting for Faster Fine.
If it doesn't work then there is something wrong with your script and/or the connection between the pedal and your computer.

Re: Pedal usage vlc

Posted: 10 Jun 2024 17:57
by Jsandel1234
Thanks, for your reply, that's why i asked as the code for the right pedal looked fine to me and as for the left that was confusing as it is not my code. I may alter it now as I have a better understanding, thanks again you have been a massive help.

Re: Pedal usage vlc

Posted: 26 Jun 2024 23:33
by Jsandel1234
UPDATE :- Thought it only fair to share, I relooked at the Script and a working machine and discovered that I needed to allocate the y and q keys to the hot key area of VLC, the script was something like this

ControlSend,,y,VLC media player

and

ControlSend,,q,VLC media player

Personally it would have helped if the Script author used REM statements to make it easier to understand.