Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: JScript Panel script discussion/help (Read 216496 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: JScript Panel script discussion/help

Reply #1025
If you are on Columns UI, why not use the Panel Stack Splitter (see here) to place your panels?
Don't get too much confused by the scripting options. To just place panels, you can use the 'Panel List' tab which is pretty much straight-forward.

Re: JScript Panel script discussion/help

Reply #1026
thanks you very much for your help

Re: JScript Panel script discussion/help

Reply #1027
Playback History + Now Playing 2 (foo_nowplaying2)+ Text Reader
Now Playing 2 (foo_nowplaying2)
https://hydrogenaud.io/index.php/topic,124427.0.html

https://i.imgur.com/NNUtmqr.png

Playback history is displayed in Text Reader in cooperation.
Garbled characters in Text Reader (Japanese).
foo_nowplaying2 is not garbled.

Thanks.
SHURE SRH1840, SENNHEISER HD660S, Beyerdynamic DT 1990 PRO, HIFIMAN HE5se, Ultrasone Performance 880, AKG K712 PRO, SONY MDR-1AM2, Bowers & Wilkins P7 Mobile Hi-Fi, Bose QuietComfort 45, SONY WH-1000XM3 (made a Upgrade/Balanced Cable by myself) Shall I write more?

Re: JScript Panel script discussion/help

Reply #1028
I would like some help with the samples jsplaylist.

I would like to set the correct aspect ratio of the image to the background of the playlist (see pictures below)  and reduce the star character / rating.

I understood that the interested module is the main.js but more than having changed the font size of group 1 and 2 I was unable to do thanks

JS Playlist


EL Playlist

Re: JScript Panel script discussion/help

Reply #1029
in playlist.js  line 140 and 141 : g_font_awesome_20 
you can change to g_font_awesome_12

in main.js line 1306 you have the font size . maybe you can add a line :

g_font_awesome_18 = _font("FontAwesome", 18);  with the size you want and put in playlist.js  :g_font_awesome_18

For the background image i don't know

Re: JScript Panel script discussion/help

Reply #1030
Is it possible to make a text like the title song ( gr.WriteText ) to scroll from left to right in Jscript Panel 3 ?

The offset is only vertical in WriteTextLayout( ) ? I can not figure out how to do it another way ? Thanks You .

Re: JScript Panel script discussion/help

Reply #1031
Hello,

how can I set the font and color in JScrip3/Samples:Properties. I already got the color of the heading (see Appendix).

Re: JScript Panel script discussion/help

Reply #1032
Playback History + Now Playing 2 (foo_nowplaying2)+ Text Reader
Now Playing 2 (foo_nowplaying2)
https://hydrogenaud.io/index.php/topic,124427.0.html

https://i.imgur.com/NNUtmqr.png

Playback history is displayed in Text Reader in cooperation.
Garbled characters in Text Reader (Japanese).
foo_nowplaying2 is not garbled.

Thanks.

and
I would like a Pre-second update option in Text Reader.
SHURE SRH1840, SENNHEISER HD660S, Beyerdynamic DT 1990 PRO, HIFIMAN HE5se, Ultrasone Performance 880, AKG K712 PRO, SONY MDR-1AM2, Bowers & Wilkins P7 Mobile Hi-Fi, Bose QuietComfort 45, SONY WH-1000XM3 (made a Upgrade/Balanced Cable by myself) Shall I write more?

Re: JScript Panel script discussion/help

Reply #1033
I would like a Pre-second update option in Text Reader.
Related to Air KEN's requests for the Text Reader sample:

1) Offer an "auto-refresh" option for Text Reader that will auto-refresh itself each time the text file it's displaying is written to.,

2) Enable the display of Unicode UTF-8;  e.g., while the text file (and window title) correctly shows "2023-07-25 17:55:59  Blacknasty - Давай Идти Никуда," it is displayed in the main Text Reader window as:

Thanks for your consideration!

Re: JScript Panel script discussion/help

Reply #1034
I would like a Pre-second update option in Text Reader.
Related to Air KEN's requests for the Text Reader sample:

1) Offer an "auto-refresh" option for Text Reader that will auto-refresh itself each time the text file it's displaying is written to.,

2) Enable the display of Unicode UTF-8;  e.g., while the text file (and window title) correctly shows "2023-07-25 17:55:59  Blacknasty - Давай Идти Никуда," it is displayed in the main Text Reader window as:

Thanks for your consideration!

I think it's probably because the font is different.
I want to change the font, but I can't find which script it is.

// @import "%fb2k_component_path%helpers.txt"
// @import "%fb2k_component_path%samples\js\lodash.min.js"
// @import "%fb2k_component_path%samples\js\common.js"
// @import "%fb2k_component_path%samples\js\panel.js"
// @import "%fb2k_component_path%samples\js\text.js"
SHURE SRH1840, SENNHEISER HD660S, Beyerdynamic DT 1990 PRO, HIFIMAN HE5se, Ultrasone Performance 880, AKG K712 PRO, SONY MDR-1AM2, Bowers & Wilkins P7 Mobile Hi-Fi, Bose QuietComfort 45, SONY WH-1000XM3 (made a Upgrade/Balanced Cable by myself) Shall I write more?

Re: JScript Panel script discussion/help

Reply #1035
Solved the garbled problem.
I found that it depends on the installed fonts.
It may be a font other than this.

MaterialIconsRound-Regular,Segoe Fluent Icons fonts
https://mega.nz/file/9S0xQaDL#VCGminQGRN28M5uDaaJgbyx8dM55VnIMyEla7Aa-F2A

for confirmation.
Text Reader right click > Configure... > Samples > Text Reader.
Text Reader right click > Fixed width font on/off repeat.
SHURE SRH1840, SENNHEISER HD660S, Beyerdynamic DT 1990 PRO, HIFIMAN HE5se, Ultrasone Performance 880, AKG K712 PRO, SONY MDR-1AM2, Bowers & Wilkins P7 Mobile Hi-Fi, Bose QuietComfort 45, SONY WH-1000XM3 (made a Upgrade/Balanced Cable by myself) Shall I write more?

Re: JScript Panel script discussion/help

Reply #1036
The text reader has been updated in the latest release to try and handle files with other encodings other than UTF8. If it were proper UTF8 (with or without BOM is fine), the previous versions would not have issues.

It has to be manually chosen from the right click menu and may not always work. If it does, great. If not, meh.

All the comments about refreshing and what not I'm just plain ignoring. Don't like it? Don't use it..

Re: JScript Panel script discussion/help

Reply #1037
The text reader has been updated in the latest release to try and handle files with other encodings other than UTF8. If it were proper UTF8 (with or without BOM is fine), the previous versions would not have issues.

It has to be manually chosen from the right click menu and may not always work. If it does, great. If not, meh.

All the comments about refreshing and what not I'm just plain ignoring. Don't like it? Don't use it..
After replacing the Text Reader sample with the 3.3.2 release, the window does show correct Cyrillic from the target file with "UTF8" selected in the context menu.  Thank you!
Did not mean to annoy you with the feature request for the additional refresh option.

Re: JScript Panel script discussion/help

Reply #1038
Hello,

https://imgbox.com/QJK3K1wu

Is it possible for the graphic thumbnails to be displayed in the same order as in the image? So the front cover comes first, then the back cover and a photo of the disc. Apart from that - is it possible to change the background of the thumbnails to make it the same as the large photo? Besides, couldn't you set the photo size differently so that it fits the overall window? (I also marked it in the image). Many thanks in advance for your help!