Hi Sunil suggested I should ask for help on the forum. I have a password protected Ebook and would like to have an Activ Script that expires the ebook 30 days after it is first opened with the password. I know some html and php, etc, but unfortunately I have no experience at all of Activ Scripts, either how to write them or implement them. Is there anybody who could give me some advice please? Thanks a lot Colin
Isn't this already a feature in Activ? I haven't the software help files to hand, but as I recall one may set a time period for an e-book to expire. Or is this only for non-password protected books? If so, apologise.
Yes, it's only for non-password protected ebooks. I know that it's possible with an Activ script to set an expiry time also for password-protected books but I don't know how to do Activ scripts. I'm still hoping someone can help. Thanks anyway for replying.
Colin, with all due respect, I think part of the problem, is that nobody other than you, including me, is entirely sure (in detail) what you want to happen, i.e. what the user sees or what the process is. A simple clear restate
I'm thinking you a password protected ebook which runs for a limited time, then exits (?) after a set number of days (?) - is that right ?
My basic suggestion if this is correct would be
(a) To use the built-in password feature
(b) To NOT use the built-in expiry feature, instead do this using a script
- In detail
When the ebook is first run on a new PC you record the tme.
Whenever the ebook is run after that you compare the current time to the recorded time. If the expiry period is up, you display a message, exit or whatever
Thanks very much Sunil. The script works fine (there was just one extra quote mark in line 11). If I could just ask you one more thing: is it possible to refine the script so that a countdown window appears each time the ebook is opened saying "This ebook will expire in 30 days" (29 days, 28 days, etc)? Thanks again Colin
With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.
Our company's websites' content (including this website's content) includes advertisements for
our own company's websites, products, and services,
and for other organization's websites, products, and services.
In the case of links to other organization's websites,
our company may receive a payment, (1) if you purchase products or services,
or (2) if you sign-up for third party offers, after following links from this website.
Unless specifically otherwise stated, information about other organization's products and services,
is based on information provided by that organization,
the product/service vendor, and/or publicly available information - and should
not be taken to mean that we have used the product/service in question.
Additionally, our company's websites contain some adverts which we are paid
to display, but whose content is not selected by us, such as Google AdSense ads. For more
detailed information, please see Advertising/Endorsements Disclosures
constitutes consent for this. For details, please see Privacy.
Click privacy for information about our company's privacy, data collection and data retention policies, and your rights.