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

Conditional Change 1 Line

Discuss anything to do with plugins

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
Mike-1
Posts: 5
Joined: September 6th, 2005, 8:05 pm

Conditional Change 1 Line

Post by Mike-1 »

I've browsed through these forums and found several plugins that come close to what I am looking for, but not quite. Is therea a way to display, for example an RSS feed on one line until an Email is received, then to display something else ("You've Got Mail" for example) but without changing the screen?
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

Officially there is no such function, but you can do some tricks about it

You can setup two screens with the same lines except the one that you want to be changed when the condition is changed. (e.g the second line) then goto to actions tab and set the appropriate actions there... so the screens will be switched when a new mail is arrived.

Another way to do some check there, is the Warn ifplugin...
a line like this: $dll(warnif.dll,2,$Email1/1,$Rss(http://www.wired.com/news_drop/netcente ... nter.rdf,b)) may help you.
For more info about the plug-in check the information contained in the package
Last edited by limbo on September 10th, 2005, 11:20 am, edited 2 times in total.
Mike-1
Posts: 5
Joined: September 6th, 2005, 8:05 pm

Post by Mike-1 »

Thanks for the prompt reply. I have tried the Warn If plug in, is there a way to combine this with the Conditioal Display plug in to display a message rather than just the Email count? If so then this would do exacly what I was looking for.
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

Fasten your seat belt :smt103
$dll(warnif.dll,3,$dll(warnif.dll,2,1/1,$Rss(http://www.wired.com/news_drop/netcente ... nter.rdf,b))/1,You got mail)
Last edited by limbo on September 10th, 2005, 11:19 am, edited 1 time in total.
Mike-1
Posts: 5
Joined: September 6th, 2005, 8:05 pm

Post by Mike-1 »

What about......

$dll(warnif.dll,11,$dll(warnif.dll,2,1/1,$Rss(http://www.wired.com/news_drop/netcente ... nter.rdf,b))/1,You got mail)

As function 11 warn on greater than or equal to not just equal to. Thanks for the help, I had aa suspicion this could be done but couldn't get started. :smt040
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

Yeah you're right :wink:
that function 11... :smt005

I'm very happy that you found a solution one step beyond!


I thought that warn if plugin was not so useful.
Just created to warn if the temp level was too high (for an lcd fitted to a server)
Mike-1
Posts: 5
Joined: September 6th, 2005, 8:05 pm

Post by Mike-1 »

Many Thanks
Post Reply