Hi.
The point is that I'd like to determine serial number of a disk volume from PDF file, in the following way:
  var fso, d, s;
  fso=new ActiveXObject("Scripting.FileSystemObject");
  d = fso.GetDrive(fso.GetDriveName(fso.GetAbsolutePathName('C:')));
  s = "Drive " + d.DriveLetter + " SN: " + d.SerialNumber;
This code works fine in html, but when I attempt to execute it in Acrobat I receive the following message:
  ReferenceError: ActiveXObject is not defined.
Questions:
1. Does anyone know how to define ActiveXObject in Acrobat?
2. If it is impossible, whether there is a way to start pdf file on one computer, and prohibit start on the other computer?
Thanks in advance, Dmitry
  • ... Дмитрий Гановичев
    • ... Leonard Rosenthol
    • ... Aandi Inston

Reply via email to