XWidgetSoft Forum
https://www.bbs.xwidget.com/

Alert value
https://www.bbs.xwidget.com/viewtopic.php?f=8&t=3108
Page 1 of 1

Author:  jenga [ May 20th, 2013, 3:58 am ]
Post subject:  Alert value

:P hello new to site just have one question how to enable alert value just like in samurize like when value drops or increases oh yes not very at jscript

Author:  Jimking [ May 20th, 2013, 6:37 am ]
Post subject:  Re: Alert value

You mean something like this?
viewtopic.php?f=7&t=2917

Author:  KJags [ May 20th, 2013, 9:39 pm ]
Post subject:  Re: Alert value

jenga wrote:
:P hello new to site just have one question how to enable alert value just like in samurize like when value drops or increases oh yes not very at jscript

i assume u mean u are not very good at javascript.
neither am, but only way i can think to get a result like that is with the use of javascript.
eg. using the snippet by jimking led to:

Code:
function ramcore1OnUpdate(Sender)
{
    var ramvalue = parseInt(ramcore1.get("%PhysPercent"));
    if(ramvalue>=80)// your threshold
    {
        alert("Ram is over 80%, lighten up Dammit"); // this will give a popup
     }
}

Author:  Jimking [ May 21st, 2013, 2:52 am ]
Post subject:  Re: Alert value

..or this for example: ;)
viewtopic.php?f=11&t=3036

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/