5 posts Page 1 of 1
Postby 감자사랑 » 05 Jun 2017 17:49
The following skincmds are to display current/total frames. It could be useful for someone requiring frame information.
It only applies to all the builds after today.

CMD_VIDEO_CURRENT_FRAME_MESSAGE
CMD_VIDEO_TOTAL_FRAME_MESSAGE
CMD_VIDEO_FRAME_MESSAGE
Always try the latest beta version (x32 only) before continuing a discussion here.
This is NOT official support though. It is my contribution to Potplayer.

Thread Subscription and E-mail Notification won't work at all.
Postby 감자사랑 » 08 Jun 2017 23:17
After 1.7.2683

D2NP, Thank you for letting me know that. I added it here.
The following skincmds are for saving toggle status of skincmd. However, I'm not really good at skinning. It would be very appreciated if you could guide the way to use it correctly. :roll:

The player remembers selected styles. It will be reset when switching to other skin.


Code: Select all
#if<SkinStyle==One,Two,Three> // If SkinStyle's value is One or Two or Three
...
#elif<SkinStyle==Four,Five> // If SkinStyle's value is Four or Five
...
#elif<SkinStyle==First> // If SkinStyle's value is First
...
#else // By default
...
#endif


Code: Select all
<Button CmdID='CMD_SET_SKIN_STYLE' SkinStyle='One' Tooltip='My Style 1' ... />
<Button CmdID='CMD_SET_SKIN_STYLE' SkinStyle='Two' Tooltip='My Style 2' ... />
<Button CmdID='CMD_SET_SKIN_STYLE' SkinStyle='Three' Tooltip='My Style 3' ... />
<Button CmdID='CMD_SET_SKIN_STYLE' SkinStyle='Four' Tooltip='My Style 4' ... />
<Button CmdID='CMD_SET_SKIN_STYLE' SkinStyle='Five' Tooltip='My Style 5' ... />
<Button CmdID='CMD_SET_SKIN_STYLE' SkinStyle='First' Tooltip='My Style 6' ... />
....


Also you can call CMD_POPUPMENU_SKIN_STYLE...

If CmdID = 'CMD_SET_SKIN_STYLE' and Tooltip is exist~~
Always try the latest beta version (x32 only) before continuing a discussion here.
This is NOT official support though. It is my contribution to Potplayer.

Thread Subscription and E-mail Notification won't work at all.
Postby D2NP » 09 Jun 2017 03:29
Small example

Create Buttons
Code: Select all
<Button CmdID='CMD_SET_SKIN_STYLE' SkinStyle='0' Tooltip='Default Style' ... />
<Button CmdID='CMD_SET_SKIN_STYLE' SkinStyle='1' Tooltip='My Style 1' ... />

Create script
Code: Select all
#if<SkinStyle==1>
 <Label Text='Test Text 1" .. />
#else
 <Label Text='Test Text 0" .. />
#endif

If you change the style using the button "My Style 1",
the script will work: "Test Text 1" will appear instead of "Test Text 0".
_______

Test skin attached
Buttons in Control panel - SubCommon.txt - line 179-187
Script in Video window - BottomVideo.txt - line 58-64
0 - Current Time Message
1 - Left Time Message
2 - Current Frame Message
Image
Default_SkinStyle_Test.dsf
Postby 감자사랑 » 09 Jun 2017 12:54
Thanks. :)

I'll try it later.
Always try the latest beta version (x32 only) before continuing a discussion here.
This is NOT official support though. It is my contribution to Potplayer.

Thread Subscription and E-mail Notification won't work at all.
Postby D2NP » 09 Jun 2017 19:51
New commands
Code: Select all
CMD_SKIN_NAME_MESSAGE
CMD_SKIN_STYLE_MESSAGE
5 posts Page 1 of 1

Login

Who is online

Users browsing this forum: No registered users and 1 guest