Open RAR files with Potplayer inside TC with hotkey

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
BullFrog
Junior Member
Junior Member
Posts: 68
Joined: 2011-06-20, 10:51 UTC

Open RAR files with Potplayer inside TC with hotkey

Post by *BullFrog »

Just found out Potplayer can play RAR files, and no need to extract them.
But with ENTER TC goes inside the RAR files, is this possible to make a hotkey like ALT+ENTER to open RAR files with Potplayer.exe?
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

BullFrog,
Try Shift-Enter.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Or assign a hotkey for em-command (usercmd.ini section of commanb browser) with command X:\Path\Potplayer.exe and parameter %P%N.
BullFrog
Junior Member
Junior Member
Posts: 68
Joined: 2011-06-20, 10:51 UTC

Post by *BullFrog »

Shift Enter is just go inside the RAR file

A+ENTER=c:\Utils\!Video\PotPlayer\PotPlayerMini.exe %P%N

And this one does nothing either.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

A+ENTER=c:\Utils\!Video\PotPlayer\PotPlayerMini.exe %P%N
What a weird syntax. There is no place in TC that understands it. You can only assign hotkeys for cm- or em-commands, not just command lines. Open Configuration - Options - Misc., select Alt+Enter and create a command in usercmd.ini group of commands.
BullFrog
Junior Member
Junior Member
Posts: 68
Joined: 2011-06-20, 10:51 UTC

Post by *BullFrog »

Can you please explain a bit more, because never did this thing, and I have no idea where to start it.
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1052
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

Hmm PotPlayer seems a little bit odd.. The portable version is a VMware container, calls home and it got lots of strange libraries...

Just get MPC-HC. Install/extract it and drag the mpc-hc.exe to the button bar.
Right-click -> Change... the new button and add:
Parameters:

Code: Select all

"%P%O.%E"
Now just select the first Rar file (don't enter it or TC will extract it on it's own to \temp) and hit the button.

Note that with both players only "stored" (i.e. no compression) Rar files will play.

If you really want this as a hot-key:
Config->Misc->Select hot-key.
[Magnifier] -> In Category scroll down to "usercmd.ini"
[New] -> enter "em_mpc-hc" or something
Command: "c:\path\to\mpc-hc.exe"
Parameters: "%P%O.%E"

Btw "%P%O.%E" is basically the same as %P%N but it avoids some quoting issues.
BullFrog
Junior Member
Junior Member
Posts: 68
Joined: 2011-06-20, 10:51 UTC

Post by *BullFrog »

Excellent, works like a charm with potplayermini.exe!
Thank you very much ^^
Post Reply