Hello,
i would like to create a javascript rule which will be checkin if file exists in location C:\Mobile. If not then should be display appropriate pop-up. Can someone help me?
I wrote it but it doesn't work.
function checkfile()
{
var myObject;
myObject = new ActiveXObject("Scripting.FileSystemObject");
if(myObject.FileExists("C:\\Mobile\\55.jpg")){
return true;
} else {
return false;
}
}
best regards,
Mateusz Owcarz