WSH Panel Mod script discussion/help. |
![]() ![]() |
WSH Panel Mod script discussion/help. |
May 29 2012, 07:39
Post
#1676
|
|
|
Group: Members Posts: 276 Joined: 9-July 03 Member No.: 7668 |
Thank you very much for the quick correction of this bug. |
|
|
|
May 29 2012, 10:08
Post
#1677
|
|
|
Group: Members Posts: 48 Joined: 23-March 12 Member No.: 98013 |
@Falstaff
In WSH VU Meter does not work Keep Aspect Ratio in CUI. You need to add transparency fields (wh -hVU)/2 to top and bottom or (ww-wVU)/2 to left and right in mono ( (ww-2wVU)/2 in stereo) This post has been edited by onv: May 29 2012, 10:10 |
|
|
|
May 29 2012, 10:29
Post
#1678
|
|
![]() Group: Members Posts: 47 Joined: 17-April 12 Member No.: 98918 |
to use with the last version of the component foo_vis_vumeter 2012-05-27] Last - 2012-05-28 The site for foo_vis_vumeter is still on 2012-05-12 The last version i could find on foobar2000.ru is from 2012-05-23. U got a better link for us onv? Thanks |
|
|
|
May 29 2012, 10:33
Post
#1679
|
|
|
Group: Members Posts: 48 Joined: 23-March 12 Member No.: 98013 |
to use with the last version of the component foo_vis_vumeter 2012-05-27] Last - 2012-05-28 The site for foo_vis_vumeter is still on 2012-05-12 The last version i could find on foobar2000.ru is from 2012-05-23. U got a better link for us onv? Thanks http://foobar2000.org.ru/forum/viewtopic.p...1&start=135 --> http://rghost.ru/38330606 This post has been edited by onv: May 29 2012, 10:37 |
|
|
|
May 29 2012, 11:38
Post
#1680
|
|
|
Group: Members Posts: 35 Joined: 1-September 11 Member No.: 93415 |
|
|
|
|
May 29 2012, 18:06
Post
#1681
|
|
|
Group: Members Posts: 40 Joined: 30-September 11 Member No.: 94073 |
so its possible to use wsh panel as host for another panels?
Falstaff can you write how to use it for other panels? as i understand, i need to write something like this: CODE Panel = new ActiveXObject("esplaylist"); Panel.RegisterWindow(window.ID); PWindow = Panel.CreateWindow(window.ID); PWindow.SetBounds(50,50,200,200); PWindow.Visible=true; PWindow.Enabled=false; but it crashes |
|
|
|
May 29 2012, 18:09
Post
#1682
|
|
|
Group: Members Posts: 81 Joined: 27-May 10 Member No.: 80935 |
new script: musicbrainz releases Marc, your scripts are like little christmas presents all year long! =) One request - any chance to get the MusicBrainz release sorted chronologically? thanks for your hard work! .Mike This post has been edited by mjm716: May 29 2012, 18:09 |
|
|
|
May 29 2012, 18:25
Post
#1683
|
|
![]() Group: Members Posts: 1684 Joined: 28-May 06 From: Düsseldorf Member No.: 31251 |
-------------------- german support forum: www.foobar-users.de / user: qwert73
|
|
|
|
May 29 2012, 18:52
Post
#1684
|
|
![]() Group: Members Posts: 2771 Joined: 12-November 06 Member No.: 37463 |
so its possible to use wsh panel as host for another panels? Falstaff can you write how to use it for other panels? 1. afaik not, should be a feature to implement in the WSH Panel Mod component, ask to T.P Wang if something is possible... 2. i've nothing to explain, what you talk about is the use of an activeX object provided by a component : VU Meter... it's not a common feature for any component ! -------------------- http://br3tt.online.fr/
|
|
|
|
May 29 2012, 19:13
Post
#1685
|
|
|
Group: Members Posts: 81 Joined: 27-May 10 Member No.: 80935 |
Ho Ho Ho! Merry Christmas! |
|
|
|
May 29 2012, 20:09
Post
#1686
|
|
![]() Group: Members Posts: 30 Joined: 15-January 11 From: Russia Member No.: 87344 |
Hi all Army FB2K !!!
I need Default Volume Bar script such as this: ![]() Please help, Thx. P.S.Sorry for bad English :] -------------------- ♪ ♪ ♪ (((d[^_^]b))) ♪ ♪ ♪
|
|
|
|
May 29 2012, 20:20
Post
#1687
|
|
|
Group: Members Posts: 40 Joined: 30-September 11 Member No.: 94073 |
Falstaffits sad, but possible make same trick with other visualisation - channel spectrum panel?
T.P Wang i think i could make some interesting things, if there will be function or method to get name of main or context item - like "properties" or "open containing folder" in context. this items are known, but some plugins make dynamic items name, or related to settings of plugin. anyone agree with my point? |
|
|
|
May 30 2012, 09:21
Post
#1688
|
|
![]() Group: Members Posts: 3258 Joined: 27-January 05 From: England Member No.: 19379 |
One request - any chance to get the MusicBrainz release sorted chronologically? on line 102, use 2 slashes to comment it out.... CODE //temp_arr.reverse(); now it should be in ascending order. EDIT: i missed this post. Ho Ho Ho! Merry Christmas! if you're happy with descending order then of course you don't have to change anything. This post has been edited by marc2003: May 30 2012, 09:30 |
|
|
|
May 30 2012, 14:24
Post
#1689
|
|
|
Group: Members Posts: 80 Joined: 26-March 09 Member No.: 68393 |
What does "gr.SetTextRenderingHint" do?
|
|
|
|
May 30 2012, 17:43
Post
#1690
|
|
|
Group: Members Posts: 101 Joined: 21-January 12 Member No.: 96605 |
@marc
I downloaded the samples new but they aren't working with latest wsh panel mod, may be i am missing something. Requesting for the updated script if possible. |
|
|
|
May 30 2012, 18:13
Post
#1691
|
|
![]() Group: Members Posts: 2771 Joined: 12-November 06 Member No.: 37463 |
What does "gr.SetTextRenderingHint" do? it affects the way text is displayed with DrawString() api (smoothness, ... etc), check the doc (interface.txt) bundled with the component -------------------- http://br3tt.online.fr/
|
|
|
|
May 30 2012, 20:03
Post
#1692
|
|
|
Group: Members Posts: 48 Joined: 23-March 12 Member No.: 98013 |
Screensaver "Flying VU", the next update from DRON
http://www.youtube.com/watch?v=ZcnQBA1DrfU...eature=youtu.be |
|
|
|
May 31 2012, 09:26
Post
#1693
|
|
![]() Group: Members Posts: 3258 Joined: 27-January 05 From: England Member No.: 19379 |
@marc I downloaded the samples new but they aren't working with latest wsh panel mod, may be i am missing something. Requesting for the updated script if possible. i always use the latest version of WSH panel mod so it's not that. perhaps being more descriptive with your problem might help. if you get "aw crashed" in the panel, then make sure you post the full message from the foobar console found on the view menu. if the panel appears to load ok but crashes if you do something, then post the steps to re-produce. |
|
|
|
May 31 2012, 11:51
Post
#1694
|
|
![]() Group: Members Posts: 120 Joined: 5-October 08 From: Estonia Member No.: 59398 |
![]() Played too with the new toy You may grab it here: WSH digital Vu meter http://pastebin.com/H26MujCP This post has been edited by ExtremeHunter: May 31 2012, 12:04 |
|
|
|
May 31 2012, 20:52
Post
#1695
|
|
|
Group: Members Posts: 80 Joined: 26-March 09 Member No.: 68393 |
|
|
|
|
Jun 1 2012, 02:11
Post
#1696
|
|
|
Group: Members Posts: 80 Joined: 26-March 09 Member No.: 68393 |
Can "gr.SetTextRenderingHint(5);" be set globally at the beginning of the script instead of in "function on_paint(gr)" ?
Is there anything wrong with doing that? This post has been edited by Mr.Duck: Jun 1 2012, 02:13 |
|
|
|
Jun 1 2012, 02:58
Post
#1697
|
|
|
Group: Members Posts: 30 Joined: 27-January 09 Member No.: 66042 |
Can "gr.SetTextRenderingHint(5);" be set globally at the beginning of the script instead of in "function on_paint(gr)" ? Is there anything wrong with doing that? No it can't (and therefore what's wrong with it is that it won't work unfortunately). The reason it won't work is that you need access to the gr object in order to call the function gr.SetTextRenderingHint(...). This access is granted by gr being provided to the on_paint function as a parameter. You could, however, set a global variable to the value you want and then refer to this in the on_paint function, but I'm not sure if that will be of any use to you. |
|
|
|
Jun 1 2012, 12:43
Post
#1698
|
|
|
Group: Members Posts: 5 Joined: 21-January 12 Member No.: 96597 |
First off, if this request is in the wrong place please forgive my ignorance.
Might be best to quickly read an old post of mine dated Jan 21 2012, 13:44 to best describe my issue. http://www.hydrogenaudio.org/forums/index....st&p=783162 Can anyone help? Please? Thanks in advance. Brett. This post has been edited by Frank Bicking: Jun 1 2012, 15:57
Reason for edit: Removed mode=threaded from link (changes thread display mode).
|
|
|
|
Jun 1 2012, 14:00
Post
#1699
|
|
![]() Group: Members Posts: 3258 Joined: 27-January 05 From: England Member No.: 19379 |
i can't be bothered to make something nice
CODE var ww = 0; var wh = 0; function RGB(r, g, b) { return (0xff000000 | (r << 16) | (g << 8) | (b)); } function on_size() { ww = window.Width; wh = window.Height; } function on_paint(gr) { gr.FillSolidRect(0, 0, ww, wh, fb.StopAfterCurrent ? RGB(255,0,0) : RGB(0,255,0)); } function on_playlist_stop_after_current_changed() { window.Repaint(); } function on_mouse_lbtn_up() { fb.StopAfterCurrent = !fb.StopAfterCurrent; } green panel: stop after current disabled red panel: stop after current enabled click the panel to toggle the state and it will also update if you use the playback menu. |
|
|
|
Jun 1 2012, 14:02
Post
#1700
|
|
|
Group: Members Posts: 22 Joined: 2-August 11 Member No.: 92721 |
I made a small piece of code, use it as WSH panel on its own or place it into your other script. Clicking on the panel will toggle SACT mode and inform you what is going on.
CODE var font_1 = gdi.Font("Tahoma",10,1);
var color_1 = RGB(235,235,235); var DT_LEFT = 0x00000000; function on_paint(gr){ var ww,wh; ww = window.Width; wh = window.Height; gr.FillSolidRect(0, 0, ww, wh, RGB(0,0,0)); if(fb.IsPlaying){ text = (fb.IsPlaying && fb.StopAfterCurrent) ? "SACT" : "NO SACT"; gr.GdiDrawText(text, font_1, color_1, 0, 0, 60, 10, DT_LEFT); } } function RGB(r, g, b){ return (0xff000000 | (r << 16) | (g << 8) | (b)); } function on_mouse_lbtn_down(x, y, mask){ if(!fb.IsPlaying) return; fb.RunMainMenuCommand("Playback/Stop After Current"); } function on_playlist_stop_after_current_changed(state){ window.Repaint(); } |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 07:58 |