The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com
__________________________________________________________________

Hi, anyone know how I could get this to work in Reader 4.x and 5.x?  It works in 5.x.  
But can't get it to work in 4.x.  I think it's because 4.x uses Acrobat-specific 
javascript?  And this is "regular js"?  As you can tell, I don't have a clue :-)

Trying to get a message to pop up on open until a certain date.  Appreciate any help.

==========================================
var expireDate = "20031030";
var nowDate = new Date();
var day = nowDate.getUTCDate();
var month = nowDate.getUTCMonth();
var year = nowDate.getFullYear();
var month = month + 1;

  if (month < 10)
  {
  month = "0" + month;
  }
  if (day < 10)
  {
  day = "0" + day;
  }

var GMTdate = year + "" + month + "" + day

if ((GMTdate < expireDate))
{
popme = app.alert("TYPE MESSAGE HERE");
}

==========================================
Ivan Lee
Senior Technical Writer

The opinions expressed here are that of my own and not of my employer.



To change your subscription:
http://www.pdfzone.com/discussions/lists-pdf.html

Reply via email to