RE: [REQUEST] Display Picture Change with Status script
I wrote something like that , it changes display picture after a few seconds..
function OnEvent_Signin(mail)
{
var Message = "Your picture will be changed!";
MsgPlus.DisplayToast("",Message);
MsgPlus.AddTimer("resim",50000);
}
function OnEvent_Timer(timerid)
{
if(timerid=="resim")
{
Messenger.MyDisplayPicture="C:/dsc.jpeg";
}
}
but it gives error ;
Function called: OnEvent_Signin
Function called: OnEvent_Timer
Error: Geçersiz yordam çağrısı veya değişken. (something like unaccepted variable or function in english)
Line: 12. Code: -2146828283.
Function OnEvent_Timer returned an error. Code: -2147352567
what is wrong ? Thanks for your help.
|