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.
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.
Thanks, bookmarked!
Thank you marc!!
Thanks you.
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
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.
this project is back on github and further releases will be posted there..
https://github.com/19379/foo_uie_wsh_panel_mod/releases (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.
In the case of open configuration dialogļ¼still operating panel. Can improve it?
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.
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.
http://wiki.hydrogenaud.io/index.php?title...all_a_component (http://wiki.hydrogenaud.io/index.php?title=Foobar2000:How_to_install_a_component)
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 (https://github.com/ttsping/foo_uie_wsh_panel_mod_plus)
that doesn't change this:
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.
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 (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.
that doesn't change this:
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.
just stop now. i've had enough.
Since I've created my new JScript Panel (https://www.hydrogenaud.io/forums/index.php?showtopic=110499) 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]