Old 1st May 2017, 15:14   #1
ariszlo
Senior Member
 
Join Date: Jun 2015
Location: Hungary
Posts: 283
Toggle songticker scrolling

The attached tickertoggleleftclick.m is a script to toggle songticker scrolling on and off. It is modified from JimmySmith's tickertogglerightclick.m.

The songticker starts up scrolling and when you left-click on it, it keeps on scrolling with a short message saying "Scrolling: On". When you left-click on it again, it stops scrolling with a short message saying "Scrolling: Off". So the first click doesn't toggle the scrolling off, it just reports the original state.

How do you modify the script so that the first click and each subsequent odd click stops the scrolling and that the second click and each subsequent even click restarts it? I am attaching both the script and a test skin.
Attached Files
File Type: m tickertoggleleftclick.m (3.6 KB, 35 views)
File Type: wal Study_Toggle.wal (84.3 KB, 43 views)
ariszlo is offline   Reply With Quote
Old 3rd May 2017, 22:53   #2
Victhor
Late skinner & Moderator
 
Victhor's Avatar
 
Join Date: May 2003
Location: Argentina
Posts: 1,412
Interesting, I can see this being very useful for touchscreen skins (avoiding menu options is always a target!).
Wish I could help with your doubts on the code =/.

· · TMCT · KOMODO X
Victhor is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump