Difference between revisions of "Foobar2000:Components 0.9/WSH panel (foo uie wsh panel)"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
(Description)
m (Updated infobox)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{fb2k}}
+
{{stub}}
[[Category:foobar2000 3rd-Party Components|WSH panel (foo uie wsh panel)]]
+
{{Foobar Component Infobox
 +
| name = foo_uie_wsh_panel
 +
| caption =
 +
| module = foo_uie_wsh_panel
 +
| stable_release = 1.5.6
 +
| foobar_version = 1.1.11
 +
| website = [http://code.google.com/p/foo-wsh-panel-mod/downloads/list Official Website]
 +
| discussion_thread = [http://www.hydrogenaudio.org/forums/index.php?showtopic=70363 Discussion Thread]
 +
}}
 
==Description==
 
==Description==
 
 
Windows script host panel.
 
Windows script host panel.
  
 
+
== Main features ==
== Main Features ==
+
 
+
  
 
=== Scripting ===
 
=== Scripting ===
 
 
*Restrict "Language" to JScript and VBScript to prevent unexpected behavior.
 
*Restrict "Language" to JScript and VBScript to prevent unexpected behavior.
 
*Draw custom images.
 
*Draw custom images.
Line 17: Line 21:
 
*Add various helper functions.
 
*Add various helper functions.
  
 
+
=== Editor window ===
=== Editor Window ===
+
 
+
 
*Add support to pseudo transparent, syntax highlighting for JScript and VBScript, Import/Outport scripts, customizable font style and miscellaneous UI improvements.
 
*Add support to pseudo transparent, syntax highlighting for JScript and VBScript, Import/Outport scripts, customizable font style and miscellaneous UI improvements.
 
  
 
== Shortcuts ==
 
== Shortcuts ==
Line 30: Line 31:
 
* Ctrl+S: Apply
 
* Ctrl+S: Apply
  
 
+
== Notes and hints ==
 
+
== Notes and Hints ==
+
  
 
# If anything goes wrong, check the console first.
 
# If anything goes wrong, check the console first.
# gdi.Font() is fully changed: gdi.Font(name, pxSize, style);
+
# ''gdi.Font()'' is fully changed: ''gdi.Font(name, pxSize, style)'';
# Don't call repaint functions such as window.Repaint() in callback function on_size() {}, especially in pseudo transparent mode.
+
# Don't call repaint functions such as ''window.Repaint()'' in callback ''function on_size()'' {}, especially in pseudo transparent mode.
# Don't try to assign parameter "gr" from function on_paint(gr) {} with other value, nor try to store "gr" in another variable.
+
# Don't try to assign parameter '''"gr"''' from function ''on_paint(gr) {}'' with other value, nor try to store "gr" in another variable.
# CollectGarbage() is useful in JScript when you want to free memory immediately. (But please also refer to #12)
+
# '''CollectGarbage()''' is useful in JScript when you want to free memory immediately. (But please also refer to #12)
# It's better to retrieve window width and height in callback function on_size(), because their values during startup is not reliable.
+
# It's better to retrieve window width and height in callback function ''on_size(''), because their values during startup is not reliable.
# It's NOT recommended to create objects in callback function on_paint(), since it's called frenquently.
+
# It's NOT recommended to create objects in callback function ''on_paint()'', since it's called frenquently.
# Since v1.1.0, functions /methods which use IFbFileInfo Interface is replaced with IFbMetadbHandle Inferface.
+
# Since v1.1.0, functions /methods which use IFbFileInfo Interface is replaced with ''IFbMetadbHandle'' Inferface.
 
# <del>Do NOT update tags in global callbacks, see Callbacks.txt for details.
 
# <del>Do NOT update tags in global callbacks, see Callbacks.txt for details.
# jsbeautifier.org is a good site for formatting your JScript files.</del>
+
# [jsbeautifier.org] is a good site for formatting your JScript files.</del>
 
# Don't forget that error handling (JScript, VBScript) helps to create more stable scripts.
 
# Don't forget that error handling (JScript, VBScript) helps to create more stable scripts.
# Consider using Dispose() method instead of CollectGarbage() function.
+
# Consider using ''Dispose()'' method instead of ''CollectGarbage()'' function.
# <del>DO NOT try to call playback control methods such as fb.RunMainMenuCommand("Next") and fb.RunMainMenuCommand("Stop") during global callbacks, or you may make foobar2000 crash.</del>
+
# <del>DO NOT try to call playback control methods such as ''fb.RunMainMenuCommand("Next")'' and ''fb.RunMainMenuCommand("Stop")'' during global callbacks, or you may make foobar2000 crash.</del>
  
==Link==
+
== Notable scripts  ==
 +
 
 +
=== marc2003's scripts ===
 +
*[https://github.com/19379/js-marc2003/releases js-marc2003v2.2]
 +
*[https://github.com/19379/js-marc2003/wiki Wiki]
 +
 
 +
=== Br3tt's scripts  ===
 +
*[http://br3tt.deviantart.com/art/JS-Smooth-Playlist-Manager-571376332?q=gallery%3ABr3tt%2F3063083&qo=0 JS Smooth Playlist Manager]
 +
*[http://br3tt.deviantart.com/art/JS-Smooth-Browser-571376160?q=gallery%3ABr3tt%2F3063083&qo=1 JS Smooth Browser]
 +
*[http://br3tt.deviantart.com/art/JS-Smooth-Playlist-571375892?q=gallery%3ABr3tt%2F3063083&qo=2 JS Smooth Playlist]
 +
*[http://pastebin.com/gv0sWFq5 WSH Advanced Playback Order Button 1.0.0]
 +
*[http://pastebin.com/TTxyjjcQ WSH CoverFlow v1.4.3]
 +
*[http://pastebin.com/3Ygx5siF WSH Tabbed Playlist Manager v3.3.0]
 +
 
 +
=== WilB's scripts ===
 +
*[https://hydrogenaud.io/index.php/topic,105522.0.html YouTube Track Manager]
 +
*[https://hydrogenaud.io/index.php/topic,110938.0.html Library Tree]
 +
 
 +
= External links =
 
* [http://code.google.com/p/foo-wsh-panel-mod/downloads/list Download link]
 
* [http://code.google.com/p/foo-wsh-panel-mod/downloads/list Download link]
 +
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=70363 Discussion thread]
 +
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=77883 Discussion thread for WHS scripts]
 +
 +
[[Category:Foobar2000]][[Category:foobar2000 3rd-Party Components|WSH panel (foo uie wsh panel)]]

Revision as of 20:59, 30 September 2018

foo_uie_wsh_panel

foobar2000 component
Developer(s) TBC
Repository {{{repository}}}
Release information
Initial release {{{released}}}
Stable release 1.5.6
Preview release N/A
foobar2000 compatibility
Architecture {{{foobar2000_architecture}}}
Minimum version 1.1.11
Maximum version {{{foobar2000_maximum}}}
UI module(s) N/A
Additional information
Use TBC
License {{{license}}}
Discussion thread Discussion Thread
View all components

Description

Windows script host panel.

Main features

Scripting

  • Restrict "Language" to JScript and VBScript to prevent unexpected behavior.
  • Draw custom images.
  • Add popup menu, blur, timer and more operations to images.
  • Add support to run main menu and context menu command.
  • Add various helper functions.

Editor window

  • Add support to pseudo transparent, syntax highlighting for JScript and VBScript, Import/Outport scripts, customizable font style and miscellaneous UI improvements.

Shortcuts

  • Ctrl+F: Find
  • Ctrl+H: Replace
  • Ctrl+G: Goto
  • Ctrl+S: Apply

Notes and hints

  1. If anything goes wrong, check the console first.
  2. gdi.Font() is fully changed: gdi.Font(name, pxSize, style);
  3. Don't call repaint functions such as window.Repaint() in callback function on_size() {}, especially in pseudo transparent mode.
  4. Don't try to assign parameter "gr" from function on_paint(gr) {} with other value, nor try to store "gr" in another variable.
  5. CollectGarbage() is useful in JScript when you want to free memory immediately. (But please also refer to #12)
  6. It's better to retrieve window width and height in callback function on_size(), because their values during startup is not reliable.
  7. It's NOT recommended to create objects in callback function on_paint(), since it's called frenquently.
  8. Since v1.1.0, functions /methods which use IFbFileInfo Interface is replaced with IFbMetadbHandle Inferface.
  9. Do NOT update tags in global callbacks, see Callbacks.txt for details.
  10. [jsbeautifier.org] is a good site for formatting your JScript files.
  11. Don't forget that error handling (JScript, VBScript) helps to create more stable scripts.
  12. Consider using Dispose() method instead of CollectGarbage() function.
  13. DO NOT try to call playback control methods such as fb.RunMainMenuCommand("Next") and fb.RunMainMenuCommand("Stop") during global callbacks, or you may make foobar2000 crash.

Notable scripts

marc2003's scripts

Br3tt's scripts

WilB's scripts

External links