O.P. RE: Block MSN Contact on a Schedule Basis
Thanks!
Now this is really weird yeah?
Script is now loaded and ready
Function called: OnEvent_SigninReady
Error: 'Contacts' is undefined (code: -2146823279)
File: ScheduleBlock.js. Line: 17.
Function OnEvent_Timer returned an error. Code: -2147352567
Line 17 is
var Contact = Contacts.GetContact(email);
but it didn't complain line 13 which is also
var Contact = Contacts.GetContact(email);
in the code:
if(hour>=start_hour&&minutes>=start_minutes&&hour<=stop_hour&&minutes<=stop_minutes){
var Contact = Contacts.GetContact(email);
Debug.Trace(email + " is blocked");
Contact.Blocked = true
} else {
var Contact = Contacts.GetContact(email);
Debug.Trace(email + " is unblocked");
Contact.Blocked = false;
}
Don’t say CD’s to say more than one CD. It is CDs.
A 200 GB hard disk has capacity for 186 GiB of data
International standard date notation is YYYY-MM-DD
|