10/01/22 17:55:56 DuFXLvt/0
callkey = "call";
var skype = new ActiveXObject('Skype4COM.Skype');
WScript.ConnectObject(skype, 'Skype_');
skype.Attach();
while(true){
WScript.Sleep(1000);
}
function Skype_MessageStatus(msg, status){
if(status == skype.Convert.TextToChatMessageStatus('RECEIVED')){
var chat = msg.Chat;
if (msg.Body == callkey)
{
skype.PlaceCall(msg.FromHandle);
}
}
}
どう?