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: foo_uie_wsh_panel_mod-1.5.10 (Read 44813 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_uie_wsh_panel_mod-1.5.10

since i've deleted my github account, i'll leave the component here.

[attachment=8251:foo_uie_...d-1.5.10.fb2k-component]
[attachment=8252:foo_uie_...0-source.7z]

pay special attention to the functions i removed in v1.5.7. these were marked as obsolete well over 3 years ago and the official component (v1.5.6) already reports them as such in the foobar2000 console. if any of your scripts are triggering these warnings, they will not even run in this component. the scripts will need updating. script authors should check preprocessors.txt and interfaces.txt in the docs. for anyone not capable of fixing their own scripts, they should continue to use the official component.

Code: [Select]
v1.5.10
- ADD: plman.UndoBackup(playlistIndex). If you call this before
       adding/removing/reordering playlist items, you will be able to use
       the undo/redo commands on the Edit menu.
- CHG: Tidy up samples and add missing images. Paths to required files
       are now relative.

v1.5.9
- CHG: on_library_changed() has been deprecated after a very short life.
- ADD: on_library_items_added()
- ADD: on_library_items_removed()
- ADD: on_library_items_changed()

v1.5.8
- ADD: fb.IsLibraryEnabled()

v1.5.8 Beta 1
- ADD: fb.ShowLibrarySearchUI(query) opens the Library>Search window
       populated with the query you set.
- ADD: fb.GetLibraryItems() returns a handle list of all items in library.
- ADD: on_library_changed callback for when library items are added,
       removed or modified.

v1.5.7.1
- ADD: window.Reload() so you can force a panel reload from your own menus,
       buttons, functions etc.

v1.5.7
- CHG: Compiled with new SDK. Requires foobar2000 v1.3 or above.
- ADD: Script errors are now displayed in a popup window in addition to
       the Console like it was previously.
- ADD: Default right click menu now has a "Reload" script option. This
       saves opening/closing the dialog when working on external files.
- CHG: Remove functions marked as obsolete 2+ years ago. There are newer
       alternatives for all of them:

       window.WatchMetadb
       window.UnWatchMetadb
       window.CreateTimerTimeout
       window.CreateTimerInterval
       window.KillTimer
       UpdateFileInfo
- CHG: AppendMenuItem no longer accepts MF_POPUP as a flag. You should be
       using AppendTo instead.
- CHG: utils.GetAlbumArt removed as corresponding function has been
       removed from SDK.
- CHG: Safe mode disabled by default. If you're reading this, you're
       probably going to be using scripts that require this!
- FIX: EstimateLineWrap no longer leaves stray punctuation when wrapping
       text at end of line.


foo_uie_wsh_panel_mod-1.5.10

Reply #2
Thank you marc!!

foo_uie_wsh_panel_mod-1.5.10

Reply #3
Thanks you.

foo_uie_wsh_panel_mod-1.5.10

Reply #4
here's a little something for notepad++ users - auto completion for WSH panel mod functions. i'm using a portable install so this file needs to be saved as

Code: [Select]
Notepad++\plugins\APIs\javascript.xml


[attachment=8351:javascript.xml]

presumably a similar folder structure exists under %appdata% if you have a regular install.

obviously js files are associated by default. if you're working on plain text files, you can go to Settings>Style configurator>Language>Javascript and add txt under the User ext: dialog.

foo_uie_wsh_panel_mod-1.5.10

Reply #5
this project is back on github and further releases will be posted there..

https://github.com/19379/foo_uie_wsh_panel_mod/releases

note that as of v1.5.11, Windows XP is no longer supported. if you're clinging on to that ancient OS then use v1.5.10 from the first post.

foo_uie_wsh_panel_mod-1.5.10

Reply #6
In the case of open configuration dialog,still operating panel. Can improve it?

 

foo_uie_wsh_panel_mod-1.5.10

Reply #7
if you're talking about the dialog being modal, i won't be changing it. the main reason is i don't know how. also, i don't see any reason to.

foo_uie_wsh_panel_mod-1.5.10

Reply #8
Stupid question alert...

What do I do with this? It's not a .dll file. IE: It does not work in my foo_uie_wsh_panel_mod directory.



foo_uie_wsh_panel_mod-1.5.10

Reply #11
that doesn't change this:

Quote
the main reason is i don't know how.


i don't know what code to cherry pick from the other component because i don't have the skills.




foo_uie_wsh_panel_mod-1.5.10

Reply #12
if you're talking about the dialog being modal, i won't be changing it. the main reason is i don't know how. also, i don't see any reason to.

If you make a change, it would be time-saving for some debugging code. For example:
A small video?a.pomf.cat/xgjrou.mp4
https://github.com/ttsping/foo_uie_wsh_panel_mod_plus


Just a suggestion....

You could invest in buying a second monitor to extend your desktop, so you can monitor the console on the secondary monitor while programming on the main monitor.
In the long run you will save time and be more productive.

foo_uie_wsh_panel_mod-1.5.10

Reply #13
that doesn't change this:

Quote
the main reason is i don't know how.


i don't know what code to cherry pick from the other component because i don't have the skills.

I asked the author(?ohyeah or ttsping) wsh components on non-modal code in detail, he said, the answer can be found here?https://www.hydrogenaud.io/forums/index.php?showtopic=100540
If I have good English or if you have a good Chinese, I believe we will have a pleasant exchange.

foo_uie_wsh_panel_mod-1.5.10

Reply #14
just stop now. i've had enough.


foo_uie_wsh_panel_mod-1.5.10

Reply #15
Since I've created my new JScript Panel component, I'm no longer maintaining this. I'll probably nuke my WSH repos on github soon so I'll leave the last updates here but I will not be supporting them.

[attachment=8448:foo_uie_...od-1.6.3.fb2k-component]
[attachment=8449:foo_uie_...ce-1.6.3.7z]
[attachment=8450:wsh_marc2003-v13.zip]