Skip to main content

Topic: foo_uie_wsh_panel_mod-1.5.10 (Read 21191 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • marc2003
  • [*][*][*][*][*]
  • Developer
foo_uie_wsh_panel_mod-1.5.10
since i've deleted my github account, i'll leave the component here.

[ Specified attachment is not available ]
[ Specified attachment is not available ]

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.
  • Last Edit: 03 April, 2015, 03:28:22 AM by marc2003

  • Falstaff
  • [*][*][*][*][*]
foo_uie_wsh_panel_mod-1.5.10
Reply #1
Thanks, bookmarked!

  • samithaj
  • [*][*][*]
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.

  • marc2003
  • [*][*][*][*][*]
  • Developer
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


[ Specified attachment is not available ]

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.
  • Last Edit: 15 July, 2015, 06:12:03 PM by marc2003

  • marc2003
  • [*][*][*][*][*]
  • Developer
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?

  • marc2003
  • [*][*][*][*][*]
  • Developer
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.

  • Fizbin
  • [*]
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.

  • marc2003
  • [*][*][*][*][*]
  • Developer
foo_uie_wsh_panel_mod-1.5.10
Reply #9

foo_uie_wsh_panel_mod-1.5.10
Reply #10
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

  • marc2003
  • [*][*][*][*][*]
  • Developer
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.




  • zeremy
  • [*][*][*][*]
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.

  • marc2003
  • [*][*][*][*][*]
  • Developer
foo_uie_wsh_panel_mod-1.5.10
Reply #14
just stop now. i've had enough.


  • marc2003
  • [*][*][*][*][*]
  • Developer
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.

[ Specified attachment is not available ]
[ Specified attachment is not available ]
[ Specified attachment is not available ]
  • Last Edit: 11 November, 2015, 02:07:22 AM by marc2003