Play with Coding
2 posters
Page 1 of 1
Play with Coding
hello there,
I am playing a video file through Excel VBA code.
I set the screen to viewpreset 2, but I want to seek bar in my view.
I do not want to set viewpreset 3 or 1, then how I can add seek bar through a code in below code.
Thanks, RR
I am playing a video file through Excel VBA code.
I set the screen to viewpreset 2, but I want to seek bar in my view.
I do not want to set viewpreset 3 or 1, then how I can add seek bar through a code in below code.
Thanks, RR
- Code:
Shell "C:\Program Files (x86)\K-Lite Codec Pack\MPC-HC64\mpc-hc64.exe /viewpreset 2 /close "
rr1050- Posts : 6
Join date : 2020-06-23
Re: Play with Coding
Preset 2 is with seekbar. I assume you mean without seekbar, so only borders?
You can manipulate the setting in the Registry:
REG ADD HKEY_CURRENT_USER\Software\MPC-HC\MPC-HC\Settings /v ControlState /t REG_DWORD /d 0
You can manipulate the setting in the Registry:
REG ADD HKEY_CURRENT_USER\Software\MPC-HC\MPC-HC\Settings /v ControlState /t REG_DWORD /d 0
Re: Play with Coding
No sir, I want seekbar with viewpreset 2 setting.
How to change registry?
How to change registry?
rr1050- Posts : 6
Join date : 2020-06-23
Re: Play with Coding
Viewpreset 2 already has seekbar!
If you want viewpreset 1, so no borders, menus, or other controls, but enable seekbar. Then use this command line to change settings in Registry:
REG ADD HKEY_CURRENT_USER\Software\MPC-HC\MPC-HC\Settings /v ControlState /t REG_DWORD /d 1
REG ADD HKEY_CURRENT_USER\Software\MPC-HC\MPC-HC\Settings /v HideCaptionMenu /t REG_DWORD /d 3
If you want viewpreset 1, so no borders, menus, or other controls, but enable seekbar. Then use this command line to change settings in Registry:
REG ADD HKEY_CURRENT_USER\Software\MPC-HC\MPC-HC\Settings /v ControlState /t REG_DWORD /d 1
REG ADD HKEY_CURRENT_USER\Software\MPC-HC\MPC-HC\Settings /v HideCaptionMenu /t REG_DWORD /d 3
Re: Play with Coding
My bad completely, I required the "Status" which shows the how much time video play and left below seek bar.
Pls help with this...
Pls help with this...
rr1050- Posts : 6
Join date : 2020-06-23
Re: Play with Coding
- Code:
Shell "REG ADD HKEY_CURRENT_USER\Software\MPC-HC\MPC-HC\Settings /v ControlState /t REG_DWORD /d 16"
Shell "C:\Program Files (x86)\K-Lite Codec Pack\MPC-HC64\mpc-hc64.exe /close"
Re: Play with Coding
It worked, but seek bar is disappeared.
I admitted my bad earlier, my requirement is seek bar and status.
Pls help out.
I admitted my bad earlier, my requirement is seek bar and status.
Pls help out.
rr1050- Posts : 6
Join date : 2020-06-23
Re: Play with Coding
Wow Finally It worked.
Thanks for helping me, Only I changed to F 17 instead of D17.
Thanks for helping me, Only I changed to F 17 instead of D17.
rr1050- Posts : 6
Join date : 2020-06-23
Re: Play with Coding
One more thoughts, can i give command to player CTRL-5 by excel VBA?
What could be code?
What could be code?
rr1050- Posts : 6
Join date : 2020-06-23
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum