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

need a script to mail
https://xwidget.com/bbs/viewtopic.php?f=8&t=4463
Page 1 of 1

Author:  tchiro [ April 30th, 2014, 6:32 pm ]
Post subject:  need a script to mail

Please help write a script.
has appropriated text from core and value pop3mailcore1% Count,
he has a texture - image of the envelope is necessary, what a value of 0
texture has been enabled, and a value> 0 is off.

function mailOnChange(Sender)
{
mail.Background.Texture.Enabled = false if ????????
mail.Background.Texture.Enabled = true if ???????
}

Author:  hamid [ May 1st, 2014, 8:42 am ]
Post subject:  Re: need a script to mail

Code:
function mailOnChange(Sender)
{
  if(Pop3mailCore1.get("%Count")>0)
  {
     mail.Background.Texture.Enabled = false
  }
  else if(Pop3mailCore1.get("%Count")==0)
  {
     mail.Background.Texture.Enabled = true
  }
}

Author:  tchiro [ May 1st, 2014, 9:22 am ]
Post subject:  Re: need a script to mail

hamid
Great, it works, thank you so much!

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