I am looking for a method that can keep track of how many times a PDF file is viewed and display the information in the PDF file itself.
Ex. suppose the file is viewed for the first time (the system or the operating system could decide what it defines as "being viewed for the first time"), the PDF file must have: "Welcome, you are viewing this for the first time". For the second time the pdf is being viewed, it must contain: "Hi, welcome again, this is the 2nd time you're opening this file". and so on.
Is this possible by maintaining a counter in LaTeX, which can be updated by the system. It could require the viewer to have Java enabled or some additional feature, which is fine. I am assuming Acrobat Reader has them.
Hope my question is clear.
TeXfile as well as incorporating JavaScript. In that regard, the question might very well be answered viaTeXand JavaScript and thus be on-topic. Probably with the answer: No. (needs tests) – zeroth Mar 12 at 8:26