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 283036 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

Re: JScript Panel script discussion/help

Reply #375
can anyone post a working script that mimics the biography component/panel (artist and album)?

thx

Re: JScript Panel script discussion/help

Reply #376
Does someone have "foo_uie_wsh_panel.dll"?
It's not foo_uie_wsh_panel_mod.
Could you post please?

Re: JScript Panel script discussion/help

Reply #377
@necozy

what for ? this dll is old and wsh panel mod (and now jscript panel) offer the same in better ...

Re: JScript Panel script discussion/help

Reply #378
thanx Falstaff

I got foo_uie_wsh_panel.dll already.Thank you for your trouble.
But I am looking for "foo_uie_trackinfo.dll" also not mod one
for some theme and skins this time.
I do not know the reason why "mod" does not work.
Those theme and skins are required original.

thank you


Re: JScript Panel script discussion/help

Reply #379
Finally I found "foo_uie_trackinfo.dll" .
thank you anyway.

cheers


Re: JScript Panel script discussion/help

Reply #381
This thread is for jscript discussions. None of what you ask has anything to do with jscript and you should ask your questions in the relevant thread either existing or new. TOS  #5
Perhaps a moderator could intervene?

Re: JScript Panel script discussion/help

Reply #382
jazzthieve and everyone

Very sorry  if you know suitable thread notice me please.

thank you

 

Re: JScript Panel script discussion/help

Reply #383
Is it possible with jscript to hide or show a columns ui panel? In other words to trigger the panelshow command of panel stack splitter?
I'm late

Re: JScript Panel script discussion/help

Reply #384
davideleo

thank you for reply.
I don't understand details for java script.
I just want to use "kung-foo_black_1.3a".
So I need foo_uie_trackinfo.dll for correct version for this.
I have visited many sites.
Link is still there but the file is not exist anymore.
Now a days, 8 years ago is really long long time ago.
I will wait and I am not in hurry.

thank you

Re: JScript Panel script discussion/help

Reply #385
The following scripts from my old samples are now bundled with the component itself:

Code: [Select]
albumart.txt
autoplaylists.txt
menu button.txt
playback buttons.txt
properties.txt
rating.txt
seekbar.txt
track info + seekbar + buttons.txt
volume.txt

Also included is jsplaylist-mod. When you right click the blank panel of the latest component, there is an "Open component folder" menu item which takes you directly to the folder containing all the docs and samples.

https://github.com/19379/foo-jscript-panel/releases

Re: JScript Panel script discussion/help

Reply #386
Apologies cause this is gonna be slightly off-topic, but not sure there's a better place for it.

Hey guys, I'm a longtime WSH/JPanel user. I love what it can do and I've built out pretty extensive themes with it. Here's the thing, it's not great for graphical stuff, especially if you want any kind of animation. Using setInterval for this sort of thing sucks. It's not predictable, it's processor intensive. Having to repaint portions of the screen is also dumb, and can be difficult to manage. JPanel has a ton of great drawing features, but frankly using GDI kinda sucks. It's 2016. Javascript wasn't designed for this kinda stuff.

You know what is designed for all this stuff? HTML. CSS. And Javascript works so much better with those than GDI bitmaps.

Wouldn't it be great if we had a plugin where we could display HTML and execute Jscript code too? Wouldn't it be so much better to create dom elements for text/images. Wanna rotate an image? Just use CSS: transform: rotate(7deg);. Wanna do a progressbar? No more messing with draw stuff in fast setInterval's. You could just do { transition: 1s; transition-timing-function: linear } along with a setInterval for 1000ms that just sets the element width and now you've got a beauitful, perfectly smooth progressbar. To see if a button or element was clicked on, just add a click handler to the DOM, no more checking x,y coords to see if the object you're interested in was clicked on.

Obviously you'd still need some of the JScript Panel interfaces to retrieve artwork/metadata and make it available to the HTML, but I think a lot of the other JScript interfaces/methods could be completely stripped out.

Has anybody looked into building something like this before? I feel like the WebBrowser control offers everything you need except for the JScript/Foobar connection already. My C++ is a little lacking (I'm a JS/WebDev), but I'd be happy to help out if someone got this project going.

Thoughts?

Re: JScript Panel script discussion/help

Reply #387
Wouldn't it be great if we had a plugin where we could display HTML and execute Jscript code too?

need some of the JScript Panel interfaces to retrieve artwork/metadata and make it available to the HTML

There is a component to meet your needs. It uses HTML/CSS and compatible WSH component interfaces. But because no one uses or writes scripts, the component is currently in a state of death/freeze. If you have plenty of time to explore/try to write script examples (just like WSH component contains examples), perhaps you can urge the author to continue to update the component.

Re: JScript Panel script discussion/help

Reply #388
There is a component to meet your needs. It uses HTML/CSS and compatible WSH component interfaces. But because no one uses or writes scripts, the component is currently in a state of death/freeze. If you have plenty of time to explore/try to write script examples (just like WSH component contains examples), perhaps you can urge the author to continue to update the component.
What's the component?

Just in case it's what you're referring to, foo_httpcontrol is not what I'm looking for. That obviously exists outside foobar (and I use it for certain cases like remote control of foobar), and it doesn't have a lot of the abilities/features that JScript/WSH already does.

Re: JScript Panel script discussion/help

Reply #389
What's the component?
Sciter UI (is different from DUI or CUI.)
Note: the component is unable to get foobar2000 's context menu and cover.
Installation:
1.foobar2000\components\foo_ui_sciter.dll
2.foobar2000\sciter32.dll
3.foobar2000\ui\default.htm (Create and write.)
4.sciter32.dll can be downloaded from here: (github.com/c-smile/sciter-sdk), while you can find some examples.
If you do not know please do not download and try it.

Re: JScript Panel script discussion/help

Reply #390
Upload a new version of SUI and an imperfect sample. Recommended to use with UiHacks components.



Re: JScript Panel script discussion/help

Reply #391
There is a component to meet your needs. It uses HTML/CSS and compatible WSH component interfaces. But because no one uses or writes scripts, the component is currently in a state of death/freeze.

Maybe an official component page and an own discussion thread would help. This component sounds very promising, but I never heard of it and I believe this is the only post in the forum where it is mentioned. Previous to this I only found this 2007 post where stormgren says he would like to implement something similar, is he the developer?

I'm late

Re: JScript Panel script discussion/help

Reply #392
There is a component to meet your needs. It uses HTML/CSS and compatible WSH component interfaces. But because no one uses or writes scripts, the component is currently in a state of death/freeze.

Maybe an official component page and an own discussion thread would help. This component sounds very promising, but I never heard of it and I believe this is the only post in the forum where it is mentioned. Previous to this I only found this 2007 post where stormgren says he would like to implement something similar, is he the developer?

no, it is @ohyeah the developer.

A rose will bloom, it then will fade.

Re: JScript Panel script discussion/help

Reply #393
I downloaded the latest version of jsplaylist-mod from github. When scrolling up and down, the playlist area overlaps the Information Panel and Header Toolbar.

Re: JScript Panel script discussion/help

Reply #394
Luckily that bug is only in master and is not part of the current component download.

Thanks for spotting.

Re: JScript Panel script discussion/help

Reply #395
Is it possible to have two separate Jscript panel instances in the toolbar?

Re: JScript Panel script discussion/help

Reply #396
can anyone post a working script that mimics the biography component/panel (artist and album)?

thx

Seconded.  The Last.Fm Bio sample that was included with the plugin no longer works. 



Re: JScript Panel script discussion/help

Reply #399
What's the component?
Sciter UI (is different from DUI or CUI.)
Note: the component is unable to get foobar2000 's context menu and cover.
Installation:
1.foobar2000\components\foo_ui_sciter.dll
2.foobar2000\sciter32.dll
3.foobar2000\ui\default.htm (Create and write.)
4.sciter32.dll can be downloaded from here: (github.com/c-smile/sciter-sdk), while you can find some examples.
If you do not know please do not download and try it.

@ohyeah
Thanks for sharing.

One question.
Is it possible instead of a complete UI replacement for this component to be compiled to be used with DUI or CUI as a panel?
I like the possibilities after trying it out , but I don't like the limitation not to be able to be used in conjunction with other panels.
Currently using dockable or pop-up panels as a workaround .