script favourites - new features

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Big_Noid Online
Skilled Skinner
Posts: 2,627
Joined: Jul 2010
Reputation: 68
Location: Below sea level
Post: #11
Works as expected. only thing I'm missing is an option to clear the current setting.
find quote
`Black Offline
Skilled Skinner
Posts: 2,022
Joined: Apr 2009
Reputation: 50
Location: Germany
Post: #12
I could add it but if you add a button to clear it, you could simply add 3 onclick actions with

Code:
Skin.Reset(property.Label)
Skin.Reset(property.Path)
Skin.Reset(property.Icon)

Or do you want to clear it differently?

@pecinko
No way for the skinner to choose. It's ActivateWindow(...) for everything except videos or songs. User can choose for playlists.

[Image: xp1080-21.png]
(This post was last modified: 2011-11-15 23:41 by `Black.)
find quote
Big_Noid Online
Skilled Skinner
Posts: 2,627
Joined: Jul 2010
Reputation: 68
Location: Below sea level
Post: #13
yeah, but it's much cleaner if it's done like with add-ons. The first item in the list is for "None - clear the current settings". I can't add that in the select dialog that pops-up.
Also if I was to add a clear button for every item then there is even more code than I use now for the same functionality.
find quote
pecinko Offline
Member+
Posts: 3,027
Joined: Dec 2008
Reputation: 27
Location: Prague / Belgrade
Post: #14
Big_Noid Wrote:yeah, but it's much cleaner if it's done like with add-ons. The first item in the list is for "None - clear the current settings".

+1 for this if possible

My skins:

Quartz
Amber
find quote
pecinko Offline
Member+
Posts: 3,027
Joined: Dec 2008
Reputation: 27
Location: Prague / Belgrade
Post: #15
`Black Wrote:@pecinko
No way for the skinner to choose. It's ActivateWindow(...) for everything except videos or songs. User can choose for playlists.

If it's like that, that's cool for me.

My skins:

Quartz
Amber
find quote
`Black Offline
Skilled Skinner
Posts: 2,022
Joined: Apr 2009
Reputation: 50
Location: Germany
Post: #16
Big_Noid Wrote:yeah, but it's much cleaner if it's done like with add-ons. The first item in the list is for "None - clear the current settings". I can't add that in the select dialog that pops-up.
Also if I was to add a clear button for every item then there is even more code than I use now for the same functionality.

Try latest svn. Smile

[Image: xp1080-21.png]
find quote
Sharpe Offline
Skilled Skinner
Posts: 973
Joined: Jul 2006
Reputation: 12
Location: North West England
Post: #17
Hello

Anyone know how I can get this functionality working again?

Code:
RunScript(script.favourites,playlists=window)

I want my playlists to display in a window rather than play (like they used to before these mods).

I saw the bit about a yes/no dialog appearing when you add a playlist as a favourite - so I guess that would do but how does that appear - I'm not seeing it?

#Edit - scratch that figured it out - me being a knob, cheers
(This post was last modified: 2011-11-16 18:21 by Sharpe.)
find quote
`Black Offline
Skilled Skinner
Posts: 2,022
Joined: Apr 2009
Reputation: 50
Location: Germany
Post: #18
RunScript(script.favourites), if you add playlists, they'll play no matter what string you pass.

[Image: xp1080-21.png]
find quote
Big_Noid Online
Skilled Skinner
Posts: 2,627
Joined: Jul 2010
Reputation: 68
Location: Below sea level
Post: #19
`Black Wrote:Try latest svn. Smile

Now it's perfect. Thx!

I wish you had made this script a week earlier as i just added a dozen custom favorites which i have to rewrite now Tongue

Great work nonetheless Smile
find quote
`Black Offline
Skilled Skinner
Posts: 2,022
Joined: Apr 2009
Reputation: 50
Location: Germany
Post: #20
Thanks Smile

[Image: xp1080-21.png]
find quote
Post Reply