Welcome Guest ( Log In | Register )

Setting global colours in CUI (elplaylist, Item details, WSH mod), based on current playing
post Jun 29 2013, 21:07
Post #1

Group: Members
Posts: 16
Joined: 19-October 10
From: London
Member No.: 84710

I'm trying to set a global theme colour from tags in CUI. Basically I'm trying to make the whole of foobar change to match an RGB tag in the currently playing track.
Trouble is, I'm at a loss. ELPlaylist doesn't seem to support scripting the background colour (only manually selecting), "Item Details" doesn't seem to support changing the background at all, and WSH... well WSH I'm still trying to get my head around.
So my questions 1 2 and 3 are, if anyone can help...

1. What's the most reliable way of setting a global variable, and where would I do it? It just need to read the tag of the currently-playing track.

2. Does anyone know how to script the background colour of ELPlaylist, or Item Details?

3. WSH - I've copied someone's code for album art display, and I *think* this is the bit I need to change: "window.GetColorCUI(3)" - but what should it show, and how can I access file tags in WSH?

Any and all help much appreciated! Thanks!
Go to the top of the page
+Quote Post
Start new topic
post Jul 29 2013, 22:22
Post #2

Group: Members
Posts: 5876
Joined: 27-January 05
Member No.: 19379

whatever name you give a variable on the field definitions tab, you can access it in all the other tabs using %% around it like this


Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 26th November 2015 - 17:03