Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Actions to enable/disable screens/themes

Discuss anything to do with plugins

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
erlis
Plugin Author
Posts: 37
Joined: March 30th, 2006, 1:50 pm
Contact:

Actions to enable/disable screens/themes

Post by erlis »

I have the following config:
[Screen 16]
Enabled=1
Theme=1
ShowTime=5
Sticky=0
Skip=0
InteractionTime=0
Interaction=0
Text01="$dll(Scroll.dll,1,16,$dll(itunes2.dll,1,Title,))"
Text02="$dll(itunes2.dll,1,Posh,)$dll(processes,5,iTunes,)$Fill(8)Vol.$Right($dll(volume.dll,1,,),$4%)"

[Screen 18]
Enabled=1
Theme=2
ShowTime=4
Sticky=1
Skip=0
InteractionTime=0
Interaction=0
Text01="$dll(Scroll.dll,1,16,$dll(itunes2.dll,1,Title,))"
Text02="$dll(itunes2.dll,1,Posh,)$Fill(8)Vol.$Right($dll(volume.dll,1,,),$4%)"

[Screen 20]
Enabled=0
Theme=1
ShowTime=4
Sticky=0
Skip=0
InteractionTime=0
Interaction=0
Text01="Volume $Right($dll(volume.dll,1,,),$4%)"
Text02="$Bar($dll(volume.dll,3,,),100,16)"

[Actions]
Action01Variable=$dll(volume,5,1,1)
Action01Condition=2
Action01ConditionValue=1
Action01Action=GotoScreen(20)
Action03Variable=$dll(processes,5,iTunes,)
Action03Condition=2
Action03ConditionValue=1
Action03Action=GotoTheme(2)
Action04Variable=$dll(processes,5,iTunes,)
Action04Condition=5
Action04ConditionValue=1
Action04Action=GotoTheme(1)
Action06Variable=$dll(processes,2,iTunes,)
Action06Condition=2
Action06ConditionValue=1
Action06Action=EnableScreen(16)
Action07Variable=$dll(processes,2,iTunes,)
Action07Condition=5
Action07ConditionValue=1
Action07Action=DisableScreen(16)
What I whant is that if iTunes is running ($dll(processes,2,iTunes,) returns 1) I what the iTunes screen to be enabled. If iTunes is focused ($dll(processes,5,iTunes,) returns 1 i whant my itunes screen to bee sticky.

Any suggestions for how i can solve this? Now my iTunes screen is sticky even if iTunes not are focused.
Post Reply