Hydrogenaudio Forums

Hosted Forums => foobar2000 => Uploads - (fb2k) => Topic started by: marc2003 on 2015-04-03 08:08:41

Title: foo_uie_wsh_panel_mod-1.5.10
Post by: marc2003 on 2015-04-03 08:08:41
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.
Title: foo_uie_wsh_panel_mod-1.5.10
Post by: Falstaff on 2015-04-03 16:50:33
Thanks, bookmarked!
Title: foo_uie_wsh_panel_mod-1.5.10
Post by: samithaj on 2015-04-03 19:04:00
Thank you marc!!
Title: foo_uie_wsh_panel_mod-1.5.10
Post by: vothanhdat on 2015-05-30 12:40:46
Thanks you.
Title: foo_uie_wsh_panel_mod-1.5.10
Post by: marc2003 on 2015-07-15 23:03:12
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.
Title: foo_uie_wsh_panel_mod-1.5.10
Post by: marc2003 on 2015-10-09 18:17:31
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.
Title: foo_uie_wsh_panel_mod-1.5.10
Post by: always.beta on 2015-10-12 14:38:06
In the case of open configuration dialogļ¼Œstill operating panel. Can improve it?
Title: foo_uie_wsh_panel_mod-1.5.10
Post by: marc2003 on 2015-10-13 10:23:24
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.
Title: foo_uie_wsh_panel_mod-1.5.10
Post by: Fizbin on 2015-10-14 11:08:38
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.
Title: foo_uie_wsh_panel_mod-1.5.10
Post by: marc2003 on 2015-10-14 15:58:51
http://wiki.hydrogenaud.io/index.php?title...all_a_component (http://wiki.hydrogenaud.io/index.php?title=Foobar2000:How_to_install_a_component)
Title: foo_uie_wsh_panel_mod-1.5.10
Post by: always.beta on 2015-10-15 06:59:08
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)
Title: foo_uie_wsh_panel_mod-1.5.10
Post by: marc2003 on 2015-10-15 12:02:45
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.



Title: foo_uie_wsh_panel_mod-1.5.10
Post by: zeremy on 2015-10-15 12:46:55
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.
Title: foo_uie_wsh_panel_mod-1.5.10
Post by: always.beta on 2015-10-15 16:20:24
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.
Title: foo_uie_wsh_panel_mod-1.5.10
Post by: marc2003 on 2015-10-15 18:27:38
just stop now. i've had enough.

Title: foo_uie_wsh_panel_mod-1.5.10
Post by: marc2003 on 2015-11-11 07:04:39
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]
SimplePortal 1.0.0 RC1 © 2008-2020